{"cve":"CVE-2021-38296","nvd":{"published":"2022-03-10T09:15:07.000","modified":"2026-06-17T04:01:49.240","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-294"],"references":["https://lists.apache.org/thread/70x8fw2gx3g9ty7yk0f2f1dlpqml2smd","https://www.oracle.com/security-alerts/cpujul2022.html","https://lists.apache.org/thread/70x8fw2gx3g9ty7yk0f2f1dlpqml2smd","https://www.oracle.com/security-alerts/cpujul2022.html"],"products":["apache:spark","oracle:financial_services_crime_and_compliance_management_studio"],"source":"nvd","synced_at":"2026-10-19T21:28:04.509275555+00:00"},"epss":{"cve":"CVE-2021-38296","score":0.01845,"percentile":0.79048,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-9rr6-jpg7-9jg6","url":"https://osv.dev/vulnerability/GHSA-9rr6-jpg7-9jg6","summary":"Authentication Bypass by Capture-replay in Apache Spark","modified":"2024-10-25T21:03:01.673493Z","packages":[{"ecosystem":"Maven","name":"org.apache.spark:spark-core","purl":"pkg:maven/org.apache.spark/spark-core","ranges":["<3.1.3"],"fixed":["3.1.3"]},{"ecosystem":"PyPI","name":"pyspark","purl":"pkg:pypi/pyspark","ranges":["<3.1.3"],"fixed":["3.1.3"]}]},{"id":"PYSEC-2022-186","url":"https://osv.dev/vulnerability/PYSEC-2022-186","summary":"","modified":"2023-12-06T01:01:25.567486Z","packages":[{"ecosystem":"PyPI","name":"pyspark","purl":"pkg:pypi/pyspark","ranges":["<3.1.3"],"fixed":["3.1.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}