CVE-2022-33891

KEV
Published: Lug 18, 2022 Last Modified: Ott 23, 2025
ExploitDB:
Other exploit source:
Google Dorks:
HIGH 8,8
Attack Vector: network
Attack Complexity: low
Privileges Required: low
User Interaction: none
Scope: unchanged
Confidentiality: high
Integrity: high
Availability: high

Description

AI Translation Available

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.

EPSS (Exploit Prediction Scoring System)

Trend Analysis

EPSS (Exploit Prediction Scoring System)

Prevede la probabilità di sfruttamento basata su intelligence sulle minacce e sulle caratteristiche della vulnerabilità.

EPSS Score
0,9351
Percentile
1,0th
Updated

EPSS Score Trend (Last 90 Days)

78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Stable
Common Consequences
Security Scopes Affected:
Confidentiality Integrity Availability Non-Repudiation
Potential Impacts:
Execute Unauthorized Code Or Commands Dos: Crash, Exit, Or Restart Read Files Or Directories Modify Files Or Directories Read Application Data Modify Application Data Hide Activities
Applicable Platforms
Technologies: AI/ML, Not Technology-Specific, Web Server
View CWE Details
Application

Spark by Apache

Version Range Affected
From 3.2.0 (inclusive)
To 3.2.1 (inclusive)
cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Spark by Apache

Version Range Affected
To 3.0.3 (inclusive)
cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Spark by Apache

Version Range Affected
From 3.1.1 (inclusive)
To 3.1.2 (inclusive)
cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022…
http://packetstormsecurity.com/files/168309/Apache-Spark-Unauthenticated-Comman…
https://lists.apache.org/thread/p847l3kopoo5bjtmxrcwk21xp6tjxqlc
http://www.openwall.com/lists/oss-security/2023/05/02/1
http://packetstormsecurity.com/files/168309/Apache-Spark-Unauthenticated-Comman…
https://lists.apache.org/thread/p847l3kopoo5bjtmxrcwk21xp6tjxqlc
http://www.openwall.com/lists/oss-security/2023/05/02/1