Skip to content
Apache SparkGHSA-9rr6-jpg7-9jg6

Authentication Bypass by Capture-replay in Apache Spark

High7.5CVE-2021-38296 · Published Mar 11, 2022 · updated Oct 25, 2024

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

GitHub advisory

Affected versions

PackageAffectedFixed in
pyspark
PyPI
< 3.1.33.1.3
Details and references

More Apache Spark advisories

All Apache Spark
Advisory
Apache Spark UI vulnerable to Command Injection
High8.8May 2, 2023
Apache Spark vulnerable to Improper Privilege Management
Critical9.9Apr 17, 2023
Apache Spark vulnerable to Log Injection
Medium5.4Nov 1, 2022
Apache Spark UI can allow impersonation if ACLs enabled
High8.8Jul 19, 2022
Improper Authentication in Apache Spark
Critical9.8Feb 10, 2022
Sensitive data written to disk unencrypted in Spark
High7.5Aug 8, 2019

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.