---
cve: "CVE-2023-22946"
severity: "MEDIUM"
cvss: 6.4
epss: "1.1%"
vendor: "Apache Software Foundation"
kev: false
exploited: false
published: "2023-04-17 08:15:07"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-09-20T00:31:35+02:00"
---

# CVE-2023-22946

> 6.4 MEDIUM

## Beschreibung

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-Vektor

```
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Gering | warn |
| UI Interaktion | Keine | bad |
| S Scope | Verändert | bad |
| C Vertraulichkeit | Gering | warn |
| I Integrität | Gering | warn |
| A Verfügbarkeit | Keine | good |

## Patch verfügbar (OSV)

- 87a5442f7ed96b11051d8a9333476d080054e5a0 (Commit)

## Referenzen

- <https://lists.apache.org/thread/yllfl25xh5tbotjmg93zrq4bzwhqc0gv>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2023-22946) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
