Apache Spark Key Negotiation Vulnerability
CVE-2021-38296

7.5HIGH

Key Information:

Vendor

Apache

Vendor
CVE Published:
10 March 2022

Key facts: CVE-2021-38296 is a high severity (CVSS 7.5) vulnerability in Apache Spark. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 1.6%, the estimated probability of exploitation in the next 30 days.

What is CVE-2021-38296?

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 Version(s)

Apache Spark up to and including version 3.1.2 <= 3.1.2

References

  • CVE-2026-133325: Key Exchange Vulnerability in Apache Tomcat Products by Apache(CRITICAL)
  • CVE-2026-116561: Improper Exception Management in Apache Tomcat Affects Multiple Versions(CRITICAL)
  • CVE-2026-129448: Deserialization Vulnerability in Apache Roller Affects Multiple Versions(CRITICAL)
  • CVE-2026-119618: Improper Synchronization Vulnerability in Apache HTTP Server's mod_http2(HIGH)
  • CVE-2026-90436: Deserialization Vulnerability in Apache Axis 1.x Allows Remote Code Execution(CRITICAL)
  • CVE-2026-121489: Path Traversal Vulnerability in Apache Juneau(CRITICAL)
  • CVE-2026-118636: Remote Code Execution Vulnerability in Apache MINA Codec Module(CRITICAL)
  • CVE-2026-64618: SQL Injection Vulnerability in Apache Fineract Affecting Specific API Endpoint(CRITICAL)
Browse all analysed vulnerabilities ›

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Steve Weis (Databricks)
.