CVE-2025-55039
Java vulnerability analysis and mitigation

Overview

Apache Spark versions before 4.0.0, 3.5.2, and 3.4.4 contain a security vulnerability in their RPC communication encryption. When spark.network.crypto.enabled is set to true (default is false) and spark.network.crypto.cipher is not explicitly configured, Spark defaults to AES in CTR mode (AES/CTR/NoPadding), which provides encryption without authentication (Apache NVD). The vulnerability was disclosed on October 15, 2025.

Technical details

The vulnerability stems from using an insecure default network encryption cipher for RPC communication between nodes. The implementation uses AES in CTR mode without authentication, which is cryptographically insufficient for secure communications. The vulnerability has been assigned a CVSS v3.1 base score of 6.5 (Medium) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N (Apache NVD).

Impact

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 (Apache NVD).

Mitigation and workarounds

To mitigate this vulnerability, 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 (Apache NVD).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-62371HIGH7.4
  • JavaJava
  • org.opensearch.dataprepper.plugins:opensearch
NoYesOct 15, 2025
CVE-2025-55039MEDIUM6.5
  • JavaJava
  • org.apache.spark:spark-network-common_2.12
NoYesOct 15, 2025
GHSA-3xgr-h5hq-7299MEDIUM5.9
  • JavaJava
  • org.opensearch.dataprepper.plugins:geoip-processor
NoYesOct 15, 2025
CVE-2025-59419MEDIUM5.5
  • JavaJava
  • io.netty:netty-codec-smtp
NoYesOct 15, 2025
GHSA-28gg-8qqj-fhh5MEDIUM4.8
  • JavaJava
  • org.opensearch.dataprepper.plugins:geoip-processor
NoYesOct 15, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management