AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

Apache SparkGHSA-wgx7-jwwm-cgjv

Improper Authentication in Apache Spark

Apache Spark

CVE-2020-9480 · Published Feb 10, 2022 · updated Oct 15, 2024

Critical9.8
Fix: upgrade to 2.4.6 or later
GitHub advisory

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 versions

PackageAffectedFixed in
pyspark
PyPI
< 2.4.62.4.6
Details and references

More Apache Spark advisories

All Apache Spark