CVE-2023-22946

Apache Spark proxy-user privilege escalation from malicious configuration class

Published Apr 17, 2023 CVSS 3.1 · 6.4 Medium EPSS 1.1% KEV · Not listed
Description
In Apache Spark versions prior to 3.4.0, applications using spark-submit can specify a 'proxy-user' to run as, limiting privileges. The application can execute code with the privileges of the submitting user, however, by providing malicious configuration-related classes on the classpath. This affects architectures relying on proxy-user, for example those using Apache Livy to manage submitted applications.

Update to Apache Spark 3.4.0 or later, and ensure that
spark.submit.proxyUser.allowCustomClasspathInClusterMode is set to its
default of "false", and is not overridden by submitted applications.


Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-0219 In Apache Spark versions prior to 3.4.0, applications using spark-submit can specify a 'proxy-user' to run as, limiting privileges. The application can execute code with the privileges of the submitting user, however, by providing malicious configuration-related classes on the classpath. This affects architectures relying on proxy-user, for example those using Apache Livy to manage submitted applications.\n\nUpdate to Apache Spark 3.4.0 or later, and ensure that \nspark.submit.proxyUser.allowCustomClasspathInClusterMode is set to its \ndefault of \"false\", and is not overridden by submitted applications.\n\n\n
Github GHSA Github GHSA GHSA-329j-jfvr-rhr6 Apache Spark vulnerable to Improper Privilege Management
History
Type Values Removed Values Added
Metrics epss

{'score': 0.0037}

epss

{'score': 0.00283}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Oct 21, 2024, 3:06 PM
Reserved
Jan 11, 2023, 1:18 AM
Status
Modified
Published
Apr 17, 2023, 8:15 AM
Modified
Jun 17, 2026, 5:36 AM