High severity7.5NVD Advisory· Published Mar 10, 2022· Updated Jun 17, 2026
CVE-2021-38296
CVE-2021-38296
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
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.apache.spark:spark-coreMaven | < 3.1.3 | 3.1.3 |
pysparkPyPI | < 3.1.3 | 3.1.3 |
Affected products
7cpe:2.3:a:oracle:financial_services_crime_and_compliance_management_studio:8.0.8.2.0:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:oracle:financial_services_crime_and_compliance_management_studio:8.0.8.2.0:*:*:*:*:*:*:*
- cpe:2.3:a:oracle:financial_services_crime_and_compliance_management_studio:8.0.8.3.0:*:*:*:*:*:*:*
- osv-coords3 versions
< 3.1.3+ 2 more
- (no CPE)range: < 3.1.3
- (no CPE)range: < 3.1.3
- (no CPE)range: < 3.1.3
- Apache Software Foundation/Apache Sparkv5Range: up to and including version 3.1.2
Patches
Vulnerability mechanics
References
5- www.oracle.com/security-alerts/cpujul2022.htmlnvdPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-9rr6-jpg7-9jg6ghsaADVISORY
- lists.apache.org/thread/70x8fw2gx3g9ty7yk0f2f1dlpqml2smdnvdMailing ListVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2021-38296ghsaADVISORY
- github.com/pypa/advisory-database/tree/main/vulns/pyspark/PYSEC-2022-186.yamlghsaWEB
News mentions
0No linked articles in our index yet.