Skip to content

CVE-2021-38296 Apache Spark Key Negotiation Vulnerability

HighCVSS 7.5 EPSS 1.8%
Published
Updated
Exploit status
No public exploit known

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

Upgrade path

5 packages: 4 fixed.

PackageAffectedFixed inStatus
Apache Spark >= up to and including version 3.1.2, <= 3.1.2 after 3.1.2 Fixed
apache spark < 3.1.3 3.1.3 Fixed
org.apache.spark/spark-core(Maven) < 3.1.3 3.1.3 Fixed
pypi pyspark(PyPI) < 3.1.3; = 2.1.1; = 2.1.2; = 2.1.3 +24 more 3.1.3 Fixed
oracle financial services crime and compliance management studio = 8.0.8.2.0; = 8.0.8.3.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
org.apache.spark/spark-core(Maven) < 3.1.3 3.1.3
pypi pyspark(PyPI) < 3.1.3 3.1.3
pypi pyspark(PyPI) = 2.1.1 No fix listed
pypi pyspark(PyPI) = 2.1.2 No fix listed
pypi pyspark(PyPI) = 2.1.3 No fix listed
pypi pyspark(PyPI) = 2.2.0 No fix listed
pypi pyspark(PyPI) = 2.2.1 No fix listed
pypi pyspark(PyPI) = 2.2.2 No fix listed
pypi pyspark(PyPI) = 2.2.3 No fix listed
pypi pyspark(PyPI) = 2.3.0 No fix listed
pypi pyspark(PyPI) = 2.3.1 No fix listed
pypi pyspark(PyPI) = 2.3.2 No fix listed
pypi pyspark(PyPI) = 2.3.3 No fix listed
pypi pyspark(PyPI) = 2.3.4 No fix listed
pypi pyspark(PyPI) = 2.4.0 No fix listed
pypi pyspark(PyPI) = 2.4.1 No fix listed
pypi pyspark(PyPI) = 2.4.2 No fix listed
pypi pyspark(PyPI) = 2.4.3 No fix listed
pypi pyspark(PyPI) = 2.4.4 No fix listed
pypi pyspark(PyPI) = 2.4.5 No fix listed
pypi pyspark(PyPI) = 2.4.6 No fix listed
pypi pyspark(PyPI) = 2.4.7 No fix listed
pypi pyspark(PyPI) = 2.4.8 No fix listed
pypi pyspark(PyPI) = 3.0.0 No fix listed
pypi pyspark(PyPI) = 3.0.1 No fix listed
Show 8 more
ProductAffected versionsFixed in
pypi pyspark(PyPI) = 3.0.2 No fix listed
pypi pyspark(PyPI) = 3.0.3 No fix listed
pypi pyspark(PyPI) = 3.1.1 No fix listed
pypi pyspark(PyPI) = 3.1.2 No fix listed
apache spark < 3.1.3 3.1.3
oracle financial services crime and compliance management studio = 8.0.8.2.0 No fix listed
oracle financial services crime and compliance management studio = 8.0.8.3.0 No fix listed
Apache Spark >= up to and including version 3.1.2, <= 3.1.2 No fix listed

References