WaratekVRT Sign in

CVE-2021-38296 Apache Spark

Affected softwareApache Spark
Severity7.5 High CVSS 3.1 2 scores
Fixed in3.1.3
WeaknessCWE-294
Published10 Mar 2022
Updated17 Jun 2026

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

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 4 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 1.8% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.

CVSS

7.5 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 7.5 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N NVD Primary published
CVSS 2.0 5.0 none AV:N/AC:L/Au:N/C:P/I:N/A:N NVD Primary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update July 2022 ↗ CPU 2022-Q3 Oracle Financial Services Applications / Studio (Apache Spark) (8.0.8.2.0, 8.0.8.3.0)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Financial Services Applications Studio (Apache Spark) 8.0.8.2.0, 8.0.8.3.0 8.0.8.2.0 · 8.0.8.3.0

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.spark:spark-core 0 3.1.3 unbounded

Products and versions

3 products, 4 version entries
SourceVendorProductSchemeAffected versions
nvd apache spark generic < 3.1.3
nvd oracle financial services crime and compliance management studio generic 8.0.8.2.0 · 8.0.8.3.0
osv org.apache.spark spark-core generic < 3.1.3

References

URLTags
https://github.com/advisories/GHSA-9rr6-jpg7-9jg6 ADVISORY
https://github.com/pypa/advisory-database/tree/main/vulns/pyspark/PYSEC-2022-186.yaml WEB
https://lists.apache.org/thread/70x8fw2gx3g9ty7yk0f2f1dlpqml2smd WEB
https://www.oracle.com/security-alerts/cpujul2022.html WEB

Timeline

Published2022-03-10By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.