CVE-2023-22946: apache software foundation apache spark Improper Privilege Management
Vulnerability summary
CVE-2023-22946 is a critical (CVSS 9.9) Improper Privilege Management vulnerability in apache software foundation apache spark. EPSS estimates a 1.11% chance of exploitation in the next 30 days, higher than 65.3% of scored vulnerabilities.
Timeline
- 17-04-2023PublishedVulnerability first disclosed.
- 21-10-2024Last modifiedVulnerability information updated.
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 metrics
4 scores · 4 sources · 1 version- CVE.orgCNA6.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:NDiffers
- OSV · PypiEcosystem advisory · calculated9.9CriticalCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- OSV · MavenEcosystem advisory · calculated9.9CriticalCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS trend
Probability
1.11%
Chance of exploitation in the next 30 days
Percentile
65%
Versus all other CVEs
30-day change
0.00 pp
From 1.11% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Org.apache.spark2 products
- spark-core_2.12< 3.3.3
- spark-core_2.13< 3.3.3
Apache1 product
- spark< 3.4.0
Apache software foundation1 product
- apache spark< 3.4.0
PyPI1 product
- pyspark< 3.4.0 | < 3.3.2
4 vendors · 5 products
References
10 links- lists.apache.org/thread/yllfl25xh5tbotjmg93zrq4bzwhqc0gvVendor AdvisoryWEBARTICLEAdvisoryMailing List
- github.com/apache/sparkPACKAGE