Vulnerability Details : CVE-2023-32007
** UNSUPPORTED WHEN ASSIGNED ** 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 issue was disclosed earlier as CVE-2022-33891, but incorrectly claimed version 3.1.3 (which has since gone EOL) would not be affected.
NOTE: This vulnerability only affects products that are no longer supported by the maintainer.
Users are recommended to upgrade to a supported version of Apache Spark, such as version 3.4.0.
Products affected by CVE-2023-32007
- cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:*
- cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:*
- cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-32007
1.27%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 86 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-32007
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
8.8
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
NIST |
CWE ids for CVE-2023-32007
-
The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.Assigned by: security@apache.org (Primary)
References for CVE-2023-32007
-
https://spark.apache.org/security.html
Security | Apache SparkVendor Advisory
-
https://lists.apache.org/thread/poxgnxhhnzz735kr1wos366l5vdbb0nv
CVE-2023-32007: Apache Spark: Shell command injection via Spark UI-Apache Mail ArchivesMailing List
-
http://www.openwall.com/lists/oss-security/2023/05/02/1
oss-security - CVE-2023-32007: Apache Spark: Shell command injection via Spark UIMailing List
-
https://www.cve.org/CVERecord?id=CVE-2022-33891
cve-websiteThird Party Advisory
Jump to