CVE-2023-22946
published medium CVSS 3.1 · 6.4Apache Spark proxy-user privilege escalation from malicious configuration class
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache Spark0 to < 3.4.0 · Other versions: unaffected | Affected | Not stated | apache |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.4 / 10
- Severity
- medium
- Provider
- apache · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Spark | 0 to < 3.4.0 (affected · semver)Default: unaffected | apache · cna |
Weaknesses
1- CWE-269 CWE-269 Improper Privilege Management
References
1Provider assertions
3apache · cna
Apache Spark proxy-user privilege escalation from malicious configuration class
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e3c0093433f5ccaf79a6e1ffa7ed8558befdfed40d50e5896209bd0b83097002
- Ingested
- 23 Sep 2026, 08:06:24 UTC
- Source record
- Official CVE record