Vulnerabilities / CVE-2023-22946

critical

CVE-2023-22946

Apache Spark vulnerable to Improper Privilege Management

Published Modified CWE 269
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.9CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
GHSA10.0CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Bitnami10.0CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, GHSA, Bitnami.

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.

Affected packages and fixed versions

SourcePackageFixed in
bitnami::Bitnami Vulnerability Databasespark3.4.0
maven::GitHub Security Advisory Mavenorg.apache.spark:spark-core_2.12, org.apache.spark:spark-core_2.133.3.3
pip::GitHub Security Advisory pippyspark3.3.2
seal maven::Seal Security Databaseorg.apache.spark:spark-core_2.11, seal.sp1.org.apache.spark:spark-core_2.112.3.2+sp2p2 and 1 more
seal pip::Seal Security Databasepyspark, seal-pyspark2.4.8+sp999
Show all 8 entries from 5 sources
SourcePackageFixed in
bitnami::Bitnami Vulnerability Databasespark3.4.0
maven::GitHub Security Advisory Mavenorg.apache.spark:spark-core_2.123.3.3
maven::GitHub Security Advisory Mavenorg.apache.spark:spark-core_2.133.3.3
pip::GitHub Security Advisory pippyspark3.3.2
seal maven::Seal Security Databaseorg.apache.spark:spark-core_2.112.3.2+sp2p2
seal maven::Seal Security Databaseseal.sp1.org.apache.spark:spark-core_2.112.3.2+sp999
seal pip::Seal Security Databasepyspark2.4.8+sp999
seal pip::Seal Security Databaseseal-pyspark2.4.8+sp999

References

All 9 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.