CVE-2023-22946 — Vulnerability in org.apache.spark:spark-core_2.12...
Apache Spark vulnerable to Improper Privilege Management
Summary
Advisory Timeline
- First published April 17, 2023 (1274 days ago).
- Last revised October 15, 2024 — 547 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 3.3.3 for org.apache.spark:spark-core_2.12 -->
<!-- Update pom.xml dependency version to 3.3.3 for org.apache.spark:spark-core_2.13 -->
pip install "pyspark>=3.3.2"
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 2 ecosystems: maven (2), pypi (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| org.apache.spark:spark-core_2.12 | maven | 2.4.0, 2.4.1, 2.4.2, 2.4.3 (+23 more) | 3.3.3 |
| org.apache.spark:spark-core_2.13 | maven | 3.2.0, 3.2.1, 3.2.2, 3.2.3 (+4 more) | 3.3.3 |
| pyspark | pypi | 2.1.1, 2.1.2, 2.1.3, 2.2.0 (+31 more) | 3.3.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-269Improper Privilege ManagementMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.9 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-22946ADVISORY
- https://github.com/apache/spark/pull/39474WEB
- https://github.com/apache/spark/pull/41428WEB
- https://github.com/apache/spark/commit/909da96e1471886a01a9e1def93630c4fd40e74aWEB
- https://github.com/degant/spark/commit/bfba57724d2520e0fcaa7990f7257c21d11cd75aWEB
- https://github.com/apache/sparkPACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/pyspark/PYSEC-2023-44.yamlWEB
- https://issues.apache.org/jira/browse/SPARK-41958WEB
- https://lists.apache.org/thread/yllfl25xh5tbotjmg93zrq4bzwhqc0gvWEB
Frequently Asked Questions
- What is CVE-2023-22946?
- Apache Spark vulnerable to Improper Privilege Management This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.9/10).
- How do I check if my project is affected by CVE-2023-22946?
- CVE-2023-22946 affects org.apache.spark:spark-core_2.12, org.apache.spark:spark-core_2.13 and pyspark. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-22946 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2026-107726CRITICAL
Hazelcast allows arbitrary member memory access by low-privileged client
- CVE-2026-61445CRITICAL
PraisonAI: AICoder Arbitrary File Write and Command Execution via LLM Tool Calls
- CVE-2025-54920HIGH
Apache Spark: Spark History Server Code Execution Vulnerability
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies