CVE-2021-38296: apache software foundation apache spark Authentication Bypass by Capture-replay
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.85% chance of exploitation in the next 30 days, higher than 78.6% of scored vulnerabilities.
Timeline
- 10-03-2022PublishedVulnerability first disclosed.
- 04-08-2024Last 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- OSV · MavenEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
- OSV · PypiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · MavenEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
1.85%
Chance of exploitation in the next 30 days
Percentile
79%
Versus all other CVEs
30-day change
0.00 pp
From 1.85% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Apache1 product
- spark< 3.1.3
Apache software foundation1 product
- apache spark≥ up to and including version 3.1.2, ≤ 3.1.2
Oracle1 product
- financial_services_crime_and_compliance_management_studio8.0.8.2.0 | 8.0.8.3.0
Org.apache.spark1 product
- spark-core< 3.1.3
PyPI1 product
- pyspark< 3.1.3
5 vendors · 5 products
References
5 links- lists.apache.org/thread/70x8fw2gx3g9ty7yk0f2f1dlpqml2smdX Refsource MISCWEBMailing ListVendor Advisory