CVE-2020-9480
Improper Authentication in Apache Spark
Also known as BIT-spark-2020-9480, GHSA-wgx7-jwwm-cgjv, PYSEC-2020-95
Mitigation
- Upgrade pyspark to 2.4.6 or later.
- Upgrade org.apache.spark:spark-parent_2.11 to 2.4.6 or later.
Who should check
- Projects that depend on PyPI package pyspark (< 2.4.6)
- Projects that depend on Maven package org.apache.spark:spark-parent_2.11 (< 2.4.6)
- Anyone running Apache Software Foundation Apache Spark Apache Spark 2.4.5 and earlier
Vulnerability facts
- Affected
- pyspark < 2.4.6; org.apache.spark:spark-parent_2.11 < 2.4.6
- Fixed in
- 2.4.6
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 30.20% chance of exploitation in 30 days (percentile 99, 2026-11-26)
- CWE
- CWE-306
- Modified
Description
In Apache Spark 2.4.5 and earlier, a standalone resource manager's master may be configured to require authentication (spark.authenticate) via a shared secret. When enabled, however, a specially-crafted RPC to the master can succeed in starting an application's resources on the Spark cluster, even without the shared key. This can be leveraged to execute shell commands on the host machine. This does not affect Spark clusters using other resource managers (YARN, Mesos, etc).
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| PyPI pyspark | < 2.4.6 | 2.4.6 | osv |
| Maven org.apache.spark:spark-parent_2.11 | < 2.4.6 | 2.4.6 | osv |
| Apache Software Foundation Apache Spark | Apache Spark 2.4.5 and earlier | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2020-9480. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2020-9480.md Affected: pyspark < 2.4.6; org.apache.spark:spark-parent_2.11 < 2.4.6 Fixed in: 2.4.6 Steps: 1. Search this machine and project for pyspark (PyPI), org.apache.spark:spark-parent_2.11 (Maven), Apache Software Foundation Apache Spark: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Other
- https://lists.apache.org/thread.html/r03ad9fe7c07d6039fba9f2152d345274473cb0af3d8a4794a6645f4b%40%3Cuser.spark.apache.org%3E
- https://lists.apache.org/thread.html/ree9e87aae81852330290a478692e36ea6db47a52a694545c7d66e3e2%40%3Cdev.spark.apache.org%3E
- https://lists.apache.org/thread.html/rb3956440747e41940d552d377d50b144b60085e7ff727adb0e575d8d%40%3Ccommits.submarine.apache.org%3E
- https://lists.apache.org/thread.html/ra0e62a18ad080c4ce6df5e0202a27eaada75222761efc3f7238b5a3b%40%3Ccommits.doris.apache.org%3E
- https://lists.apache.org/thread.html/ree9e87aae81852330290a478692e36ea6db47a52a694545c7d66e3e2@%3Cdev.spark.apache.org%3E
- https://lists.apache.org/thread.html/r03ad9fe7c07d6039fba9f2152d345274473cb0af3d8a4794a6645f4b@%3Cuser.spark.apache.org%3E
- https://lists.apache.org/thread.html/rb3956440747e41940d552d377d50b144b60085e7ff727adb0e575d8d@%3Ccommits.submarine.apache.org%3E
- https://lists.apache.org/thread.html/ra0e62a18ad080c4ce6df5e0202a27eaada75222761efc3f7238b5a3b@%3Ccommits.doris.apache.org%3E
- https://github.com/pypa/advisory-database/tree/main/vulns/pyspark/PYSEC-2020-95.yaml
FAQ
Is CVE-2020-9480 being exploited?
There is no confirmed exploitation: CVE-2020-9480 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 30.20% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2020-9480?
Critical: CVSS 9.8 (v3.1, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2020-9480?
pyspark < 2.4.6; org.apache.spark:spark-parent_2.11 < 2.4.6.
Is there a fix for CVE-2020-9480?
Yes. Fixed in 2.4.6. Upgrade pyspark to 2.4.6 or later. Upgrade org.apache.spark:spark-parent_2.11 to 2.4.6 or later.
How do I check if I'm affected by CVE-2020-9480?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.