GHSA-9rr6-jpg7-9jg6

Authentication Bypass by Capture-replay in Apache Spark

At a glance

Published
Updated
CVE
CVE-2021-38296
Aliases
BIT-spark-2021-38296, PYSEC-2022-186
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS_V4
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Description

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

Affected packages

PackageVersions
Maven · org.apache.spark:spark-coreintroduced 0, fixed 3.1.3
PyPI · pysparkintroduced 0, fixed 3.1.3

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database