{"cve":"CVE-2023-22946","nvd":{"published":"2023-04-17T08:15:07.790","modified":"2026-06-17T05:36:28.993","status":"Modified","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.\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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9},"cwes":["CWE-269"],"references":["https://lists.apache.org/thread/yllfl25xh5tbotjmg93zrq4bzwhqc0gv","https://lists.apache.org/thread/yllfl25xh5tbotjmg93zrq4bzwhqc0gv"],"products":["apache:spark"],"source":"nvd","synced_at":"2026-10-19T21:38:05.473481323+00:00"},"epss":{"cve":"CVE-2023-22946","score":0.01109,"percentile":0.65891,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-329j-jfvr-rhr6","url":"https://osv.dev/vulnerability/GHSA-329j-jfvr-rhr6","summary":"Apache Spark vulnerable to Improper Privilege Management","modified":"2024-10-15T18:49:31.436249Z","packages":[{"ecosystem":"Maven","name":"org.apache.spark:spark-core_2.12","purl":"pkg:maven/org.apache.spark/spark-core_2.12","ranges":["<3.3.3"],"fixed":["3.3.3"]},{"ecosystem":"Maven","name":"org.apache.spark:spark-core_2.13","purl":"pkg:maven/org.apache.spark/spark-core_2.13","ranges":["<3.3.3"],"fixed":["3.3.3"]},{"ecosystem":"PyPI","name":"pyspark","purl":"pkg:pypi/pyspark","ranges":["<3.3.2"],"fixed":["3.3.2"]}]},{"id":"PYSEC-2023-44","url":"https://osv.dev/vulnerability/PYSEC-2023-44","summary":"","modified":"2026-06-10T17:01:37.151759446Z","packages":[{"ecosystem":"PyPI","name":"pyspark","purl":"pkg:pypi/pyspark","ranges":["<3.4.0"],"fixed":["3.4.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}