Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2021-38296

Authentication Bypass by Capture-replay in Apache Spark

Overview

Published
10 Mar 2022
Modified
17 Jun 2026
High CVE
5 Registry packages
0 OS packages
0 Linux distributions
Yes Fix available

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

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Weakness: CWE-294

Affected packages · 5

Packages affected by CVE-2021-38296
EcosystemPackageVulnerableFixed in
Bitnami spark <3.1.3 3.1.3
Maven org.apache.spark:spark-core <3.1.3 3.1.3
PyPI pyspark <3.1.3 3.1.3
Seal PyPI pyspark >=2.4.8+sp0, <2.4.8+sp999 2.4.8+sp999
Seal PyPI seal-pyspark >=2.4.8+sp1, <2.4.8+sp999 2.4.8+sp999

Open a package to see all its vulnerabilities.

Operating systems

No Linux distribution reports this ID.

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.