CVE-2023-22946: Apache Spark proxy-user privilege escalation from malicious configuration class

Published Apr 17, 2023
·
Updated

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.

Other sources

In Apache Spark versions prior to versions 3.4.0 and 3.3.3, 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, 3.3.3, or later, and ensure that spark.submit.proxyUser.allowCustomClasspathInClusterMode is set to its default of "false", and is not overridden by submitted applications.

GitHub

Affected Software

3 affected componentsFixes available
Apache Spark<3.4.0
pip/pyspark<3.3.2
3.3.2
maven/org.apache.spark:spark-core_2.13<=3.3.2
3.3.3

Event History

Apr 17, 2023
CVE Published
via MITRE·07:30 AM
Data Sourced
via MITRE·07:30 AM
DescriptionSeverityWeakness
Advisory Published
via GitHub·09:30 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID?

The vulnerability ID is CVE-2023-22946.

2

What is the severity of CVE-2023-22946?

CVE-2023-22946 has a severity rating of 9.9 (critical).

3

What is the affected software?

The affected software includes Apache Spark versions prior to 3.4.0 and versions 3.3.3, specifically the `org.apache.spark:spark-core_2.13` package.

4

What is the remedy for CVE-2023-22946?

To fix CVE-2023-22946, update to Apache Spark version 3.4.0 or version 3.3.3.

5

Where can I find more information about CVE-2023-22946?

You can find more information about CVE-2023-22946 on the NIST National Vulnerability Database (NVD) website.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203