CVE-2025-55039
published medium CVSS 3.1 · 6.5Apache Spark, Apache Spark: RPC encryption defaults to unauthenticated AES-CTR mode, enabling man-in-the-middle ciphertext modification attacks
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | org.apache.spark:spark-network-common_2.13Apache Spark · 3.5.0 to < 3.5.2 · 0 to < 3.4.4 · Other versions: unaffected | Affected | Not stated | apache |
| Apache Software Foundation | — | org.apache.spark:spark-network-common_2.12Apache Spark · 3.5.0 to < 3.5.2 · 0 to < 3.4.4 · Other versions: unaffected | Affected | Not stated | apache |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Spark | 3.5.0 to < 3.5.2 (affected · semver)0 to < 3.4.4 (affected · semver)Default: unaffected | apache · cna |
| Apache Software Foundation | Apache Spark | 3.5.0 to < 3.5.2 (affected · semver)0 to < 3.4.4 (affected · semver)Default: unaffected | apache · cna |
Weaknesses
2- CWE-347 CWE-347 Improper Verification of Cryptographic Signature
- CWE-326 CWE-326 Inadequate Encryption Strength
References
2Provider assertions
3apache · cna
Apache Spark, Apache Spark: RPC encryption defaults to unauthenticated AES-CTR mode, enabling man-in-the-middle ciphertext modification attacks
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4b7ab87c9a19aa41af9d1a2532a31fa1f8a4c18aba3c2112a9954608fe3c2009
- Ingested
- 23 Sep 2026, 08:53:16 UTC
- Source record
- Official CVE record