BlackTreeCVE Intelligence
← Back to the CVE catalogue
Full vulnerability report · 2022
CVE-2022-33891High confidence

Apache Spark Command Injection Vulnerability

Apache · Spark

8.8HighCVSS 3.1
Recommended action
Protect now

CISA confirms exploitation in the wild and lists 2023-03-28 as the remediation due date.

Fix not verified
R
Operational reassessment

Published severity in operational context

Open reassessment dashboard →
Published severityHighOperational priority:Critical, raised one band.upgradedsince 7 Mar 2023

Evidence used

  • CISA confirms exploitation in the wild.
  • A structured source references public exploit or proof-of-concept material.
  • EPSS is 93.24% for the current model date.

Compensating controls

  • Restrict the affected network interface to trusted sources where business-safe.
  • Increase monitoring for the attack path and post-exploitation behaviour described in the report.

Verification

  1. Confirm that the asset runs Apache Spark and falls inside the recorded affected range.
  2. Recheck the vendor advisory before scheduling a change because no verified fixed version is currently retained.
  3. Validate exposure, authentication requirements and compensating controls in the actual environment.
  4. Reopen this reassessment when CVSS, KEV, EPSS, exploit evidence or remediation changes.
Mitigation target: Within 3 daysRemediation target: Within 90 days

This automated reassessment organises public evidence. It does not know asset exposure, business impact or control effectiveness and does not replace CVSS or a human risk decision.

Open-source package ranges4 source-attributed ranges

These OSV and GitHub advisory ranges apply only to the named package and ecosystem. A listed fixed version is not a universal product patch or proof that an update is installed.

Ecosystem and packageAffected rangeFirst fixed versionEvidence
mavenorg.apache.spark:spark-parent_2.12<= 3.0.3Not statedGitHub advisory ↗github reviewed aggregator · 9 Jun 2026
mavenorg.apache.spark:spark-parent_2.12>= 3.1.1, < 3.2.23.2.2GitHub advisory ↗github reviewed aggregator · 9 Jun 2026
pippyspark>= 0, < 3.1.33.1.3GitHub advisory ↗github reviewed aggregator · 9 Jun 2026
pippyspark>= 3.2.0, < 3.2.23.2.2GitHub advisory ↗github reviewed aggregator · 9 Jun 2026
Optional official sources

National CERT insights
?CERT means Computer Emergency Response Team; CSIRT is the closely related term Computer Security Incident Response Team.

Choose official national sources for this report. Each advisory shows its original language. Your selection is remembered on this device and included in shared links.

Official European source

ENISA European Vulnerability Database

Official EUVD identifiers, advisory evidence and known-exploited context. Missing fields are not treated as evidence of low risk.

1 current
ENISA EUVD identifier

EUVD-2022-0217

CISA KEV mirrored by ENISA

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.

EUVD state
Present in the current official mapping
Known exploitation
Recorded by ENISA since 7 Mar 2023. Evidence sources: cisa_kev.
ENISA score
8.8 · CVSS 3.1
Advisory evidence
1 linked advisory record
Explicit mitigation evidence

Only statements that explicitly mention a fix, patch, update, workaround or mitigation are shown here.

  • csaf_suse · SUSE-SU-2023:0070-1Security update for openstack-barbican, openstack-heat-gbp, openstack-horizon-plugin-gbp-ui, openstack-neutron, openstack-neutron-gbp
Recommended actionProtect now

CISA confirms exploitation in the wild and lists 2023-03-28 as the remediation due date.

Fix not verified
01

What, why and how

Apache Spark contains a command injection vulnerability via Spark User Interface (UI) when Access Control Lists (ACLs) are enabled.

What

Apache Spark contains a command injection vulnerability via Spark User Interface (UI) when Access Control Lists (ACLs) are enabled.

Why

Untrusted input is incorporated into an operating-system command without safe parameter handling.

How

An attacker operating through a network path may attempt exploitation with low privileges. If successful, the issue may cause the confidentiality, integrity or availability impact described by the vendor.

What

Apache Spark contains a command injection vulnerability via Spark User Interface (UI) when Access Control Lists (ACLs) are enabled.

Why

Untrusted input is incorporated into an operating-system command without safe parameter handling.

How

An attacker operating through a network path may attempt exploitation with low privileges. If successful, the issue may cause the confidentiality, integrity or availability impact described by the vendor.

02

Exploit reality and attack path

CVSS severity, EPSS forecast probability, public exploit material and CISA-confirmed exploitation are separate signals.

Observed exploitation
?Confirmed exploitation and public exploit material are separate signals. Attacks can occur without public proof-of-concept or exploit code.
Confirmed in the wild

CISA added this CVE to its Known Exploited Vulnerabilities catalogue on 2023-03-07.

Public PoC / exploit material
?Confirmed exploitation and public exploit material are separate signals. Attacks can occur without public proof-of-concept or exploit code.
Reference recorded

A structured CVE source labels at least one public reference as exploit material. BlackTree has not independently validated that it is safe, reliable or weaponised.

Likely attack path
a network path → Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') → cause the confidentiality, integrity or availability impact described by the vendor
Attack surface
Network
Privileges required
Low: a basic authenticated account is required
User interaction
None
Attack complexity
Low: no specialised conditions are recorded
Security boundary
Unchanged: impact remains within the vulnerable component's security authority
Weakness
?CWE means Common Weakness Enumeration: a standard category for the underlying weakness.
CWE-78 ↗

CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'). The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

CVSS vector
?CVSS means Common Vulnerability Scoring System. The vector records the metric values used to calculate technical severity.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Common Vulnerability Scoring System 3.1: the compact vector below is decoded into plain language.

AVNetworkAttack vector: The vulnerable component can be reached over a network.ACLowAttack complexity: No specialised conditions are required beyond attacker-controlled input.PRLowPrivileges required: The attacker needs basic user-level privileges.UINoneUser interaction: No action by another user is required.SUnchangedScope: The security impact remains within the vulnerable component's authority.CHighConfidentiality impact: A successful attack can cause a major loss.IHighIntegrity impact: A successful attack can cause a major loss.AHighAvailability impact: A successful attack can cause a major loss.
Post-exploitation / living off the land
No specific living-off-the-land technique is confirmed in the structured sources. Monitor normal administration tools for activity inconsistent with the affected service's baseline.
NetworkCWE-78CISA KEVPublic exploit reference
A

Official authority intelligence

Only matched European and national findings are included. Language selectors and unavailable sources are omitted.

ENISA EUVD · EUVD-2022-0217Known-exploited evidence recorded

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.

Official EUVD record ↗
Cyber Security Agency of Singapore · English · CSA-SB-20220720Security Bulletin 20 Jul 2022

The Cyber Security Agency of Singapore included this CVE in its official Security Bulletin 20 Jul 2022, published on 20 July 2022. Open the linked bulletin for the product, severity and reference information published in that issue.

Official advisory ↗
CERT-FR · French · CERTFR-2026-AVI-1165Multiples vulnérabilités dans les produits IBM

ord?id=CVE-2022-24785 Référence CVE CVE-2022-24823 https://www.cve.org/CVERecord?id=CVE-2022-24823 Référence CVE CVE-2022-25168 https://www.cve.org/CVERecord?id=CVE-2022-25168 Référence CVE CVE-2022-25647 https://www.cve.org/CVERecord?id=CVE-2022-25647 Référence CVE CVE-2022-26612 https://www.cve.org/CVERecord?id=CVE-2022-26612 Référence CVE CVE-2022-31159 https://www.cve.org/CVERecord?id=CVE-2022-31159 Référence CVE CVE-2022-31160 https://www.cve.org/CVERecord?id=CVE-2022-31160 Référence CVE CVE-2022-3171 https://www.cve.org/CVERecord?id=CVE-2022-3171 Référence CVE CVE-2022-31777 https://www.cve.org/CVERecord?id=CVE-2022-31777 Référence CVE CVE-2022-33891 https://www.cve.org/CVERecord?id=CVE-2022-33891 Référence CVE CVE-2022-34169 https://www.cve.org/CVERecord?id=CVE-2022-34169 Référence CVE CVE-2022-3509 https://www.cve.org/CVERecord?id=CVE-2022-3509 Référence CVE CVE-2022-3510 https://www.cve.org/CVERecord?id=CVE-2022-3510 Référence CVE CVE-2022-36364 https://www.cve.org/CVERecord?id=CVE-2022-36364 Référence CVE CVE-2022-40897 https://www.cve.org/CVERecord?id=CVE-2022-40897 Référence CVE CVE-2022-40898 https://www.cve.org/CVERecord?id=CVE-2022-40898 Référence CVE CVE-2022-41881 https://www.cve.org/CVERecord?id=CVE-2022-41881 Référence CVE CVE-2022-45688 https://www.cve.org/CVERecord?id=CVE-

Official advisory ↗
JVN iPedia · Japanese · JVNDB-2023-009863Apache Software Foundation の Apache Spark におけるコマンドインジェクションの脆弱性

** サポート外 ** 本件は、サポートされていない製品における脆弱性です。 Apache Software Foundation の Apache Spark には、コマンドインジェクションの脆弱性が存在します。

Official advisory ↗
JVN iPedia · Japanese · JVNDB-2022-013358Apache Software Foundation の Apache Spark における OS コマンドインジェクションの脆弱性

Apache Software Foundation の Apache Spark には、OS コマンドインジェクションの脆弱性が存在します。

Official advisory ↗
KISA KrCERT/CC · Korean · KNVD-5896현재 악용되고 있는 Exploit(Update. 2023-03-07)

Apache Spark contains a command injection vulnerability via Spark User Interface (UI) when Access Control Lists (ACLs) are enabled.

Official advisory ↗
KISA KrCERT/CC · Korean · KNVD-5670Apache Spark 보안 업데이트 권고

Apache Spark에서 발생하는 명령어 삽입 취약점 (CVE-2022-33891)

Official advisory ↗
03

Patch and workaround

Operational remediation based on structured source evidence.

Status
?Patch availability is based on structured fixed-version fields and authoritative update references. If no fix is verified, check the vendor advisory before making a change.
Fix not verified
Affected
Apache Spark: 3.0.3 and earlier ≤ 3.0.3, 3.1.1 to 3.1.2 ≤ 3.1.2, 3.2.0 to 3.2.1 ≤ 3.2.1
Fixed
No fixed version is explicitly recorded in the structured CVE data.
Action
No verified patch reference is present in the current structured sources. Check the vendor advisory before making a change.
Workaround
No verified workaround is recorded. If business-safe, reduce exposure to the affected interface and allow only trusted sources until authoritative guidance is available.
04

Evidence and provenance

Published 18 Jul 2022 · Last source change 21 Oct 2025, 23:15 UTC · CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

CVE recordCVE.org · 5.1
CVSS sourceNIST NVD
EPSS source
?The date BlackTree first stored a score for this CVE from the daily FIRST EPSS feed.
FIRST · tracked since 2026-08-14
European sourceENISA EUVD · EUVD-2022-0217
Product sourceCISA KEV
Remediation sourceCVE/CNA references
CWE sourceCNA
NVD statusNVD enriched

Core structured fields are present and their contributing authorities are shown above.

Material change intelligence

What changed after publication

View recent updates ↗
  1. Vendor guidanceAuthoritative vendor guidance changed: removed remediation: knvd.krcert.or.kr/detail?id=6407d0000000000000000000.
    Before
    remediation: knvd.krcert.or.kr/detail?id=6407d0000000000000000000
    After
    no authoritative guidance recorded
    CISA KEV ↗
  2. Remediation statusRemediation status changed from Mitigation available to Awaiting fix.
    Before
    Mitigation available
    After
    Awaiting fix
    CISA KEV ↗
  3. Affected versionsThe structured affected or fixed version information changed.
    Before
    3.0.3 and earlier ≤ 3.0.3; 3.1.1 to 3.1.2 ≤ 3.1.2; 3.2.0 to 3.2.1 ≤ 3.2.1 · Fixed: No fixed version is explicitly recorded in the structured CVE data.
    After
    Apache Spark: 3.0.3 and earlier ≤ 3.0.3, 3.1.1 to 3.1.2 ≤ 3.1.2, 3.2.0 to 3.2.1 ≤ 3.2.1 · Fixed: No fixed version is explicitly recorded in the structured CVE data.
    CNA ↗
  4. Remediation statusRemediation status changed from Awaiting fix to Mitigation available.
    Before
    Awaiting fix
    After
    Mitigation available
    KISA KrCERT/CC ↗
Material fields only · duplicate refreshes suppressed · history retained for the configured operational retention period
Technical terms and abbreviations used in this report
CVE
Common Vulnerabilities and Exposures: the public identifier for one disclosed vulnerability.
CVSS
Common Vulnerability Scoring System: a technical severity framework; it is not patching priority by itself.
EPSS
Exploit Prediction Scoring System: FIRST's estimate of the probability that exploitation activity will be observed in the next 30 days; it is a forecast, not confirmation.
CWE
Common Weakness Enumeration: the standard category describing the underlying software or hardware weakness.
CNA
CVE Numbering Authority: an organisation authorised to assign and publish CVE records.
CISA ADP
Cybersecurity and Infrastructure Security Agency Authorized Data Publisher: structured enrichment added to a CVE record.
NVD
National Vulnerability Database: NIST's enrichment service for CVE records.
CERT / CSIRT
A computer security incident response team that publishes warnings or coordinates incident response.
PoC
Proof of concept: public material that demonstrates or helps reproduce exploitation.
CSAF
Common Security Advisory Framework: a machine-readable format for security advisories.
LoTL
Living off the land: abuse of legitimate tools or system functions during an attack.
Free version - for non-commercial use only.CVE-2022-33891 · cve.blacktree.nl