{"cve":"CVE-2024-23945","nvd":{"published":"2024-12-23T16:15:05.590","modified":"2026-06-17T07:13:55.947","status":"Analyzed","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.\n\nThe 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:\n* org.apache.hive:hive-service\n* org.apache.spark:spark-hive-thriftserver_2.11\n* org.apache.spark:spark-hive-thriftserver_2.12","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","score":5.9},"cwes":["CWE-209"],"references":["https://github.com/apache/hive","https://github.com/apache/hive/commit/7638cb1a3b07713cc490aa2909a37037f89e08b4","https://github.com/apache/spark","https://github.com/apache/spark/commit/cf59b1f51c16301f689b4e0f17ba4dbd140e1b19","https://issues.apache.org/jira/browse/HIVE-9710"],"products":["apache:hive","apache:spark"],"source":"nvd","synced_at":"2026-10-19T21:57:56.913276502+00:00"},"epss":{"cve":"CVE-2024-23945","score":0.0155,"percentile":0.75084,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-77pm-w3hx-f8mj","url":"https://osv.dev/vulnerability/GHSA-77pm-w3hx-f8mj","summary":"Apache Hive and Spark: CookieSigner exposes the correct signature when message verification fails","modified":"2024-12-26T20:28:22.012485Z","packages":[{"ecosystem":"Maven","name":"org.apache.hive:hive-service","purl":"pkg:maven/org.apache.hive/hive-service","ranges":[">=1.2.0 <4.0.0"],"fixed":["4.0.0"]},{"ecosystem":"Maven","name":"org.apache.spark:spark-hive-thriftserver_2.11","purl":"pkg:maven/org.apache.spark/spark-hive-thriftserver_2.11","ranges":["<=2.4.8"],"fixed":[]},{"ecosystem":"Maven","name":"org.apache.spark:spark-hive-thriftserver_2.12","purl":"pkg:maven/org.apache.spark/spark-hive-thriftserver_2.12","ranges":["<3.4.2"],"fixed":["3.4.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}