# CVE-2024-23945: Apache Hive and Spark: CookieSigner exposes the correct signature when message verification fails

Source: https://junglewise.ai/threats/cve-2024-23945-apache-hive-and-spark-cookiesigner-exposes-the-correct-signature  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-12-23  
License: CC BY 4.0 with a link back

CVE-2024-23945 · Severity: low · CVSS 3.1 · Published 2024-12-23

Apache Hive and Spark: CookieSigner exposes the correct signature when message verification fails

Technologies: [org.apache.hive:hive-service (Maven)](https://junglewise.ai/threats/technologies/org-apache-hive-hive-service). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2024-23945 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-23945 being exploited in the wild.

**How severe is CVE-2024-23945?** Low severity, with a CVSS score of 3.1, published 23 December 2024.

**Which products and versions are affected?** org.apache.hive:hive-service (Maven) ECOSYSTEM:introduced=1.2.0,fixed=4.0.0; org.apache.spark:spark-hive-thriftserver_2.11 (Maven) ECOSYSTEM:introduced=0,last_affected=2.4.8; org.apache.spark:spark-hive-thriftserver_2.12 (Maven) ECOSYSTEM:introduced=0,fixed=3.4.2.

**Is there a fix for CVE-2024-23945?** Yes. org.apache.hive:hive-service (Maven): upgrade to 4.0.0 or later; org.apache.spark:spark-hive-thriftserver_2.12 (Maven): upgrade to 3.4.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-23945?** Check whether you run org.apache.hive:hive-service (Maven), org.apache.spark:spark-hive-thriftserver_2.11 (Maven) or org.apache.spark:spark-hive-thriftserver_2.12 (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.apache.hive:hive-service (Maven): upgrade to 4.0.0 or later

  ```sh
  # set org.apache.hive:hive-service to 4.0.0 in your pom.xml or build.gradle
  ```

- org.apache.spark:spark-hive-thriftserver_2.12 (Maven): upgrade to 3.4.2 or later

  ```sh
  # set org.apache.spark:spark-hive-thriftserver_2.12 to 3.4.2 in your pom.xml or build.gradle
  ```


## Affected products

- org.apache.hive:hive-service (Maven) ECOSYSTEM:introduced=1.2.0,fixed=4.0.0
- org.apache.spark:spark-hive-thriftserver_2.11 (Maven) ECOSYSTEM:introduced=0,last_affected=2.4.8
- org.apache.spark:spark-hive-thriftserver_2.12 (Maven) ECOSYSTEM:introduced=0,fixed=3.4.2

## Identifiers

- CVE-2024-23945
- GHSA-77pm-w3hx-f8mj

## Related threats

- [Improper Authentication in org.apache.hive:hive, org.apache.hive:hive-exec, and org.apache.hive:hive-service](https://junglewise.ai/threats/cve-2015-1772-improper-authentication-in-org-apache-hive-hive-org-apache-hive)
- [org.apache.hive:hive, org.apache.hive:hive-exec, and org.apache.hive:hive-service vulnerable to Improper Certificate Validation](https://junglewise.ai/threats/cve-2016-3083-org-apache-hive-hive-org-apache-hive-hive-exec-and-org-apache-hive)
- [Moderate severity vulnerability that affects org.apache.hive:hive, org.apache.hive:hive-exec, and org.apache.hive:hive-service](https://junglewise.ai/threats/cve-2017-12625-moderate-severity-vulnerability-that-affects-org-apache-hive-hive)
- [Exposure of Sensitive Information to an Unauthorized Actor in Apache hive](https://junglewise.ai/threats/cve-2018-1284-exposure-of-sensitive-information-to-an-unauthorized-actor-in)
- [Incorrect Permission Assignment for Critical Resource in Apache hive](https://junglewise.ai/threats/cve-2018-1315-incorrect-permission-assignment-for-critical-resource-in-apache)
