Apache Spark Command Injection Vulnerability
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…
Severity = CVSS. Probability = EPSS (FIRST). Exploitation = public signals: KEV, EUVD, ransomware, EPSS above 10 %, no account required.
Exploitation probability EPSS · FIRST
Exploitation signals 3 / 5
- KEV catalog (CISA)07 Mar 2023
- Exploited in EUVD (ENISA)07 Mar 2023
- Used by ransomwareno
- EPSS above 10 %93.2%
- No account, over the networkno
What to do
Fix
Apply the vendor’s fix as soon as it is available.
CISA guidance: Apply updates per vendor instructions.
Meanwhile
Take the service off the internet or restrict access to it, watch the logs and look for signs of compromise.
Manufacturers (CRA)
Exploited vulnerability in your product: early warning to ENISA within 24 h, then notification within 72 h (Article 14 of the Cyber Resilience Act). The CRA explained
Description ENISA EUVD
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 affects Apache Spark versions 3.0.3 and earlier, versions 3.1.1 to 3.1.2, and versions 3.2.0 to 3.2.1.
Affected products
- 3.0.3 and earlier ≤3.0.3
- 3.2.0 to 3.2.1 ≤3.2.1
- 3.1.1 to 3.1.2 ≤3.1.2
Open source packages OSV
Affected libraries according to OSV, with fixed versions.
Timeline
-
Published
-
Exploitation reported (ENISA)
-
Added to the KEV catalog
-
CISA remediation due date
-
EPSS peak: 93.2%
References
Other exploited vulnerabilities from the same vendor
- CVE-2016-3081Apache Struts Command Injection Vulnerability8.5 · Rising fast
- CVE-2026-34486Apache Tomcat Missing Encryption of Sensitive Data Vulnerability8.4 · Actively exploited
- CVE-2026-34197Apache ActiveMQ Improper Input Validation Vulnerability8.3 · Background exploitation
- CVE-2024-38475Apache HTTP Server Improper Escaping of Output Vulnerability9.0 · Background exploitation
- CVE-2025-24813Apache Tomcat Path Equivalence Vulnerability9.4 · Background exploitation
- CVE-2024-45195Apache OFBiz Forced Browsing Vulnerability9.3 · Background exploitation