Live threats

All CVEs / Apache

CVE-2021-38296Apache Spark

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.6%
probability of exploitation in 30 days · percentile 76
Auth required
No
Published
Mar 10, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-294
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Spark.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.spark:spark-core < 3.1.3 3.1.3 —
PyPI pyspark < 3.1.3 3.1.3 pip install "pyspark>=3.1.3"
PyPI pyspark < 3.1.3 3.1.3 pip install "pyspark>=3.1.3"

Per OSV / GitHub Advisories (GHSA-9rr6-jpg7-9jg6, PYSEC-2022-186). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachespark< 3.1.3
oraclefinancial_services_crime_and_compliance_management_studio8.0.8.2.0
oraclefinancial_services_crime_and_compliance_management_studio8.0.8.3.0

Official sources

References

Links published by the sources. Open them with care.