CVE-2022-33891KEV · OVERDUECWE-78

Apache Spark shell command injection vulnerability via Spark UI

High · published July 18, 2022

Patch now

Confirmed exploited, and the score agrees

CVSS calls it high at 8.8. It is confirmed in active exploitation. It sits in the 99.8th percentile for exploit probability.

1306
days past CISA
deadline
CVSS v3.1
8.8
EPSS
93%
Percentile
99.8
In the wild
Confirmed
What it is

🚨 A sneaky impersonation exploit is lurking in Apache Spark! By tampering with a username, attackers can execute arbitrary shell commands as the Spark user. 🔥 This vulnerability is like allowing a guest at a party to choose any name sticker they want, then giving them access to the private areas of your house based on that name. If no one checks if they’re really who they claim, chaos can ensue! With this exploit, a malicious user could gain the power to execute any shell command as the Spark user — think of it as giving a stranger the keys to your server! This could lead to unauthorized data access, system modifications, or even complete system compromise. Absolutely devastating!

Put simply

This vulnerability is like allowing a guest at a party to choose any name sticker they want, then giving them access to the private areas of your house based on that name. If no one checks if they’re really who they claim, chaos can ensue! CVE-2022-33891 involves a flaw in the Apache Spark UI's access control, allowing an attacker with a crafted username to bypass authentication checks and execute arbitrary commands in the context of the Spark user, provided ACLs are enabled.

What to do

With this exploit, a malicious user could gain the power to execute any shell command as the Spark user — think of it as giving a stranger the keys to your server! This could lead to unauthorized data access, system modifications, or even complete system compromise. Absolutely devastating! To mitigate this risk, update Apache Spark to version 3.1.3 or 3.2.2 or later. Ensure that ACLs are enabled and properly configured. Additionally, review and restrict user permissions to minimize exposure. Don't delay! You've got this! By following these steps, you'll lock down your Spark installation and keep your systems secure! 🛡️

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.93244 · 99.8th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2022-07-18T00:00Z
KEV added
2023-03-07 · due 2023-03-28
EPSS history
Timeline
  • 07 MAR 00:00Z
    Added to CISA KEV — remediate by Mar 28
    kev
  • 18 JUL 00:00Z
    Apache Spark shell command injection vulnerability via Spark UI
    cvelistv5