{"cve":"CVE-2022-33891","nvd":{"published":"2022-07-18T07:15:07.600","modified":"2026-06-17T04:49:25.943","status":"Analyzed","description":"The Apache Spark UI offers the possibility to enable ACLs via the configuration option spark.acls.enable. With an authentication filter, this checks whether a user has access permissions to view or modify the application. If ACLs are enabled, a code path in HttpSecurityFilter can allow someone to perform impersonation by providing an arbitrary user name. A malicious user might then be able to reach a permission check function that will ultimately build a Unix shell command based on their input, and execute it. This will result in arbitrary shell command execution as the user Spark is currently running as. This affects Apache Spark versions 3.0.3 and earlier, versions 3.1.1 to 3.1.2, and versions 3.2.0 to 3.2.1.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-78"],"references":["http://packetstormsecurity.com/files/168309/Apache-Spark-Unauthenticated-Command-Injection.html","http://www.openwall.com/lists/oss-security/2023/05/02/1","https://lists.apache.org/thread/p847l3kopoo5bjtmxrcwk21xp6tjxqlc","http://packetstormsecurity.com/files/168309/Apache-Spark-Unauthenticated-Command-Injection.html","http://www.openwall.com/lists/oss-security/2023/05/02/1"],"products":["apache:spark"],"source":"nvd","synced_at":"2026-10-19T21:33:44.859608815+00:00"},"epss":{"cve":"CVE-2022-33891","score":0.93244,"percentile":0.99835,"date":"2026-11-01"},"kev":{"cve":"CVE-2022-33891","date_added":"2023-03-07","due_date":"2023-03-28","vendor":"Apache","product":"Spark","known_ransomware":false},"osv":[{"id":"GHSA-4x9r-j582-cgr8","url":"https://osv.dev/vulnerability/GHSA-4x9r-j582-cgr8","summary":"Apache Spark UI can allow impersonation if ACLs enabled","modified":"2026-06-09T13:15:17.419178115Z","packages":[{"ecosystem":"Maven","name":"org.apache.spark:spark-parent_2.12","purl":"pkg:maven/org.apache.spark/spark-parent_2.12","ranges":["<=3.0.3"],"fixed":[]},{"ecosystem":"Maven","name":"org.apache.spark:spark-parent_2.12","purl":"pkg:maven/org.apache.spark/spark-parent_2.12","ranges":[">=3.1.1 <3.2.2"],"fixed":["3.2.2"]},{"ecosystem":"PyPI","name":"pyspark","purl":"pkg:pypi/pyspark","ranges":["<3.1.3"],"fixed":["3.1.3"]},{"ecosystem":"PyPI","name":"pyspark","purl":"pkg:pypi/pyspark","ranges":[">=3.2.0 <3.2.2"],"fixed":["3.2.2"]}]},{"id":"PYSEC-2022-236","url":"https://osv.dev/vulnerability/PYSEC-2022-236","summary":"","modified":"2026-06-08T10:15:10.715856081Z","packages":[{"ecosystem":"PyPI","name":"pyspark","purl":"pkg:pypi/pyspark","ranges":["<3.1.3",">=3.2.0 <3.2.2"],"fixed":["3.1.3","3.2.2"]}]}],"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."]}