Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-55039: CWE-347 Improper Verification of Cryptographic Signature in Apache Software Foundation Apache Spark

0
Medium
VulnerabilityCVE-2025-55039cvecve-2025-55039cwe-347cwe-326
Published: Wed Oct 15 2025 (10/15/2025, 07:19:25 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: Apache Spark

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.

AI-Powered Analysis

AILast updated: 11/04/2025, 22:08:18 UTC

Technical Analysis

CVE-2025-55039 is a cryptographic vulnerability affecting Apache Spark versions before 3.4.4, 3.5.2, and 4.0.0. The issue arises because when network encryption is enabled (spark.network.crypto.enabled=true) but the encryption cipher is not explicitly configured, Spark defaults to AES in CTR mode (AES/CTR/NoPadding). AES in CTR mode provides confidentiality but lacks built-in authentication, meaning that while data is encrypted, it is vulnerable to bit-flipping attacks by a man-in-the-middle (MITM). An attacker positioned on the network path can alter encrypted RPC traffic undetected, compromising the integrity of messages exchanged between Spark nodes. This can affect heartbeat messages used to monitor node health and application data, potentially causing workflow disruptions or incorrect processing results. The vulnerability is classified under CWE-347 (Improper Verification of Cryptographic Signature) and CWE-326 (Inadequate Encryption Strength). The CVSS v3.1 base score is 6.5, reflecting a medium severity with network attack vector, low attack complexity, no privileges or user interaction required, and impact primarily on integrity and limited confidentiality. Mitigation requires explicitly setting spark.network.crypto.cipher to AES/GCM/NoPadding, which provides authenticated encryption, or enabling SSL encryption by setting spark.ssl.enabled to true, which offers stronger transport security and integrity protection. No public exploits have been reported to date, but the vulnerability poses a risk in environments where Spark nodes communicate over untrusted or compromised networks.

Potential Impact

For European organizations, this vulnerability can undermine the integrity of distributed data processing workflows relying on Apache Spark, especially in sectors handling sensitive or critical data such as finance, telecommunications, healthcare, and scientific research. An attacker capable of intercepting network traffic between Spark nodes could manipulate heartbeat signals, potentially causing node disconnections or failovers, and alter application data, leading to incorrect analytics or decision-making. This could result in operational disruptions, data corruption, and loss of trust in data processing pipelines. Organizations using default configurations without explicit cipher settings are most at risk. Since Spark is widely used in big data environments, the impact could extend to cloud service providers and enterprises running large-scale analytics clusters. The vulnerability does not directly expose data confidentiality or availability but compromises data integrity, which is critical for compliance with European data protection regulations such as GDPR, where data accuracy and integrity are mandated. Additionally, disruption of critical infrastructure analytics could have broader economic or societal impacts.

Mitigation Recommendations

European organizations should immediately audit their Apache Spark deployments to identify versions prior to 3.4.4, 3.5.2, and 4.0.0 and check the configuration of spark.network.crypto.enabled and spark.network.crypto.cipher. If network encryption is enabled, explicitly configure spark.network.crypto.cipher to AES/GCM/NoPadding to ensure authenticated encryption and prevent bit-flipping attacks. Alternatively, enable SSL encryption by setting spark.ssl.enabled to true to leverage stronger transport layer security. Organizations should also consider upgrading to the latest patched versions of Apache Spark where this issue is resolved by default. Network segmentation and use of VPNs or secure tunnels for Spark node communication can reduce exposure to MITM attacks. Monitoring network traffic for anomalies and implementing intrusion detection systems can help detect potential exploitation attempts. Finally, ensure that security policies enforce secure configurations and that DevOps teams are trained to avoid insecure defaults in distributed computing environments.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
apache
Date Reserved
2025-08-06T00:27:38.654Z
Cvss Version
null
State
PUBLISHED

Threat ID: 68ef4d40cae19e7fe9244039

Added to database: 10/15/2025, 7:29:04 AM

Last enriched: 11/4/2025, 10:08:18 PM

Last updated: 12/4/2025, 11:41:03 AM

Views: 191

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats