CVE-2024-23945: Apache Hive, Apache Spark, Apache Spark: CookieSigner exposes the correct signature when message verification fails
Vulnerability summary
CVE-2024-23945 is a medium (CVSS 5.9) vulnerability in apache software foundation apache hive. EPSS estimates a 1.56% chance of exploitation in the next 30 days, higher than 76.1% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 23-12-2024PublishedVulnerability first disclosed.
- 19-03-2025Last modifiedVulnerability information updated.
Description
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. 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
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · ChainguardEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · MavenEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
- NVDNIST5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS trend
Probability
1.56%
Chance of exploitation in the next 30 days
Percentile
76%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 1.55% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (issues.apache.org)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Apache software foundation2 products
- apache hive≥ 1.2.0, < 4.0.0
- apache spark≥ 2.0.0, < 3.0.0 | ≥ 3.0.0, < 3.3.4 | ≥ 3.4.0, < 3.4.2 | 3.5.0
Org.apache.spark2 products
- spark-hive-thriftserver_2.11≤ 2.4.8
- spark-hive-thriftserver_2.12< 3.4.2
Chainguard1 product
- rangerAll versions (No fix recorded)
Org.apache.hive1 product
- hive-service≥ 1.2.0, < 4.0.0
5 vendors · 8 products