CVE-2024-23945
Apache Hive, Apache Spark, Apache Spark: CookieSigner exposes the correct signature when message verification fails
Public exploit available. Not confirmed exploited in the wild yet. Fixed versions are out.
Public exploit: 1 sourceFix5 products3 fixed builds listed below
e.g. OID 1.3.6.1.4.1.25623.1.1.16.2025.1039
What to do
Find your product and version, then upgrade to the build on the right.
- Apache Software Foundation Apache HiveAffected: ≥ 1.2.0, < 4.0.0Upgrade to: 4.0.0Stated by: CVE record
- Apache Software Foundation Apache SparkAffected: ≥ 2.0.0, < 3.0.0Upgrade to: 3.0.0Stated by: CVE record
- Maven org.apache.hive:hive-serviceAffected: ≥ 1.2.0, < 4.0.0Upgrade to: 4.0.0Stated by: GitHub advisory
- Maven org.apache.spark:spark-hive-thriftserver_2.11Affected: ≤ 2.4.8Upgrade to: after 2.4.8Stated by: GitHub advisory
- Maven org.apache.spark:spark-hive-thriftserver_2.12Affected: < 3.4.2Upgrade to: 3.4.2Stated by: GitHub advisory
Versions as the sources state them. Full version matrix after sign-in
What it is
From the CVE record
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
In plain language
No plain-language summary for this CVE yet.
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
1 source with a proof of concept or module.
Exploit links, PoCs and Metasploit modules after sign-in- EPSS
1.6% chance of exploitation activity in the next 30 days, which ranks it in the 75th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
The patch came 235 days before any public exploit.
- OpenVAS check added
- Public exploit / PoCsource: other
- Patch availablerecord updated
- Publishedweakness classified, att&ck mapped
Affected products
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Scored 5.9 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity HighRequires specific conditions like a race condition or non-default configuration
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality NoneNo confidentiality impact
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability NoneNo availability impact
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
- github.com/apache/hive
- github.com/apache/hive/commit/7638cb1a3b07713cc490aa2909a37037f89e08b4
- github.com/apache/spark
And 10 more references. See all after sign-in
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Apache Hive, not every advisory. This one: public exploit.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI