From a50617e28c0d3206a3ba18ebd56c152645724046 Mon Sep 17 00:00:00 2001 From: "Mark J. Cox" Date: Mon, 18 Jul 2022 07:59:27 +0100 Subject: [PATCH] Apache Spark --- 2022/33xxx/CVE-2022-33891.json | 98 +++++++++++++++++++++++++++++++--- 1 file changed, 90 insertions(+), 8 deletions(-) diff --git a/2022/33xxx/CVE-2022-33891.json b/2022/33xxx/CVE-2022-33891.json index dcf427d871a..9f155d3d4ac 100644 --- a/2022/33xxx/CVE-2022-33891.json +++ b/2022/33xxx/CVE-2022-33891.json @@ -1,18 +1,100 @@ { - "data_type": "CVE", - "data_format": "MITRE", - "data_version": "4.0", "CVE_data_meta": { + "ASSIGNER": "security@apache.org", "ID": "CVE-2022-33891", - "ASSIGNER": "cve@mitre.org", - "STATE": "RESERVED" + "STATE": "PUBLIC", + "TITLE": "Apache Spark shell command injection vulnerability via Spark UI" }, + "affects": { + "vendor": { + "vendor_data": [ + { + "product": { + "product_data": [ + { + "product_name": "Apache Spark", + "version": { + "version_data": [ + { + "version_affected": "<=", + "version_name": "3.0.3 and earlier", + "version_value": "3.0.3" + }, + { + "version_affected": "<=", + "version_name": "3.1.1 to 3.1.2", + "version_value": "3.1.2" + }, + { + "version_affected": "<=", + "version_name": "3.2.0 to 3.2.1", + "version_value": "3.2.1" + } + ] + } + } + ] + }, + "vendor_name": "Apache Software Foundation" + } + ] + } + }, + "credit": [ + { + "lang": "eng", + "value": " Kostya Kortchinsky (Databricks)" + } + ], + "data_format": "MITRE", + "data_type": "CVE", + "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", - "value": "** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided." + "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." } ] - } -} \ No newline at end of file + }, + "generator": { + "engine": "Vulnogram 0.0.9" + }, + "impact": [ + { + "other": "important" + } + ], + "problemtype": { + "problemtype_data": [ + { + "description": [ + { + "lang": "eng", + "value": "CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')" + } + ] + } + ] + }, + "references": { + "reference_data": [ + { + "refsource": "CONFIRM", + "url": "https://lists.apache.org/thread/p847l3kopoo5bjtmxrcwk21xp6tjxqlc" + } + ] + }, + "source": { + "defect": [ + "SPARK-38992" + ], + "discovery": "UNKNOWN" + }, + "work_around": [ + { + "lang": "eng", + "value": "Upgrade to supported Apache Spark maintenance release 3.1.3, 3.2.2, or 3.3.0 or later" + } + ] +}