CVE-2021-38296
publishedApache Spark Key Negotiation Vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache Sparkup to and including version 3.1.2 through 3.1.2 | Affected | Not stated | 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
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Spark | up to and including version 3.1.2 through 3.1.2 (affected · custom) | apache · cna |
Weaknesses
1- CWE-294 CWE-294 Authentication Bypass by Capture-replay
References
2Provider assertions
2apache · cna
Apache Spark Key Negotiation Vulnerability
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- cdc408879304a475aebc145d6184d128a6e5eb178908cf2b21c99070e1cd95c4
- Ingested
- 23 Sep 2026, 07:55:29 UTC
- Source record
- Official CVE record