Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Apache | Spark | < 3.4.0 |
Related Weaknesses (CWE)
References
- https://lists.apache.org/thread/yllfl25xh5tbotjmg93zrq4bzwhqc0gvMailing ListVendor Advisory
- https://lists.apache.org/thread/yllfl25xh5tbotjmg93zrq4bzwhqc0gvMailing ListVendor Advisory
FAQ
What is CVE-2023-22946?
CVE-2023-22946 is a vulnerability with a CVSS score of 6.4 (MEDIUM). 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 submitti...
How severe is CVE-2023-22946?
CVE-2023-22946 has been rated MEDIUM with a CVSS base score of 6.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-22946?
Check the references section above for vendor advisories and patch information. Affected products include: Apache Spark.