Skip to content
OpenAdvisories
High · 7.5 CVE-2021-38296 BIT-spark-2021-38296EUVD-2022-0216GHSA-9rr6-jpg7-9jg6PYSEC-2022-186

Apache Spark Key Negotiation Vulnerability

Published Mar 10, 2022 · Updated Aug 4, 2024 · Assigned by apache

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 products

VendorProductAffectedFixed
Apache Software Foundation Apache Spark up to and including version 3.1.2 – ≤ 3.1.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.spark:spark-core < 3.1.3 3.1.3 GHSA-9rr6-jpg7-9jg6
PyPI pyspark < 3.1.3 3.1.3 PYSEC-2022-186

References