CVE-2022-33891
CVSS V2 None
CVSS V3 High 8.8
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.
Overview
- CVE ID
- CVE-2022-33891
- Assigner
- security@apache.org
- Vulnerability Status
- Modified
- Published Version
- 2022-07-18T07:15:07
- Last Modified Date
- 2023-05-02T15:15:23
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:* | 1 | OR | 3.0.3 | |
cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:* | 1 | OR | 3.1.1 | 3.1.2 |
cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:* | 1 | OR | 3.2.0 | 3.2.1 |
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- LOW
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 8.8
- Base Severity
- HIGH
- Exploitability Score
- 2.8
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
http://packetstormsecurity.com/files/168309/Apache-Spark-Unauthenticated-Command-Injection.html | Exploit Third Party Advisory VDB Entry |
http://www.openwall.com/lists/oss-security/2023/05/02/1 | |
https://lists.apache.org/thread/p847l3kopoo5bjtmxrcwk21xp6tjxqlc | Mailing List Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-33891 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-33891 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-07-18 08:00:47 | Added to TrackCVE | |||
2023-05-02 16:05:59 | 2023-05-02T15:15:23 | CVE Modified Date | updated | |
2023-05-02 16:05:59 | Analyzed | Modified | Vulnerability Status | updated |
2023-05-02 16:06:01 | References | updated |