Advisory

PYSEC-2022-186

Also known as: BIT-spark-2021-38296, CVE-2021-38296, GHSA-9rr6-jpg7-9jg6

Summary

The record has no summary.

Details

Apache Spark supports end-to-end encryption of RPC connections via "spark.authenticate" and "spark.network.crypto.enabled". In versions 3.1.2 and earlier, it uses a bespoke mutual authentication protocol that allows for full encryption key recovery. After an initial interactive attack, this would allow someone to decrypt plaintext traffic offline. Note that this does not affect security mechanisms controlled by "spark.authenticate.enableSaslEncryption", "spark.io.encryption.enabled", "spark.ssl", "spark.ui.strictTransportSecurity". Update to Apache Spark 3.1.3 or later

Severity

Not rated by the source.

Dates

Published
2022-03-10 09:15 UTC
Modified
2023-12-06 01:01 UTC

Affected packages and fixes

pyspark

PyPI · All systems

Affected

  • introduced 0, fixed 3.1.3 (ecosystem)

Fixed versions

3.1.3

Fix

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

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