CVE-2023-22946

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-22946
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-22946.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-22946
Aliases
Published
2023-04-17T08:15:07Z
Modified
2024-10-12T10:42:16.474461Z
Severity
  • 9.9 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/apache/spark

Affected ranges

Type
GIT
Repo
https://github.com/apache/spark
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.3-scala-2.8
0.3-scala-2.9

alpha-0.*

alpha-0.1
alpha-0.2

v0.*

v0.5.0
v0.5.1
v0.6.0
v0.7.0

v3.*

v3.0.0-preview
v3.0.0-preview-rc1
v3.0.0-preview-rc2
v3.4.0-rc1
v3.4.0-rc2
v3.4.0-rc4
v3.4.0-rc5
v3.4.0-rc6