HIGH 7.5

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

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.spark » spark-core
< 3.1.3
3.1.3

Blast radius

1affected artifacts
6,816affected versions
2,424dependent artifacts (est.)
189,447dependent versions

53% of the dependent artifacts (1,289) still pull an affected version in their latest release.

DepthDependent versions
Direct
96,880
2 hops
42,841
3 hops
35,090
4 hops
10,060
5 hops
4,141
6 hops
435

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

Other ecosystems

Also affects PyPI (1 package) . See all on OSV