PT-2023-23566 · Apache · Apache Spark

Kostya Torchinsky

·

Published

2023-05-02

·

Updated

2024-10-15

·

CVE-2023-32007

CVSS v3.1

8.8

High

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Apache Spark versions prior to 3.4.0
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.
Recommendations Upgrade to a supported version of Apache Spark, such as version 3.4.0.

Fix

Command Injection

Weakness Enumeration

Related Identifiers

BIT-SPARK-2023-32007
CVE-2023-32007
GHSA-59HW-J9G6-MFG3
PYSEC-2023-72

Affected Products

Apache Spark