Apache · Spark · CWE-78 · published 2022-07-18

CVE-2022-33891Apache Spark Command Injection Vulnerability

This week Known exploited in the wild.

CVE-2022-33891 is actively exploited in the wild: CISA added it to the Known Exploited Vulnerabilities catalog on 2023-03-07. EPSS estimates a 92.9% chance of exploitation in the next 30 days, higher than 99% of all CVEs. This Spark vulnerability: CVSS 8.8 (v3.1), a successful attack gives total control of the component. CISA’s required action: Apply updates per vendor instructions. US federal agencies must remediate by 2023-03-28. Patch this week.

Share this

Remediation#

CISA required action: Apply updates per vendor instructions. (federal due date 2023-03-28)

Patch events

  1. This weekExploited (KEV)CISA due 2023-03-28

    App server & middlewareApache Spark

    Command InjectionCVE-2022-33891

    Why: Known exploited in the wild.

Exploit intelligence#

SignalValueSource
Known exploitedYes, added 2023-03-07CISA KEV
Ransomware useUnknownCISA KEV
EPSS (30-day exploitation probability)93% (100th pct)FIRST EPSS v2026.06.15
CVSS base score8.8 (v3.1)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CNA / CISA ADP
SSVC exploitationactiveCISA Vulnrichment
SSVC automatableNoCISA Vulnrichment
SSVC technical impacttotalCISA Vulnrichment

Weakness: CWE-78: Improper Neutralization of Special Elements used in an OS Command

More from this vendor: all Apache vulnerabilities · recent KEV additions

Affected versions (from the CVE record)#

Description (from the CVE record)#

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.

Quoted from the CVE Program record.

Elsewhere#

Distro status: Debian · Ubuntu · Red Hat · Alpine

Something wrong on this page?
Anonymous. Reports are checked against the primary source.

Also on today's list

See today's list → · Coming up →