CVE-2021-38296
Authentication Bypass by Capture-replay in Apache Spark
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
How to fix CVE-2021-38296
To remediate CVE-2021-38296, upgrade the affected package to a fixed version below.
- —upgrade to 3.1.3 or later
- —upgrade to 3.1.3 or later
- —upgrade to 3.1.3 or later
- —upgrade to 3.1.3 or later
Is CVE-2021-38296 being exploited?
Low — EPSS is 2.1%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 3.1.3
- from 0, < 3.1.3
- from 0, < 3.1.3
- from 0, < 3.1.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | 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 |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |