9.9

CVE-2023-22946: Apache Spark proxy-user privilege escalation from malicious configuration class

Modified
AliasesGHSA-329j-jfvr-rhr6BIT-spark-2023-22946PYSEC-2023-44
Published 17-04-2023Last modified 21-10-2024

Vulnerability summary

CVE-2023-22946 is a critical (CVSS 9.9) Improper Privilege Management vulnerability in apache software foundation apache spark. EPSS estimates a 1.11% chance of exploitation in the next 30 days, higher than 66.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.4, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
9.9/10
010
Critical · v3.1 (NVD)
EPSS score
1.11%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 17-04-2023
    PublishedVulnerability first disclosed.
  2. 21-10-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

1.11%

Chance of exploitation in the next 30 days

Percentile

67%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.11% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Org.apache.spark2 products
  • spark-core_2.12< 3.3.3
  • spark-core_2.13< 3.3.3
Apache1 product
Apache software foundation1 product
PyPI1 product
  • pyspark< 3.4.0 | < 3.3.2

4 vendors · 5 products

References

10 links