CVE-2021-38296
HIGH 7.5CVSS 3.1Authentication Bypass by Capture-replay in Apache Spark
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
- Published
- 10 Mar 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-294
- Also known as
- BIT-spark-2021-38296GHSA-9rr6-jpg7-9jg6PYSEC-2022-186
- Sources
- NVDJSONOSV GHSA-9rr6-jpg7-9jg6JSONOSV PYSEC-2022-186JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | sparkcpe:2.3:a:apache:spark:*:*:*:*:*:*:*:* |
< 3.1.3 | 3.1.3 |
| NVD | oracle | financial_services_crime_and_compliance_management_studiocpe:2.3:a:oracle:financial_services_crime_and_compliance_management_studio:8.0.8.2.0:*:*:*:*:*:*:* |
= 8.0.8.2.0 | |
| NVD | oracle | financial_services_crime_and_compliance_management_studiocpe:2.3:a:oracle:financial_services_crime_and_compliance_management_studio:8.0.8.3.0:*:*:*:*:*:*:* |
= 8.0.8.3.0 | |
| OSV | Maven | org.apache.spark:spark-core | < 3.1.3 | 3.1.3 |
| OSV | PyPI | pyspark | < 3.1.3 | 3.1.3 |
References
- https://lists.apache.org/thread/70x8fw2gx3g9ty7yk0f2f1dlpqml2smd · Mailing List, Vendor Advisory, WEB
- https://www.oracle.com/security-alerts/cpujul2022.html · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-38296 · ADVISORY
- https://github.com/advisories/GHSA-9rr6-jpg7-9jg6 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/pyspark/PYSEC-2022-186.yaml · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 10 Mar 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Mar 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 11 Mar 2022)