Apache Hive, Apache Spark, Apache Spark: CookieSigner exposes the correct signature when message verification fails
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-209.
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
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Hive | 1.2.0 to before 4.0.0 | 4.0.0 | Patch available | CNA |
| Apache | Apache Spark | 2.0.0 to before 3.0.0 | 3.0.0 | Patch available | CNA |
| Apache | Apache Spark | 3.0.0 to before 3.3.4; 3.4.0 to before 3.4.2; 3.5.0 | 3.3.4, 3.4.2 | Patch available | CNA |
| — | org.apache.hive:hive-service (Maven) | 1.2.0 to before 4.0.0 | 4.0.0 | Patch available | GHSA-77pm-w3hx-f8mj |
| — | org.apache.spark:spark-hive-thriftserver_2.11 (Maven) | up to 2.4.8 | — | No fix listed | GHSA-77pm-w3hx-f8mj |
| — | org.apache.spark:spark-hive-thriftserver_2.12 (Maven) | before 3.4.2 | 3.4.2 | Patch available | GHSA-77pm-w3hx-f8mj |
- Apache Hive VendorApache Affected 1.2.0 to before 4.0.0 Fixed in 4.0.0 Patch available CNA
- Apache Spark VendorApache Affected 2.0.0 to before 3.0.0 Fixed in 3.0.0 Patch available CNA
- Apache Spark VendorApache Affected 3.0.0 to before 3.3.4; 3.4.0 to before 3.4.2; 3.5.0 Fixed in 3.3.4, 3.4.2 Patch available CNA
- org.apache.hive:hive-service (Maven) Vendor— Affected 1.2.0 to before 4.0.0 Fixed in 4.0.0 Patch available GHSA-77pm-w3hx-f8mj
- org.apache.spark:spark-hive-thriftserver_2.11 (Maven) Vendor— Affected up to 2.4.8 Fixed in — No fix listed GHSA-77pm-w3hx-f8mj
- org.apache.spark:spark-hive-thriftserver_2.12 (Maven) Vendor— Affected before 3.4.2 Fixed in 3.4.2 Patch available GHSA-77pm-w3hx-f8mj
Remediation
- Fix · CNA Apache Hive (Apache Software Foundation) Fixed in 4.0.0
- Fix · CNA Apache Spark (Apache Software Foundation) Fixed in 3.0.0
- Fix · CNA Apache Spark (Apache Software Foundation) Fixed in 3.3.4, 3.4.2
- Fix · GHSA-77pm-w3hx-f8mj org.apache.hive:hive-service (Maven) Fixed in 4.0.0 Advisory →
- Fix · GHSA-77pm-w3hx-f8mj org.apache.spark:spark-hive-thriftserver_2.12 (Maven) Fixed in 3.4.2 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2024-23945
- 2026-10-03 Alias added: GHSA-77pm-w3hx-f8mj
References
Patch 3
Advisory 4
More Apache Hive vulnerabilities
- TI-2018-15196 Jodd before 5.0.4 performs Deserialization of Untrusted JSON Data when setClassMetadataName is set. CVSS 3.1CRITICAL 9.8
- TI-2026-40376 Apache Hive: SSRF vulnerability in Hive Avro Serde due to Insufficient input validation on avro.schema.url CVSS 3.1CRITICAL 9.1
- TI-2018-01187 SQL injection in Apache Hive CVSS 3.0CRITICAL 9.1
- TI-2026-36749 Apache Hive: SQL Injection vulnerability in HiveMetaStore partition-name direct-SQL paths CVSS 3.1CRITICAL 9.8
- TI-2015-06259 The authorization framework in Apache Hive 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.2.0 and 1.2.1… CVSS 3.0HIGH 8.3
- TI-2020-10925 Uncontrolled resource consumption in Apache Thrift CVSS 3.1HIGH 7.5
Sources
- CVE-2024-23945 · CVE Program
- CVE-2024-23945 · NVD
- FIRST EPSS
- GHSA-77pm-w3hx-f8mj · GitHub Advisory Database · CC BY 4.0
- CVE-2024-23945 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences