8.8

CVE-2023-32007: Apache Spark: Shell command injection via Spark UI

Modified
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) 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.

Priority
Routine

Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
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 listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware 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

No change 0.00 pp

From 75.95% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

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