Skip to content
Vulnerability Intelligence

CVE-2023-32007

High

Apache Spark UI vulnerable to Command Injection

Published May 2, 2023 · Updated Sep 8, 2026 · Also known as BIT-spark-2023-32007, GHSA-59hw-j9g6-mfg3, PYSEC-2023-72

Key Facts

Patch immediately
  • CVE-2023-32007 is a high-severity vulnerability (CVSS 8.7 v4) affecting Spark (Apache), org.apache.spark:spark-parent_2.12 (pypi), pyspark (pypi) and 1 more product.
  • It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
  • EPSS estimates a 76% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Spark <=3.0.3, Spark 3.2.2, Spark 3.0.4.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

CVSS v4

8.7

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:N

EPSS (30-day exploit likelihood)

76%

Higher than 99.5% of all scored CVEs

Exploited in the wild

No known

Not in a known-exploited catalog

Public exploit code

None known

Get the full CVE-2023-32007 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

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.

Affected Products

7 affected entries in total
ProductAffected versionsFixed in
SparkApache>= 3.1.13.0.3
org.apache.spark:spark-parent_2.12pypi>= 3.1.13.2.2
pysparkpypi>= 3.1.13.2.2
seal-pysparksealSee advisory2.4.8+sp999

Patched Releases

Spark

<=3.0.3, 3.2.2, 3.0.4, 3.1.4

org.apache.spark:spark-parent_2.12

3.2.2

pyspark

2.4.8+sp999, 3.2.2

seal-pyspark

2.4.8+sp999

Timeline

  1. Publicly disclosed

    May 2, 2023

  2. Last updated

    Sep 8, 2026

Weakness Type

  • CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')

References

5 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2023-32007 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo