Security mailing lists by PureSourceCode

CVE-2021-38296

HIGH 7.5CVSS 3.1

Authentication Bypass by Capture-replay in Apache Spark

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

Published
10 Mar 2022
Last modified
17 Jun 2026
Assigned by
security@apache.org
NVD status
Modified
Weakness
CWE-294
Also known as
BIT-spark-2021-38296GHSA-9rr6-jpg7-9jg6PYSEC-2022-186
Sources
NVDJSONOSV GHSA-9rr6-jpg7-9jg6JSONOSV PYSEC-2022-186JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub 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
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache spark
cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:*
< 3.1.3 3.1.3
NVD oracle financial_services_crime_and_compliance_management_studio
cpe:2.3:a:oracle:financial_services_crime_and_compliance_management_studio:8.0.8.2.0:*:*:*:*:*:*:*
= 8.0.8.2.0
NVD oracle financial_services_crime_and_compliance_management_studio
cpe:2.3:a:oracle:financial_services_crime_and_compliance_management_studio:8.0.8.3.0:*:*:*:*:*:*:*
= 8.0.8.3.0
OSV Maven org.apache.spark:spark-core < 3.1.3 3.1.3
OSV PyPI pyspark < 3.1.3 3.1.3

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 10 Mar 2022)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Mar 2022)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 11 Mar 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.