CVE-2021-38296

Apache Spark Key Negotiation Vulnerability

Published Mar 10, 2022 CVSS 3.1 · 7.5 High EPSS 1.8% KEV · Not listed
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

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-0216 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 GHSA Github GHSA GHSA-9rr6-jpg7-9jg6 Authentication Bypass by Capture-replay in Apache Spark
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00698}

epss

{'score': 0.00813}

Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Aug 4, 2024, 1:37 AM
Reserved
Aug 9, 2021, 12:00 AM
Status
Modified
Published
Mar 10, 2022, 9:15 AM
Modified
Jun 17, 2026, 4:01 AM