{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"state":"PUBLISHED","cveId":"CVE-2022-33891","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","assignerShortName":"apache","dateUpdated":"2025-10-21T23:15:38.160Z","dateReserved":"2022-06-17T00:00:00.000Z","datePublished":"2022-07-18T00:00:00.000Z"},"containers":{"cna":{"affected":[{"product":"Apache Spark","vendor":"Apache Software Foundation","versions":[{"lessThanOrEqual":"3.0.3","status":"affected","version":"3.0.3 and earlier","versionType":"custom"},{"lessThanOrEqual":"3.1.2","status":"affected","version":"3.1.1 to 3.1.2","versionType":"custom"},{"lessThanOrEqual":"3.2.1","status":"affected","version":"3.2.0 to 3.2.1","versionType":"custom"}]}],"credits":[{"lang":"en","value":"Kostya Kortchinsky (Databricks)"}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"other":{"content":{"other":"important"},"type":"unknown"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","description":"CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","shortName":"apache","dateUpdated":"2023-07-25T08:13:36.397Z"},"references":[{"url":"https://lists.apache.org/thread/p847l3kopoo5bjtmxrcwk21xp6tjxqlc"},{"url":"http://packetstormsecurity.com/files/168309/Apache-Spark-Unauthenticated-Command-Injection.html"},{"name":"[oss-security] 20230502 CVE-2023-32007: Apache Spark: Shell command injection via Spark UI","tags":["mailing-list"],"url":"http://www.openwall.com/lists/oss-security/2023/05/02/1"}],"source":{"defect":["SPARK-38992"],"discovery":"UNKNOWN"},"title":"Apache Spark shell command injection vulnerability via Spark UI","workarounds":[{"lang":"en","value":"Upgrade to supported Apache Spark maintenance release 3.1.3, 3.2.2, or 3.3.0 or later"}],"x_generator":{"engine":"Vulnogram 0.0.9"}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T08:09:22.687Z"},"title":"CVE Program Container","references":[{"url":"https://lists.apache.org/thread/p847l3kopoo5bjtmxrcwk21xp6tjxqlc","tags":["x_transferred"]},{"url":"http://packetstormsecurity.com/files/168309/Apache-Spark-Unauthenticated-Command-Injection.html","tags":["x_transferred"]},{"name":"[oss-security] 20230502 CVE-2023-32007: Apache Spark: Shell command injection via Spark UI","tags":["mailing-list","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2023/05/02/1"}]},{"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":8.8,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"id":"CVE-2022-33891","role":"CISA Coordinator","options":[{"Exploitation":"active"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2025-02-04T14:13:50.936095Z"}}},{"other":{"type":"kev","content":{"dateAdded":"2023-03-07","reference":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-33891"}}}],"references":[{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-33891","tags":["government-resource"]}],"timeline":[{"time":"2023-03-07T00:00:00.000Z","lang":"en","value":"CVE-2022-33891 added to CISA KEV"}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-10-21T23:15:38.160Z"}}]}}