CVE-2023-22946

MEDIUM

Apache Spark < 3.4.0 - Privilege Escalation via Malicious Classpath Configuration

Title source: llm
STIX 2.1

Description

In Apache Spark versions prior to 3.4.0, applications using spark-submit can specify a 'proxy-user' to run as, limiting privileges. The application can execute code with the privileges of the submitting user, however, by providing malicious configuration-related classes on the classpath. This affects architectures relying on proxy-user, for example those using Apache Livy to manage submitted applications. Update to Apache Spark 3.4.0 or later, and ensure that spark.submit.proxyUser.allowCustomClasspathInClusterMode is set to its default of "false", and is not overridden by submitted applications.

References (1)

Core 1
Core References
Mailing List, Vendor Advisory vendor-advisory
https://lists.apache.org/thread/yllfl25xh5tbotjmg93zrq4bzwhqc0gv

Scores

CVSS v3 6.4
EPSS 0.0043
EPSS Percentile 62.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-269
Status published
Products (4)
apache/spark < 3.4.0
org.apache.spark/spark-core_2.12 0 - 3.3.3Maven
org.apache.spark/spark-core_2.13 0 - 3.3.3Maven
pypi/pyspark 0 - 3.3.2PyPI
Published Apr 17, 2023
Tracked Since Feb 18, 2026