ghsa-59hw-j9g6-mfg3
Vulnerability from github
8.7 (High) - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:N
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 issue was disclosed earlier as CVE-2022-33891, but incorrectly claimed version 3.1.3 (which has since gone EOL) would not be affected.
NOTE: This vulnerability only affects products that are no longer supported by the maintainer.
Users are recommended to upgrade to a supported version of Apache Spark, such as version 3.4.0.
{ "affected": [ { "package": { "ecosystem": "Maven", "name": "org.apache.spark:spark-parent_2.12" }, "ranges": [ { "events": [ { "introduced": "3.1.1" }, { "fixed": "3.2.2" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "PyPI", "name": "pyspark" }, "ranges": [ { "events": [ { "introduced": "3.1.1" }, { "fixed": "3.2.2" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2023-32007" ], "database_specific": { "cwe_ids": [ "CWE-77" ], "github_reviewed": true, "github_reviewed_at": "2023-05-02T16:51:05Z", "nvd_published_at": "2023-05-02T09:15:10Z", "severity": "HIGH" }, "details": "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 issue was disclosed earlier as CVE-2022-33891, but incorrectly claimed version 3.1.3 (which has since gone EOL) would not be affected.\n\nNOTE: This vulnerability only affects products that are no longer supported by the maintainer.\n\nUsers are recommended to upgrade to a supported version of Apache Spark, such as version 3.4.0.\n\n\n", "id": "GHSA-59hw-j9g6-mfg3", "modified": "2024-11-19T20:11:00Z", "published": "2023-05-02T09:30:17Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-32007" }, { "type": "PACKAGE", "url": "https://github.com/apache/spark" }, { "type": "WEB", "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyspark/PYSEC-2023-72.yaml" }, { "type": "WEB", "url": "https://lists.apache.org/thread/poxgnxhhnzz735kr1wos366l5vdbb0nv" }, { "type": "WEB", "url": "https://spark.apache.org/security.html" }, { "type": "WEB", "url": "https://www.cve.org/CVERecord?id=CVE-2022-33891" }, { "type": "WEB", "url": "https://www.openwall.com/lists/oss-security/2023/05/02/1" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "type": "CVSS_V3" }, { "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:N", "type": "CVSS_V4" } ], "summary": "Apache Spark UI vulnerable to Command Injection" }
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.