CVE-2024-23945
Apache Hive, Apache Spark, Apache Spark: CookieSigner exposes the correct signature when message verification fails
- 5.9MediumCVSS base score
- 1.6%Exploitation in 30 daysEPSS · top 25% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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
Timeline
ID reserved
By apache
- 11 months later
· 11 months later
Published
- 3 months later
· 3 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVDNVD · Analyzed | 3.1 | Medium5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 1.6% · top 25% of all CVEs (11 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.9.
Affected products
Apache Software Foundation · Apache Hive
- affected 1.2.0 – < 4.0.0
Apache Software Foundation · Apache Spark
- affected 2.0.0 – < 3.0.0
Apache Software Foundation · Apache Spark
- affected 3.0.0 – < 3.3.4
- affected 3.4.0 – < 3.4.2
- affected 3.5.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.hive:hive-serviceGHSA-77pm-w3hx-f8mj (opens in a new tab)
- Mavenorg.apache.spark:spark-hive-thriftserver_2.11GHSA-77pm-w3hx-f8mj (opens in a new tab)
- Mavenorg.apache.spark:spark-hive-thriftserver_2.12GHSA-77pm-w3hx-f8mj (opens in a new tab)
References
References9
- https://github.com/apache/hive (opens in a new tab)product
- https://github.com/apache/spark (opens in a new tab)product
- https://github.com/apache/spark/commit/cf59b1f51c16301f689b4e0f17ba4dbd140e1b19 (opens in a new tab)patch
- https://github.com/apache/hive/commit/7638cb1a3b07713cc490aa2909a37037f89e08b4 (opens in a new tab)patch
- https://issues.apache.org/jira/browse/HIVE-9710 (opens in a new tab)
- https://issues.apache.org/jira/browse/SPARK-14987 (opens in a new tab)
- https://lists.apache.org/thread/59r4mv7glrxpwkkdjvjbdljfpx3f5zzc (opens in a new tab)vendor-advisory
- https://lists.apache.org/thread/5o2ljnzrv8zvhjw9vy7b4rwjpc32hgfc (opens in a new tab)vendor-advisory
- http://www.openwall.com/lists/oss-security/2024/12/23/2 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-3564 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-77pm-w3hx-f8mj (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-23945)Record last updated .