CVE-2024-23945

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

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

Category

5.9
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.50%
Vendor Advisory apache.org Vendor Advisory apache.org
Affected: Apache Software Foundation Apache Hive
Affected: Apache Software Foundation Apache Spark
Affected: Apache Software Foundation Apache Spark
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-23945?
CVE-2024-23945 has been scored as a medium severity vulnerability.
How to fix CVE-2024-23945?
To fix CVE-2024-23945, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-23945 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2024-23945 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-23945?
CVE-2024-23945 affects Apache Software Foundation Apache Hive, Apache Software Foundation Apache Spark, Apache Software Foundation Apache Spark.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.