Advisory

PYSEC-2020-95

Also known as: BIT-spark-2020-9480, CVE-2020-9480, GHSA-wgx7-jwwm-cgjv

Summary

The record has no summary.

Details

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).

Severity

Not rated by the source.

Dates

Published
2020-06-23 22:15 UTC
Modified
2026-06-10 17:01 UTC

Affected packages and fixes

pyspark

PyPI · All systems

Affected

  • introduced 0, fixed 2.4.6 (ecosystem)

Fixed versions

2.4.6

Fix

  • Fixed version 2.4.6
    pip install --upgrade pyspark==2.4.6

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences