CubePath

CVE-2022-33891

Apache Spark shell command injection vulnerability via Spark UI

CVSS 3.1 High 8.8Known exploited (CISA KEV)

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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.

Official description from the CVE record, published by apache. Copyright © 1999-2026 The MITRE Corporation. See /security/cve/legal for the CVE license. View the record on cve.org

Key data

CVSS 3.1 High 8.8

Score published by CISA-ADP in the CVE record.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

  • Attack vector: Network

    The vulnerable component can be reached over a network, possibly from the Internet.

  • Attack complexity: Low

    No special conditions are needed. The attack can be repeated at will.

  • Privileges required: Low

    A basic user account is needed.

  • User interaction: None

    No action from any user is needed.

  • Scope: Unchanged

    The impact stays within the vulnerable component.

  • Confidentiality impact: High

    Serious or total effect on the secrecy of data.

  • Integrity impact: High

    Serious or total effect on the trustworthiness of data.

  • Availability impact: High

    Serious or total effect on availability.

CVSS is owned and managed by FIRST.Org, Inc. (FIRST) and is used by permission. Each CVSS score on this site is shown together with its vector string, as published in the CVE record by the source named next to it. Learn more at first.org/cvss.

EPSS

Exploit Prediction Scoring System by FIRST: an estimate of the probability that exploitation activity will be observed in the next 30 days.
Score
0.93244 (93.2% probability)
Percentile
99.8%
Scores of
Nov 10, 2026
Model
v2026.06.15

CISA Known Exploited Vulnerabilities

This CVE is listed in the CISA KEV catalog.
Name in the catalog
Apache Spark Command Injection Vulnerability
Added to the catalog
Mar 7, 2023
Federal due date
Mar 28, 2023

CISA assessment as of Feb 4, 2025

Stakeholder-Specific Vulnerability Categorization (SSVC) decision points added by CISA.
Exploitation
Recorded by CISA as active
Automatable
no
Technical impact
total

Weakness (CWE)

CWE catalog version 5.0.
CWE names: Copyright © 2006-2026, The MITRE Corporation. See /security/cve/legal for the CWE license.
  • CWE-78Improper Neutralization of Special Elements used in an OS Command

Affected products

Products listed in the CVE record, as the CNA published them.
  • Apache Spark

    • affected: 3.0.3 and earlier up to 3.0.3
    • affected: 3.1.1 to 3.1.2 up to 3.1.2
    • affected: 3.2.0 to 3.2.1 up to 3.2.1

Timeline

  1. ID reserved
  2. Record published
  3. Added to CISA KEV
  4. Record last updated

Look up another CVE

About CubePath

CubePath is a cloud provider with data centers in Europe and the United States. It offers VPS, bare metal servers and DDoS protection.

Data from the CVE Program (MITRE), CISA KEV and FIRST EPSS. CVSS is owned by FIRST and used by permission. Not affiliated with or endorsed by MITRE, CISA or FIRST. Data as of Nov 10, 2026, 19:52 UTC. Sources and licenses