Privilege escalation in Apache Spark
CVE-2023-22946
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.
Vulnerability class: Privilege Escalation
EPSS: 0.011 (64.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N.
Affected products
- Apache Spark
- Apache Software Foundation Spark — versions 0
Weakness classification (CWE)
References
- security@apache.org (vendor-advisory, Mailing List, Vendor Advisory)
Frequently asked questions
- What is CVE-2023-22946?
- CVE-2023-22946 is a medium-severity vulnerability in Apache Spark, classified under Improper Privilege Management. CVSS score: 6.4/10. Published 2023-04-17.
- How severe is CVE-2023-22946?
- Medium severity. CVSS v3 base score is 6.4 out of 10.