Skip to content
Fencer Vulns
medium 5.9

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 products
    not 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

Sources

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.