CVE-2023-32007: apache software foundation apache spark Command Injection
Vulnerability summary
CVE-2023-32007 is a high (CVSS 8.8) Command Injection vulnerability in apache software foundation apache spark. EPSS estimates a 75.95% chance of exploitation in the next 30 days, higher than 99.5% of scored vulnerabilities.
Timeline
- 02-05-2023PublishedVulnerability first disclosed.
- 13-02-2025Last modifiedVulnerability information updated.
Description
** UNSUPPORTED WHEN ASSIGNED ** The Apache Spark UI offers the possibility to enable ACLs via the configuration option spark.acls.enable. With an authentication filter, this checks whether a user has access permissions to view or modify the application. If ACLs are enabled, a code path in HttpSecurityFilter can allow someone to perform impersonation by providing an arbitrary user name. A malicious user might then be able to reach a permission check function that will ultimately build a Unix shell command based on their input, and execute it. This will result in arbitrary shell command execution as the user Spark is currently running as. This issue was disclosed earlier as CVE-2022-33891, but incorrectly claimed version 3.1.3 (which has since gone EOL) would not be affected. NOTE: This vulnerability only affects products that are no longer supported by the maintainer. Users are recommended to upgrade to a supported version of Apache Spark, such as version 3.4.0.
CVSS metrics
6 scores · 4 sources · 2 versions- OSV · MavenEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:N
- OSV · PypiEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · MavenEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
75.95%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
0.00 pp
From 75.95% 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
Apache1 product
- spark≤ 3.0.3 | ≥ 3.1.1, ≤ 3.1.3 | ≥ 3.2.0, ≤ 3.2.1
Apache software foundation1 product
- apache spark≥ 3.1.1, < 3.2.2
Org.apache.spark1 product
- spark-parent_2.12≥ 3.1.1, < 3.2.2
PyPI1 product
- pyspark< 3.2.2 | ≥ 3.1.1, < 3.2.2
4 vendors · 4 products
References
9 links- github.com/apache/sparkPACKAGE