WaratekVRT Sign in

CVE-2023-32007 Apache Spark

Affected softwareApache Spark
Severity8.8 High CVSS 3.1 2 scores
Fixed in3.2.2
WeaknessCommand injection (CWE-77)
Published2 May 2023
Updated17 Jun 2026

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.

Exploitation status

Forecast only (76% 30-day chance)

No exploit has been reported in the sources we check. EPSS puts this CVE in the top 0.47% of all scored CVEs. That is a model's forecast, not a report of exploitation.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 76% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99.5% of all scored CVEs.

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR command-injection security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-77: Command Injection.

How to mitigate CVE-2023-32007

Upgrade Apache Spark to 3.2.2 or later. Until you can, Waratek RASP blocks exploitation with its process rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

8.8 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 8.8 HIGH CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H NVD Primary published
CVSS 3.1 8.8 HIGH CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CISA-ADP Secondary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.spark:spark-parent_2.12 3.1.1 3.2.2 unbounded

Products and versions

2 products, 4 version entries
SourceVendorProductSchemeAffected versions
nvd apache spark generic ≤ 3.0.3 · ≥ 3.1.1 and ≤ 3.1.3 · ≥ 3.2.0 and ≤ 3.2.1
osv org.apache.spark spark-parent_2.12 generic ≥ 3.1.1 and < 3.2.2

References

URLTags
https://github.com/apache/spark PACKAGE
https://github.com/pypa/advisory-database/tree/main/vulns/pyspark/PYSEC-2023-72.yaml WEB
https://lists.apache.org/thread/poxgnxhhnzz735kr1wos366l5vdbb0nv WEB
https://spark.apache.org/security.html WEB
https://www.cve.org/CVERecord?id=CVE-2022-33891 WEB
https://www.openwall.com/lists/oss-security/2023/05/02/1 WEB
http://www.openwall.com/lists/oss-security/2023/05/02/1 WEB

Timeline

Published2023-05-02By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.