GHSA-6p6v-m64v-jx8q

Suggest an improvement
Source
https://github.com/advisories/GHSA-6p6v-m64v-jx8q
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/10/GHSA-6p6v-m64v-jx8q/GHSA-6p6v-m64v-jx8q.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6p6v-m64v-jx8q
Aliases
  • CVE-2025-55039
Published
2025-10-15T09:30:17Z
Modified
2025-10-16T08:12:46.840513Z
Severity
  • 4.6 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U CVSS Calculator
Summary
Apache Spark has Inadequate Encryption Strength
Details

This issue affects Apache Spark versions before 3.4.4, 3.5.2 and 4.0.0.

Apache Spark versions before 4.0.0, 3.5.2 and 3.4.4 use an insecure default network encryption cipher for RPC communication between nodes.

When spark.network.crypto.enabled is set to true (it is set to false by default), but spark.network.crypto.cipher is not explicitly configured, Spark defaults to AES in CTR mode (AES/CTR/NoPadding), which provides encryption without authentication.

This vulnerability allows a man-in-the-middle attacker to modify encrypted RPC traffic undetected by flipping bits in ciphertext, potentially compromising heartbeat messages or application data and affecting the integrity of Spark workflows.

To mitigate this issue, users should either configure spark.network.crypto.cipher to AES/GCM/NoPadding to enable authenticated encryption or enable SSL encryption by setting spark.ssl.enabled to true, which provides stronger transport security.

Database specific
{
    "severity": "MODERATE",
    "nvd_published_at": "2025-10-15T08:15:38Z",
    "cwe_ids": [
        "CWE-326"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2025-10-15T18:58:35Z"
}
References

Affected packages

Maven

org.apache.spark:spark-network-common_2.13

Package

Name
org.apache.spark:spark-network-common_2.13
View open source insights on deps.dev
Purl
pkg:maven/org.apache.spark/spark-network-common_2.13

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.5.0
Fixed
3.5.2

Affected versions

3.*

3.5.0
3.5.1

org.apache.spark:spark-network-common_2.13

Package

Name
org.apache.spark:spark-network-common_2.13
View open source insights on deps.dev
Purl
pkg:maven/org.apache.spark/spark-network-common_2.13

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4.4

Affected versions

3.*

3.2.0
3.2.1
3.2.2
3.2.3
3.2.4
3.3.0
3.3.1
3.3.2
3.3.3
3.3.4
3.4.0
3.4.1
3.4.2
3.4.3

org.apache.spark:spark-network-common_2.12

Package

Name
org.apache.spark:spark-network-common_2.12
View open source insights on deps.dev
Purl
pkg:maven/org.apache.spark/spark-network-common_2.12

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4.4

Affected versions

2.*

2.4.0
2.4.1
2.4.2
2.4.3
2.4.4
2.4.5
2.4.6
2.4.7
2.4.8

3.*

3.0.0
3.0.0-preview
3.0.0-preview2
3.0.1
3.0.2
3.0.3
3.1.0
3.1.1
3.1.2
3.1.3
3.2.0
3.2.1
3.2.2
3.2.3
3.2.4
3.3.0
3.3.1
3.3.2
3.3.3
3.3.4
3.4.0
3.4.1
3.4.2
3.4.3

org.apache.spark:spark-network-common_2.12

Package

Name
org.apache.spark:spark-network-common_2.12
View open source insights on deps.dev
Purl
pkg:maven/org.apache.spark/spark-network-common_2.12

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.5.0
Fixed
3.5.2

Affected versions

3.*

3.5.0
3.5.1