Skip to main content
← All vulnerabilities
CVE-2021-38296PYSEC-2022-186BIT-SPARK-2021-38296GHSA-9RR6-JPG7-9JG6

Apache Spark Key Negotiation Vulnerability

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.1.3
None on Exploit-DB, Metasploit or GitHub

Summary

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

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Apache Software Foundation Apache Spark

    through 3.1.2

  • pysparkPyPI

    fixed in 3.1.3

  • org.apache.spark:spark-coreMaven

    fixed in 3.1.3

References 2

lists.apache.org

oracle.com