As of , CVE-2022-33891 in Apache Spark is on CISA's list of exploited vulnerabilities: CISA listed it on . Our patch-first group: Patch this week.
CVE-2022-33891
Apache Spark: Command Injection. Exploited, and in our Patch this week group.
Our patch-first group
Patch this week
- Metasploit module
- EPSS 0.93
CISA's required action
Apply updates per vendor instructions.
Patch infofixed versions and vendor advice
What to install
Affects Apache Spark. The record gives its versions in a form this page does not read.
Vendor advice
Vendor advice: lists.apache.org, from CISA's entry.
- EPSS score
- 0.93Higher than 99% of the CVEs EPSS scores.
EPSS estimates the chance of exploitation activity in the next 30 days.
- Exploited
- Yes CISA listed it on 7 March 2023
- US federal deadline
- 28 March 2023 21 days after CISA listed it. US federal civilian agencies must fix it by then.
- Used in ransomware campaigns
- Not known to CISA
- EPSS when listed
- 0.97 on 7 March 2023 EPSS on the day CISA listed it.
- Public exploit
- 1 Metasploit module
In software packages
Affected packages
Software packages that the advisories for this CVE name. Each line is what one advisory says, with its id.
org.apache.spark:spark-parent_2.12Maven
Affects org.apache.spark:spark-parent_2.12 up to and including 3.0.3; from 3.1.1 before 3.2.2.
Fixed in 3.2.2.
Advisory GHSA-4x9r-j582-cgr8pysparkPyPI
Affects pyspark before 3.1.3 and from 3.2.0 before 3.2.2.
Fixed in 3.1.3 and 3.2.2.
Advisory GHSA-4x9r-j582-cgr8 and PYSEC-2022-236
Since listing
EPSS since listing
EPSS for CVE-2022-33891 since CISA listed it, on the days its value to 2 decimals changed. EPSS scores by FIRST.
Show the numbers
| From | EPSS |
|---|---|
| 0.97 | |
| 0.96 | |
| 0.97 | |
| 0.94 | |
| 0.93 | |
| 0.94 | |
| 0.93 | |
| 0.94 | |
| 0.93 | |
| 0.94 | |
| 0.93 |
Timeline
What happened when
- The CVE record was published.
- CISA added it to its list of exploited vulnerabilities.
- The US federal deadline to fix it.
CISA's required action
What CISA says to do
Apply updates per vendor instructions.
Read further: CISA's catalog
The flaw
What the flaw is
Apache Spark contains a command injection vulnerability via Spark User Interface (UI) when Access Control Lists (ACLs) are enabled.
CISA's description
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.
The CVE record's description, from apache
- CVE published
- 18 July 2022
- Assigned by
- apache
- CVSS
- 8.8 High (CVSS 3.1, from CISA-ADP)
- CWE-78
- Improper Neutralization of Special Elements used in an OS Command
- CISA SSVC, exploitation
- active
- CISA SSVC, automatable
- no
- CISA SSVC, technical impact
- total
Public exploits
Public exploits
Facts from Metasploit's module list and Exploit-DB's index; we never copy exploit code.
Sources
- CVE records: Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation (source). Licence: CVE Program Terms of Use
- CWE names: Copyright © 2006-2026, The MITRE Corporation. CWE, CWSS, CWRAF, and the CWE logo are trademarks of The MITRE Corporation (source). Licence: CWE Terms of Use
- EPSS scores by FIRST (https://www.first.org/epss/), generated by Empirical Security (source)
- Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0
- Package advisories from the PyPA advisory database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0