{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-33891","published":"2022-07-18T07:15:07.600000Z","last_modified":"2026-06-17T04:49:25.943000Z","status":"Analyzed","cvss":{"version":"3.1","score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-78"],"cpes":[{"criteria":"cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"spark","version_end_including":"3.0.3"},{"criteria":"cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"spark","version_start_including":"3.1.1","version_end_including":"3.1.2"},{"criteria":"cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"spark","version_start_including":"3.2.0","version_end_including":"3.2.1"}],"cpes_truncated":false,"vendors":["apache"],"products":["apache/spark"],"ssvc":{"exploitation":"active","automatable":"no","technical_impact":"total"},"kev":{"date_added":"2023-03-07","due_date":"2023-03-28","ransomware":false,"forensic_triage":false,"cwes":["CWE-78"]},"epss":{"score":0.82004,"percentile":0.99764,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-4x9r-j582-cgr8","ecosystem":"Maven","name":"org.apache.spark:spark-parent_2.12","purl":"pkg:maven/org.apache.spark/spark-parent_2.12","ranges":[{"introduced":"0","last_affected":"3.0.3"}],"versions":["2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.4.5","2.4.6","2.4.7","2.4.8","3.0.0","3.0.0-preview","3.0.0-preview2","3.0.1","3.0.2","3.0.3"],"versions_truncated":false},{"advisory":"GHSA-4x9r-j582-cgr8","ecosystem":"Maven","name":"org.apache.spark:spark-parent_2.12","purl":"pkg:maven/org.apache.spark/spark-parent_2.12","ranges":[{"introduced":"3.1.1","fixed":"3.2.2"}],"versions":["3.1.1","3.1.2","3.1.3","3.2.0","3.2.1"],"versions_truncated":false},{"advisory":"GHSA-4x9r-j582-cgr8","ecosystem":"PyPI","name":"pyspark","purl":"pkg:pypi/pyspark","ranges":[{"introduced":"0","fixed":"3.1.3"}],"versions":["2.1.1","2.1.2","2.1.3","2.2.0","2.2.1","2.2.2","2.2.3","2.3.0","2.3.1","2.3.2","2.3.3","2.3.4","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.4.5","2.4.6","2.4.7","2.4.8","3.0.0","3.0.1","3.0.2","3.0.3","3.1.1","3.1.2"],"versions_truncated":false},{"advisory":"GHSA-4x9r-j582-cgr8","ecosystem":"PyPI","name":"pyspark","purl":"pkg:pypi/pyspark","ranges":[{"introduced":"3.2.0","fixed":"3.2.2"}],"versions":["3.2.0","3.2.1"],"versions_truncated":false},{"advisory":"PYSEC-2022-236","ecosystem":"PyPI","name":"pyspark","purl":"pkg:pypi/pyspark","ranges":[{"introduced":"0","fixed":"3.1.3"},{"introduced":"3.2.0","fixed":"3.2.2"}],"versions":["2.1.1","2.1.2","2.1.3","2.2.0","2.2.1","2.2.2","2.2.3","2.3.0","2.3.1","2.3.2","2.3.3","2.3.4","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.4.5","2.4.6","2.4.7","2.4.8","3.0.0","3.0.1","3.0.2","3.0.3","3.1.1","3.1.2","3.2.0","3.2.1"],"versions_truncated":false}],"severity":"high","priority_score":61,"links":{"html_es":"/es/cve/CVE-2022-33891/","html_en":"/en/cve/CVE-2022-33891/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-33891","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-33891"},"untrusted":{"vendor_name":"Apache","product_name":"Spark","desc_en":"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.","affected":[{"untrusted_vendor":"Apache Software Foundation","untrusted_product":"Apache Spark"}],"kev":{"vendor":"Apache","product":"Spark","name":"Apache Spark Command Injection Vulnerability","desc":"Apache Spark contains a command injection vulnerability via Spark User Interface (UI) when Access Control Lists (ACLs) are enabled.","action":"Apply updates per vendor instructions.","notes":"https://lists.apache.org/thread/p847l3kopoo5bjtmxrcwk21xp6tjxqlc;  https://nvd.nist.gov/vuln/detail/CVE-2022-33891"},"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"e254fd49ea6f49af14504a11ebdf9a4b","generated":"2026-11-26T23:21:02.842538Z","es":{"untrusted_title":"Inyección de comandos en Apache Spark UI con ACLs habilitados","untrusted_summary":"Apache Spark permite la ejecución de comandos shell arbitrarios a través de la interfaz web cuando las ACLs están habilitadas. Un usuario autenticado puede suplantar identidades y ejecutar comandos con los permisos del proceso Spark. CISA confirmó que esta vulnerabilidad está siendo explotada activamente."},"en":{"untrusted_title":"Command Injection in Apache Spark UI with ACLs Enabled","untrusted_summary":"Apache Spark allows arbitrary shell command execution through the web interface when ACLs are enabled. An authenticated user can impersonate other users and execute commands with Spark process privileges. CISA confirmed this vulnerability is actively exploited."},"remediation":{"status":"fix","fixed_versions":["3.1.3","3.2.2"],"untrusted_action_es":"Actualiza Apache Spark a versión 3.0.4, 3.1.3, 3.2.2 o posterior. Si no puedes actualizar, deshabilita spark.acls.enable en la configuración.","untrusted_action_en":"Update Apache Spark to version 3.0.4, 3.1.3, 3.2.2 or later. If you cannot update, disable spark.acls.enable in the configuration.","vendor_url":"https://lists.apache.org/thread/p847l3kopoo5bjtmxrcwk21xp6tjxqlc"},"reviewed":false},"references":[{"url":"http://packetstormsecurity.com/files/168309/Apache-Spark-Unauthenticated-Command-Injection.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://www.openwall.com/lists/oss-security/2023/05/02/1","tags":["Mailing List","Third Party Advisory"]},{"url":"https://lists.apache.org/thread/p847l3kopoo5bjtmxrcwk21xp6tjxqlc","tags":["Mailing List","Third Party Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-33891","tags":["Third Party Advisory","US Government Resource"]}]}}