Skip to content
Fencer Vulns
medium 6.4

CVE-2023-22946 json

Apache Spark proxy-user privilege escalation from malicious configuration class

published 2023-04-17 3 y ago modified 2026-09-08 2 mo ago also BIT-spark-2023-22946 , EUVD-2023-0219 , GHSA-329j-jfvr-rhr6 , PYSEC-2023-44

cvss
6.4
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.1%
EPSS 1.1% chance of exploitation in 30 days, percentile 66%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.apache.spark:spark-core_2.12 3.3.3
  • maven org.apache.spark:spark-core_2.13 3.3.3
  • pypi pyspark 3.3.2, 3.4.0
  • bitnami spark 3.4.0
  • Apache Software Foundation Apache Spark 3.4.0

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

1.11% chance of exploitation in the next 30 days, higher than 66% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 6.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
GitHub 3.1 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
NVD 3.1 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
OSV 3.1 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
maven org.apache.spark:spark-core_2.12
<3.3.3
3.3.3
maven org.apache.spark:spark-core_2.13
<3.3.3
3.3.3
pypi pyspark
<3.3.2
<3.4.0
3.3.2
3.4.0
bitnami spark
<3.4.0
3.4.0

Affected products

  • Apache Software Foundation Apache Spark

Classification

Weakness
  • CWE-269 Improper Privilege Management

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.