{"id":"BIT-spark-2023-22946","summary":"Apache Spark proxy-user privilege escalation from malicious configuration class","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.\n\nUpdate to Apache Spark 3.4.0 or later, and ensure that \nspark.submit.proxyUser.allowCustomClasspathInClusterMode is set to its \ndefault of \"false\", and is not overridden by submitted applications.","aliases":["CVE-2023-22946","GHSA-329j-jfvr-rhr6","PYSEC-2023-44"],"modified":"2026-09-08T08:48:19.475119723Z","published":"2024-03-06T11:05:18.484Z","database_specific":{"cpes":["cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:*"],"severity":"Critical"},"references":[{"type":"ADVISORY","url":"https://lists.apache.org/thread/yllfl25xh5tbotjmg93zrq4bzwhqc0gv"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22946"}],"affected":[{"package":{"name":"spark","ecosystem":"Bitnami","purl":"pkg:bitnami/spark"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.4.0"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/spark/BIT-spark-2023-22946.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"}]}],"schema_version":"1.9.0"}