CVE-2022-33891Apache Spark shell command injection vulnerability via Spark UI
Updated under an hour ago ()
Does this affect you?
It affects Apache Software Foundation Apache Spark and 1 other product. Add what you run to find out whether that includes you.
CISA lists it as known exploited since Mar 7, 2023; federal agencies had to remediate by Mar 28, 2023. Treat that date as your deadline.
Do this next
Free account, 1 product
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.
- CVSS
- 8.8 HIGH (v3.1, CISA ADP)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weakness (CWE)
- CWE-78
- Known exploited
- Added to CISA KEV Mar 7, 2023; federal remediation due Mar 28, 2023Apply updates per vendor instructions.
- EPSS (exploitation in the next 30 days)
- 93.24% (percentile 100)
- Assigned by
- apache
- NVD analysis
- Analyzed
- Record last updated
- Oct 21, 2025
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Apache Software Foundation Apache Spark apache_software_foundation:apache_spark (from the name) | from 3.0.3 and earlier through 3.0.3; from 3.1.1 to 3.1.2 through 3.1.2; from 3.2.0 to 3.2.1 through 3.2.1 | CNA record |
apache spark apache:spark | through 3.0.3; from 3.1.1 through 3.1.2; from 3.2.0 through 3.2.1 | NVD |
References
- https://lists.apache.org/thread/p847l3kopoo5bjtmxrcwk21xp6tjxqlcmailing-list, third-party-advisory
- http://packetstormsecurity.com/files/168309/Apache-Spark-Unauthenticated-Command-Injection.htmlexploit, third-party-advisory, vdb-entry
- http://www.openwall.com/lists/oss-security/2023/05/02/1mailing-list, third-party-advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-33891third-party-advisory, us-government-resource
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.