high7.5
CVE-2021-38296
Authentication Bypass by Capture-replay in Apache Spark
Impact
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
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.apache.spark:spark-core | < 3.1.3 | 3.1.3 |
| pip | pyspark | < 3.1.3 | 3.1.3 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Apache | Spark | before 3.1.3 |
| Oracle | Financial Services Crime And Compliance Management Studio | Versions 8.0.8.2.0, 8.0.8.3.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://lists.apache.org/thread/70x8fw2gx3g9ty7yk0f2f1dlpqml2smd
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://github.com/advisories/GHSA-9rr6-jpg7-9jg6
- https://nvd.nist.gov/vuln/detail/CVE-2021-38296
- https://github.com/pypa/advisory-database/tree/main/vulns/pyspark/PYSEC-2022-186.yaml