8.8

CVE-2023-32007: apache software foundation apache spark Command Injection

CVSS: 8.8v3.1HighModified
AliasesGHSA-59hw-j9g6-mfg3BIT-spark-2023-32007PYSEC-2023-72
Published 02-05-2023Last modified 13-02-2025

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.

Overall risk
50/100
0100
High · default modelHow is this calculated?
CVSS score
8.8/10
010
High · v3.1 (CVE.org)
EPSS score
75.95%
0%100%
Critical · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 02-05-2023
    PublishedVulnerability first disclosed.
  2. 13-02-2025
    Last 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

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

18-09-202618-10-2026
EPSS score
75.95%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Apache1 product
  • spark≤ 3.0.3 | ≥ 3.1.1, ≤ 3.1.3 | ≥ 3.2.0, ≤ 3.2.1
Apache software foundation1 product
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