7.5

CVE-2021-38296: Apache Spark Key Negotiation Vulnerability

Modified
AliasesGHSA-9rr6-jpg7-9jg6BIT-spark-2021-38296PYSEC-2022-186
Published 10-03-2022Last modified 04-08-2024

Vulnerability summary

CVE-2021-38296 is a high (CVSS 7.5) Authentication Bypass by Capture-replay vulnerability in apache software foundation apache spark. EPSS estimates a 1.61% chance of exploitation in the next 30 days, higher than 76.7% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
1.61%
0%100%
Low · -0.23 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 10-03-2022
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

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

CVSS metrics

6 scores · 3 sources · 3 versions

EPSS trend

Probability

1.61%

Chance of exploitation in the next 30 days

Percentile

77%

Versus all other CVEs

30-day change

Decrease -0.23 pp

From 1.85% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Apache1 product
Apache software foundation1 product
  • apache spark≥ up to and including version 3.1.2, ≤ 3.1.2
Oracle1 product
Org.apache.spark1 product
  • spark-core< 3.1.3
PyPI1 product
  • pyspark< 3.1.3

5 vendors · 5 products

References

5 links