{"schemaVersion":3,"id":"CVE-2024-23945","aliases":["CGA-gj3q-2r26-rq3w","CGA-gwxh-ww4h-jx48","GHSA-77pm-w3hx-f8mj"],"status":"published","duplicateOf":null,"title":null,"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","dates":{"published":"2024-12-23T15:26:54.477Z","modified":"2025-03-19T13:34:26.019Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.9,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":5.6,"impact":6,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Maven","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":5.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01563,"percentile":0.74862,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0.05400000000000023,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.01509},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01509,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01509,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01509,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01509,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01509,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01509,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01509,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01509,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01509,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01509,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01509,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01509,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01509,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01509,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01509,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01563,"percentile":0.74862}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.01509,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01509,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01509,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01509,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01509,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01509,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01509,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01509,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01509,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01509,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01509,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01563,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01563,"percentile":0.74862}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_EF7A04D432BBCA75","name":"Exploit Reference (issues.apache.org)","source":"reference","url":"https://issues.apache.org/jira/browse/HIVE-9710","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-209","name":"Generation of Error Message Containing Sensitive Information","description":"The product generates an error message that includes sensitive information about its environment, users, or associated data.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/209.html"}],"affected":[{"vendor":"apache software foundation","product":"apache hive","name":"Apache Hive","label":"apache hive","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.2.0, < 4.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.2.0, < 4.0.0","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_hive"},{"vendor":"apache software foundation","product":"apache spark","name":"Apache Spark","label":"apache spark","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.0.0, < 3.0.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0.0, < 3.3.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.4.0, < 3.4.2","noFixRecorded":false,"fixedIn":null},{"text":"3.5.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.0.0, < 3.0.0 | ≥ 3.0.0, < 3.3.4 | ≥ 3.4.0, < 3.4.2 | 3.5.0","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_spark"},{"vendor":"apache","product":"hive","name":"hive","label":"hive","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.2.0, < 4.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.2.0, < 4.0.0","eol":null,"hubHref":"/vendor/apache/hive"},{"vendor":"apache","product":"spark","name":"Spark","label":"spark","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.0.0, < 3.3.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.4.0, < 3.4.2","noFixRecorded":false,"fixedIn":null},{"text":"3.5.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.0.0, < 3.3.4 | ≥ 3.4.0, < 3.4.2 | 3.5.0","eol":{"isEol":false,"eolDate":"2027-11-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"3.5","label":"3.5 (LTS)","eolFrom":"2027-11-30T00:00:00.000Z","isLts":true,"isMaintained":true,"latestVersion":"3.5.9"},"product":{"name":"apache-spark","label":"Apache Spark","category":"server-app"}},"hubHref":"/vendor/apache/spark"},{"vendor":"chainguard","product":"ranger","name":"ranger","label":"ranger","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/ranger","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"org.apache.hive","product":"hive-service","name":"org.apache.hive:hive-service","label":"hive-service","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.hive/hive-service","purlType":"maven","versions":[{"text":"≥ 1.2.0, < 4.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.2.0, < 4.0.0","eol":null,"hubHref":null},{"vendor":"org.apache.spark","product":"spark-hive-thriftserver_2.11","name":"org.apache.spark:spark-hive-thriftserver_2.11","label":"spark-hive-thriftserver_2.11","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.spark/spark-hive-thriftserver_2.11","purlType":"maven","versions":[{"text":"≤ 2.4.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.4.8","eol":null,"hubHref":null},{"vendor":"org.apache.spark","product":"spark-hive-thriftserver_2.12","name":"org.apache.spark:spark-hive-thriftserver_2.12","label":"spark-hive-thriftserver_2.12","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.spark/spark-hive-thriftserver_2.12","purlType":"maven","versions":[{"text":"< 3.4.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.4.2","eol":null,"hubHref":null}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/apache/hive","label":"github.com/apache/hive","hostname":"github.com","tags":["Product","PACKAGE","WEB"]},{"url":"https://github.com/apache/spark","label":"github.com/apache/spark","hostname":"github.com","tags":["Product","PACKAGE","WEB"]},{"url":"https://github.com/apache/spark/commit/cf59b1f51c16301f689b4e0f17ba4dbd140e1b19","label":"github.com/apache/spark/commit/cf59b1f51c16301f689b4e0f17ba4dbd140e1b19","hostname":"github.com","tags":["Patch","FIX","WEB"]},{"url":"https://github.com/apache/hive/commit/7638cb1a3b07713cc490aa2909a37037f89e08b4","label":"github.com/apache/hive/commit/7638cb1a3b07713cc490aa2909a37037f89e08b4","hostname":"github.com","tags":["Patch","FIX","WEB"]},{"url":"https://issues.apache.org/jira/browse/HIVE-9710","label":"issues.apache.org/jira/browse/HIVE-9710","hostname":"issues.apache.org","tags":["WEB","Exploit","Issue Tracking","Patch","Vendor Advisory"]},{"url":"https://issues.apache.org/jira/browse/SPARK-14987","label":"issues.apache.org/jira/browse/SPARK-14987","hostname":"issues.apache.org","tags":["WEB","Patch","Vendor Advisory"]},{"url":"https://lists.apache.org/thread/59r4mv7glrxpwkkdjvjbdljfpx3f5zzc","label":"lists.apache.org/thread/59r4mv7glrxpwkkdjvjbdljfpx3f5zzc","hostname":"lists.apache.org","tags":["Vendor Advisory","Advisory","WEB","Mailing List"]},{"url":"https://lists.apache.org/thread/5o2ljnzrv8zvhjw9vy7b4rwjpc32hgfc","label":"lists.apache.org/thread/5o2ljnzrv8zvhjw9vy7b4rwjpc32hgfc","hostname":"lists.apache.org","tags":["Vendor Advisory","Advisory","WEB","Mailing List"]},{"url":"http://www.openwall.com/lists/oss-security/2024/12/23/2","label":"www.openwall.com/lists/oss-security/2024/12/23/2","hostname":"www.openwall.com","tags":["WEB","Mailing List","Third Party Advisory"]},{"url":"https://repo.maven.apache.org/maven2","label":"repo.maven.apache.org/maven2","hostname":"repo.maven.apache.org","tags":["WEB"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/23xxx/CVE-2024-23945.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/23xxx/CVE-2024-23945.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23945","label":"nvd.nist.gov/vuln/detail/CVE-2024-23945","hostname":"nvd.nist.gov","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2024-12-23T15:26:54.477Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-03-19T13:34:26.019Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":34,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T04:49:46.733Z","stale":false,"partial":false}}