Apache Hive, Apache Spark, Apache Spark: CookieSigner exposes the correct signature when message verification fails
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
- Published
- Dec 23, 2024
- Updated
- Jun 17, 2026
- EPSS
- 1.6% · 74th percentile
- CWE
- CWE-209
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
23
Monitor
Low priority for now.
- CVSS
- 23 / 40 · 5.9 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 1.6%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
Affected systems
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- apache hive1.2.0 and later · before 4.0.0
- apache spark2.0.0 and later · before 3.3.4
- apache spark3.4.0 and later · before 3.4.2
- apache spark3.5.0
Versions reported by the vendor
Affected version ranges reported by the assigning authority (apache). Independent of NVD's CPE analysis and usually ahead of it.
Apache Software Foundation Apache Hive
- 1.2.0 and later · before 4.0.0affected · semver
Apache Software Foundation Apache Spark
- 3.5.0affected
- 2.0.0 and later · before 3.0.0affected · semver
- 3.0.0 and later · before 3.3.4affected · semver
- 3.4.0 and later · before 3.4.2affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Maven | org.apache.hive:hive-service | from 1.2.0 · before 4.0.0 | 4.0.0 |
| Maven | org.apache.spark:spark-hive-thriftserver_2.11 | up to and including 2.4.8 | — |
| Maven | org.apache.spark:spark-hive-thriftserver_2.12 | before 3.4.2 | 3.4.2 |
Same product
apache: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-49845Apache Hive: SQL Injection vulnerability in HiveMetaStore partition-name direct-SQL paths39Monitor
- CVE-2018-1282This vulnerability in Apache Hive JDBC driver 0.7.1 to 2.3.2 allows carefully crafted arguments to be used to bypass the argument escaping/c38Monitor
- CVE-2026-55976Apache Hive: SSRF vulnerability in Hive Avro Serde due to Insufficient input validation on avro.schema.url36Monitor
- CVE-2015-7521The authorization framework in Apache Hive 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.2.0 and 1.2.1, on clusters protected by Ranger and SqlStdHiveAuthor35Monitor
- CVE-2022-41137Apache Hive: Deserialization of untrusted data when fetching partitions from the Metastore33Monitor
- CVE-2018-11777In Apache Hive 2.3.3, 3.1.0 and earlier, local resources on HiveServer2 machines are not properly protected against malicious user if ranger33Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Apache Software Foundation Apache Hive | 4.0.0 | Vendor (CNA) |
| Apache Software Foundation Apache Spark | 3.0.0 | Vendor (CNA) |
| Apache Software Foundation Apache Spark | 3.3.4 | Vendor (CNA) |
| Apache Software Foundation Apache Spark | 3.4.2 | Vendor (CNA) |
| Maven:org.apache.hive:hive-service | 4.0.0 | Package registry (OSV) |
| Maven:org.apache.spark:spark-hive-thriftserver_2.12 | 3.4.2 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- Hamza Tahmireporter
- Kostya KortchinskyOpenAIreporter
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- none
- Integrity
- high · data or configuration can be modified
- Availability
- none
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- High
- Availability impact
- None
Weakness class (CWE)
CWE-209 · Generation of Error Message Containing Sensitive InformationCVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- github.com/apache/hive
- github.com/apache/hive/commit/7638cb1a3b07713cc490aa2909a37037f89e08b4
- github.com/apache/spark
- github.com/apache/spark/commit/cf59b1f51c16301f689b4e0f17ba4dbd140e1b19
- issues.apache.org/jira/browse/SPARK-14987
- lists.apache.org/thread/59r4mv7glrxpwkkdjvjbdljfpx3f5zzc
- lists.apache.org/thread/5o2ljnzrv8zvhjw9vy7b4rwjpc32hgfc
- www.openwall.com/lists/oss-security/2024/12/23/2
Vendor advisories and official records. Exploit/PoC links are deliberately left out.