Security Resilience

CVE-2024-23945

Info Disclosure in Apache Spark 2.0.0 – 3.3.4

Public PoCInfo Disclosure
Published
23 December 2024
Modified
14 July 2025
Patch / advisory
CVSS Score v3.1 5.9
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS Score 0.016 75th percentile
Risk Priority 54 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-23945 is a medium-severity Generation of Error Message Containing Sensitive Information (CWE-209) vulnerability in Apache Spark. Its CVSS base score is 5.9 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Protocol or Service Impersonation (T1001.003); ranked in the top 25% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SI-11 (Error Handling) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2024-23945 affects the cookie signing logic in Apache Hive’s service component (org.apache.hive:hive-service) and the corresponding Spark Hive Thriftserver modules (spark-hive-thriftserver_2.11 and _2.12). The flaw, introduced by HIVE-9710 in Hive 1.2.0 and SPARK-14987 in Spark 2.0.0, causes the correct signed cookie value to be returned to a client whenever a signature mismatch occurs between the supplied and expected cookie, exposing the signature that is otherwise intended to protect integrity.

An unauthenticated remote attacker can trigger the mismatch condition over the network to obtain a valid cookie signature. With the signature in hand, the attacker can forge or modify subsequent cookies, achieving integrity violations that the signing mechanism was designed to prevent. The CVSS 5.9 rating reflects the high attack complexity required to reach this outcome despite the absence of required credentials.

Public references point to corrective commits in the Hive and Spark repositories that address the exposure in the CookieSigner path. The EPSS score reached a peak of 0.0852 after disclosure, indicating a measurable increase in observed exploitation interest from an initially low baseline.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

Signing cookies is an application security feature that adds a digital signature to cookie data to verify its authenticity and integrity. The signature helps prevent malicious actors from modifying the cookie value, which can lead to security vulnerabilities and exploitation.…

more

Apache Hive’s service component accidentally exposes the signed cookie to the end user when there is a mismatch in signature between the current and expected cookie. Exposing the correct cookie signature can lead to further exploitation. The vulnerable CookieSigner logic was introduced in Apache Hive by HIVE-9710 (1.2.0) and in Apache Spark by SPARK-14987 (2.0.0). The affected components are the following: * org.apache.hive:hive-service * org.apache.spark:spark-hive-thriftserver_2.11 * org.apache.spark:spark-hive-thriftserver_2.12

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1001.003 Protocol or Service Impersonation Command And Control
Adversaries may impersonate legitimate protocols or web service traffic to disguise command and control activity and thwart analysis efforts.
T1003.002 Security Account Manager Credential Access
Adversaries may attempt to extract credential material from the Security Account Manager (SAM) database either through in-memory techniques or through the Windows Registry where the SAM database is stored.
T1007 System Service Discovery Discovery
Adversaries may try to gather information about registered local system services.
T1008 Fallback Channels Command And Control
Adversaries may use fallback or alternate communication channels if the primary channel is compromised or inaccessible in order to maintain reliable command and control and to avoid data transfer thresholds.
T1012 Query Registry Discovery
Adversaries may interact with the Windows Registry to gather information about the system, configuration, and installed software.
T1016.002 Wi-Fi Discovery Discovery
Adversaries may search for information about Wi-Fi networks, such as network names and passwords, on compromised systems.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-25695Same vendor: Apache
CVE-2024-53948Same vendor: Apache
CVE-2026-56139Same vendor: Apache
CVE-2024-27315Same vendor: Apache
CVE-2023-25956Same vendor: Apache
CVE-2025-65995Same vendor: Apache
CVE-2026-49365Same vendor: Apache
CVE-2024-45384Same vendor: Apache
CVE-2023-39264Same vendor: Apache
CVE-2024-21733Same vendor: Apache

Affected Assets

apache
hive
1.2.0 — 4.0.0
apache
spark
3.5.0 · 2.0.0 — 3.3.4 · 3.4.0 — 3.4.2

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V16.5.1

Mitigating Controls (NIST 800-53 r5) AI

si-11 directly requires error messages to avoid revealing exploitable information about the system or its data.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 partial match
blocks

Secure SDLC practices directly require sanitized error handling to prevent sensitive data disclosure.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

removes
removes
removes
removes
removes

References