Advisory

GHSA-wgx7-jwwm-cgjv

Also known as: BIT-spark-2020-9480, CVE-2020-9480, PYSEC-2020-95

Summary

Improper Authentication in Apache Spark

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

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-02-10 23:05 UTC
Modified
2024-10-15 16:40 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences