CVE-2024-23945 json
Apache Hive, Apache Spark, Apache Spark: CookieSigner exposes the correct signature when message verification fails
published 2024-12-23 22 mo ago modified 2026-06-17 4 mo ago also EUVD-2024-3564 , GHSA-77pm-w3hx-f8mj
- cvss
- 5.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.6%
- EPSS 1.6% chance of exploitation in 30 days, percentile 75%
- public exploits
- 0
- none known
Summary
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
Patch / fix
- maven org.apache.hive:hive-service 4.0.0
- maven org.apache.spark:spark-hive-thriftserver_2.12 3.4.2
- Apache Software Foundation Apache Hive 4.0.0
- Apache Software Foundation Apache Spark 3.0.0, 3.3.4, 3.4.2
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-23945 updated
Apache Hive, Apache Spark, Apache Spark: CookieSigner exposes the correct signature when message verification fails
-
Red Hat All currently supported Red Hat productsnot affected: component not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 22 mo ago
Exploit prediction
1.55% chance of exploitation in the next 30 days, higher than 75% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- issues.apache.org https://issues.apache.org/jira/browse/HIVE-9710 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| GitHub | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| CNA | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.hive:hive-service | >=1.2.0, <4.0.0 |
4.0.0 |
| maven | org.apache.spark:spark-hive-thriftserver_2.11 | <=2.4.8 |
no fix listed |
| maven | org.apache.spark:spark-hive-thriftserver_2.12 | <3.4.2 |
3.4.2 |
Affected products
- Apache Software Foundation Apache Hive
- Apache Software Foundation Apache Spark
Classification
- Weakness
-
- CWE-209 Generation of Error Message Containing Sensitive Information
References
-
github.com
/apache/spark/commit/cf59b1f51c16301f689b4e0f17ba4dbd140e1b19
patch, web
-
github.com
/apache/hive/commit/7638cb1a3b07713cc490aa2909a37037f89e08b4
patch, web
-
issues.apache.org
/jira/browse/HIVE-9710
web, exploit, issue-tracking, patch, vendor-advisory
-
issues.apache.org
/jira/browse/SPARK-14987
web, patch, vendor-advisory
-
lists.apache.org
/thread/59r4mv7glrxpwkkdjvjbdljfpx3f5zzc
vendor-advisory, web, mailing-list
-
lists.apache.org
/thread/5o2ljnzrv8zvhjw9vy7b4rwjpc32hgfc
vendor-advisory, web, mailing-list
-
github.com
/apache/hive
product, web
-
github.com
/apache/spark
product, web
-
openwall.com
/lists/oss-security/2024/12/23/2
web, mailing-list, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-23945
advisory
Sources
- CVE List CVE-2024-23945
- GitHub Advisory GHSA-77pm-w3hx-f8mj
- NVD CVE-2024-23945
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.