{"id":"CVE-2023-22946","published":"2023-04-17T07:30:19Z","modified":"2024-10-21T15:06:58Z","title":"Apache Spark proxy-user privilege escalation from malicious configuration class","vendor":"Apache","product":"Apache Spark","tier":"tail","description":{"text":"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.\n\n\n","provenance":"source","from":"CVE.org"},"cvss":{"score":6.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01109,"percentile":0.66689,"provenance":"source"},"cwes":[{"id":"CWE-269","name":"Improper Privilege Management"}],"references":[{"url":"https://lists.apache.org/thread/yllfl25xh5tbotjmg93zrq4bzwhqc0gv","tags":["vendor-advisory"]}],"priority":{"score":17.8,"factors":[{"name":"EPSS percentile","points":13.34},{"name":"CVSS severity","points":4.48}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Spark","versions":["< 3.4.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-21T15:06:49.411118Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.apache.spark:spark-core_2.12","vulnerableRanges":["<3.3.3"],"patched":["3.3.3"],"from":["GHSA-329j-jfvr-rhr6"],"provenance":"source"},{"ecosystem":"Maven","package":"org.apache.spark:spark-core_2.13","vulnerableRanges":["<3.3.3"],"patched":["3.3.3"],"from":["GHSA-329j-jfvr-rhr6"],"provenance":"source"},{"ecosystem":"PyPI","package":"pyspark","vulnerableRanges":["<3.3.2","<3.4.0"],"patched":["3.3.2","3.4.0"],"from":["GHSA-329j-jfvr-rhr6","PYSEC-2023-44"],"provenance":"source"}],"summary":{"text":"Apache Spark (before 3.4.0) contains a flaw in its spark-submit proxy-user handling, which lets an application run under a specified proxy user with limited privileges. Architectures that rely on proxy-user, such as those managing submitted applications through Apache Livy, are affected. An attacker who can submit an application that supplies malicious configuration-related classes on the classpath can execute code with the privileges of the submitting user, with low privileges required and no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:43:02Z"},"euvd":{"id":"EUVD-2023-0219","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-33891","published":"2022-07-18","fixed":"3.2.2","kev":true},{"cve":"CVE-2023-32007","published":"2023-05-02","fixed":"3.2.2","kev":false},{"cve":"CVE-2022-31777","published":"2022-11-01","fixed":"3.3.1","kev":false,"link":{"from":"CVE-2022-31777","to":"CVE-2023-22946","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pyspark","fromFixed":"3.3.1","toFixed":"3.3.2","daysApart":167},{"kind":"version-step","provenance":"source","package":"Maven:org.apache.spark:spark-core_2.13","fromFixed":"3.3.1","toFixed":"3.3.3","daysApart":167}]}},{"cve":"CVE-2023-22946","published":"2023-04-17","fixed":"3.4.0","kev":false},{"cve":"CVE-2025-55039","published":"2025-10-15","fixed":"3.5.2","kev":false},{"cve":"CVE-2026-32773","published":"2026-09-02","fixed":"3.5.8","kev":false}],"package":"PyPI:pyspark"}}