Apache Spark UI command injection via ACL impersonation
CVE-2022-33891Known exploitedHigh
Apache Spark's UI contains a flaw in HttpSecurityFilter that allows an attacker to impersonate an arbitrary user when ACLs are enabled. By providing a crafted username, an attacker can bypass permission checks and reach a function that builds and executes Unix shell commands based on their input. An attacker needs network access to the Spark UI and ACLs must be enabled in the configuration to exploit this vulnerability, resulting in arbitrary command execution with the privileges of the Spark process.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
- Added to KEV
- 7 Mar 2023
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Detail
Apache Spark. CISA required action: Apply updates per vendor instructions.
Weakness: CWE-78 (opens in a new tab)
Affected versions
- apache spark: up to 3.0.3
- apache spark: from 3.1.1, up to 3.1.2
- apache spark: from 3.2.0, up to 3.2.1