Apache Spark proxy-user privilege escalation from malicious configuration class
CVE-2023-22946
Key facts: CVE-2023-22946 is a medium severity (CVSS 6.4) vulnerability in Apache Spark. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 1.2%, the estimated probability of exploitation in the next 30 days. Fixed in Apache Spark 3.4.0.
What is 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.
Affected Version(s)
Apache Spark 0 < 3.4.0
References
More Apache vulnerabilities
- CVE-2026-133325: Key Exchange Vulnerability in Apache Tomcat Products by Apache
- CVE-2026-116561: Improper Exception Management in Apache Tomcat Affects Multiple Versions
- CVE-2026-129448: Deserialization Vulnerability in Apache Roller Affects Multiple Versions
- CVE-2026-119618: Improper Synchronization Vulnerability in Apache HTTP Server's mod_http2
- CVE-2026-90436: Deserialization Vulnerability in Apache Axis 1.x Allows Remote Code Execution
- CVE-2026-121489: Path Traversal Vulnerability in Apache Juneau
- CVE-2026-118636: Remote Code Execution Vulnerability in Apache MINA Codec Module
- CVE-2026-64618: SQL Injection Vulnerability in Apache Fineract Affecting Specific API Endpoint