CVE-2024-23945Apache Hive
Medium 5.9 No auth needed
Follow: this CVE · Apache · Apache Hive We alert you by email or Slack (account required).
- Priority
- 51
- CVSS 3.1
- 5.9
- EPSS
- 2.2% probability of exploitation in 30 days · percentile 84
- Auth required
- No
- Published
- Dec 23, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-209
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
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
What to do
- Apply the vendor's security update for Hive.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| 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 fixed version | — |
| Maven | org.apache.spark:spark-hive-thriftserver_2.12 |
< 3.4.2 |
3.4.2 |
— |
Per OSV / GitHub Advisories (GHSA-77pm-w3hx-f8mj). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | hive | ≥ 1.2.0 < 4.0.0 |
| apache | spark | ≥ 2.0.0 < 3.3.4 |
| apache | spark | ≥ 3.4.0 < 3.4.2 |
| apache | spark | 3.5.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Product
- github.com Patch
- github.com Product
- github.com Patch
- issues.apache.org Exploit Issue Tracking Patch
- issues.apache.org Patch Vendor Advisory
- lists.apache.org Mailing List Vendor Advisory
- lists.apache.org Mailing List Vendor Advisory
- www.openwall.com Mailing List Third Party Advisory