{"id":"CVE-2024-23945","published":"2024-12-23T15:26:54Z","modified":"2025-03-19T13:34:26Z","title":"Apache Hive, Apache Spark, Apache Spark: CookieSigner exposes the correct signature when message verification fails","vendor":"Apache","product":"Apache Hive","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.0155,"percentile":0.75698,"provenance":"source"},"cwes":[{"id":"CWE-209","name":"Generation of Error Message Containing Sensitive Information"}],"references":[{"url":"https://github.com/apache/hive","tags":["product"]},{"url":"https://github.com/apache/spark","tags":["product"]},{"url":"https://github.com/apache/spark/commit/cf59b1f51c16301f689b4e0f17ba4dbd140e1b19","tags":["patch"]},{"url":"https://github.com/apache/hive/commit/7638cb1a3b07713cc490aa2909a37037f89e08b4","tags":["patch"]},{"url":"https://issues.apache.org/jira/browse/HIVE-9710","tags":[]},{"url":"https://issues.apache.org/jira/browse/SPARK-14987","tags":[]},{"url":"https://lists.apache.org/thread/59r4mv7glrxpwkkdjvjbdljfpx3f5zzc","tags":["vendor-advisory"]},{"url":"https://lists.apache.org/thread/5o2ljnzrv8zvhjw9vy7b4rwjpc32hgfc","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2024/12/23/2","tags":[]}],"priority":{"score":19.3,"factors":[{"name":"EPSS percentile","points":15.14},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Hive","versions":[">= 1.2.0, < 4.0.0"]},{"vendor":"Apache Software Foundation","product":"Apache Spark","versions":[">= 2.0.0, < 3.0.0"]},{"vendor":"Apache Software Foundation","product":"Apache Spark","versions":[">= 3.0.0, < 3.3.4",">= 3.4.0, < 3.4.2","3.5.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-12-24T01:50:23.681395Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.apache.hive:hive-service","vulnerableRanges":[">=1.2.0, <4.0.0"],"patched":["4.0.0"],"from":["GHSA-77pm-w3hx-f8mj"],"provenance":"source"},{"ecosystem":"Maven","package":"org.apache.spark:spark-hive-thriftserver_2.11","vulnerableRanges":["<=2.4.8"],"patched":[],"from":["GHSA-77pm-w3hx-f8mj"],"provenance":"source"},{"ecosystem":"Maven","package":"org.apache.spark:spark-hive-thriftserver_2.12","vulnerableRanges":["<3.4.2"],"patched":["3.4.2"],"from":["GHSA-77pm-w3hx-f8mj"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-3564","exploited":false,"provenance":"source"}}