High severityNVD Advisory· Published Mar 10, 2022· Updated Aug 4, 2024
Apache Spark Key Negotiation Vulnerability
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
4- 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- github.com/advisories/GHSA-9rr6-jpg7-9jg6ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-38296ghsaADVISORY
- github.com/pypa/advisory-database/tree/main/vulns/pyspark/PYSEC-2022-186.yamlghsaWEB
- lists.apache.org/thread/70x8fw2gx3g9ty7yk0f2f1dlpqml2smdghsax_refsource_MISCWEB
- www.oracle.com/security-alerts/cpujul2022.htmlghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.