Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-23945

CVE-2024-23945: Apache Hive Info Disclosure Vulnerability

CVE-2024-23945 is an information disclosure flaw in Apache Hive that exposes signed cookies when signature mismatches occur. This article covers the technical details, affected versions, impact, and mitigation.

Updated: January 22, 2026

CVE-2024-23945 Overview

CVE-2024-23945 is an information disclosure vulnerability affecting Apache Hive and Apache Spark's cookie signing functionality. 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, potentially allowing attackers to forge valid cookies and bypass authentication mechanisms.

Critical Impact

The vulnerable CookieSigner logic was introduced in Apache Hive by HIVE-9710 (version 1.2.0) and in Apache Spark by SPARK-14987 (version 2.0.0), affecting org.apache.hive:hive-service, org.apache.spark:spark-hive-thriftserver_2.11, and org.apache.spark:spark-hive-thriftserver_2.12 components.

Affected Products

  • Apache Hive (versions 1.2.0 and later)
  • Apache Spark (versions 2.0.0 and later)
  • Apache Spark 3.5.0

Discovery Timeline

  • December 23, 2024 - CVE-2024-23945 published to NVD
  • July 14, 2025 - Last updated in NVD database

Technical Details for CVE-2024-23945

Vulnerability Analysis

This vulnerability is classified under CWE-209 (Generation of Error Message Containing Sensitive Information). The core issue lies in the error handling behavior of the CookieSigner component within Apache Hive's service layer and Apache Spark's Hive ThriftServer.

When a client submits a cookie with an invalid or mismatched signature, the application's error response inadvertently includes the expected valid signature. This information disclosure allows an attacker to learn the correct cookie signature without having access to the secret signing key, effectively bypassing the cookie integrity protection mechanism.

The vulnerability requires network access to exploit but does not require authentication or user interaction. While the attack complexity is considered high due to the need to trigger the signature mismatch condition, successful exploitation can lead to high integrity impact as attackers could forge authenticated sessions.

Root Cause

The root cause stems from improper error message handling in the CookieSigner class. When signature validation fails, the error response includes the computed expected signature value rather than a generic error message. This violates the principle of not exposing sensitive cryptographic material in error responses.

The vulnerable logic was introduced in:

  • Apache Hive through HIVE-9710 in version 1.2.0
  • Apache Spark through SPARK-14987 in version 2.0.0

Attack Vector

The attack vector is network-based, targeting the Hive ThriftServer or Spark ThriftServer endpoints. An attacker would:

  1. Submit a request to the vulnerable service with a crafted cookie containing an intentionally invalid signature
  2. Capture the error response that leaks the expected valid signature
  3. Use the obtained signature to forge a valid cookie
  4. Replay the forged cookie to gain unauthorized access or impersonate other users

The vulnerability exploits a signature mismatch condition where the server reveals cryptographic secrets in its response. Since the ThriftServer components handle cookie-based authentication for client sessions, successful exploitation could allow session hijacking or authentication bypass.

Detection Methods for CVE-2024-23945

Indicators of Compromise

  • Unusual cookie-related error responses from Hive or Spark ThriftServer containing signature data
  • Repeated failed authentication attempts followed by successful authentication from the same source
  • HTTP responses containing hexadecimal signature strings in error messages
  • Anomalous session patterns where cookie values appear to be replayed or modified

Detection Strategies

  • Monitor HTTP response bodies from Hive and Spark ThriftServer for signature exposure patterns
  • Implement logging for cookie validation failures with source IP tracking
  • Deploy web application firewall (WAF) rules to detect and block requests probing for signature disclosure
  • Review application logs for CookieSigner-related exceptions that may indicate exploitation attempts

Monitoring Recommendations

  • Enable detailed audit logging on Apache Hive and Spark ThriftServer components
  • Configure alerts for abnormal rates of cookie validation failures from single sources
  • Monitor for authentication anomalies following signature mismatch errors
  • Implement network traffic analysis to detect potential replay attacks using forged cookies

How to Mitigate CVE-2024-23945

Immediate Actions Required

  • Apply the official patches for Apache Hive and Apache Spark immediately
  • Review and rotate any cookie signing secrets that may have been compromised
  • Implement network segmentation to limit access to ThriftServer endpoints
  • Enable enhanced logging to detect potential exploitation attempts before patching

Patch Information

Apache has released patches to address this vulnerability:

  • Apache Hive: Apply commit 7638cb1a3b07713cc490aa2909a37037f89e08b4
  • Apache Spark: Apply commit cf59b1f51c16301f689b4e0f17ba4dbd140e1b19

For detailed information, refer to the Apache Mailing List announcement and the OSS-Security discussion.

Workarounds

  • Restrict network access to Hive and Spark ThriftServer endpoints to trusted networks only
  • Implement reverse proxy or WAF rules to filter error responses containing sensitive signature data
  • Consider disabling cookie-based authentication temporarily and using alternative authentication mechanisms if patching is delayed
  • Deploy additional authentication layers such as mTLS for ThriftServer connections
bash
# Configuration example: Restrict ThriftServer access via iptables
# Allow only trusted network ranges to access ThriftServer port (default 10000)
iptables -A INPUT -p tcp --dport 10000 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 10000 -j DROP

# For Spark ThriftServer (default port 10001)
iptables -A INPUT -p tcp --dport 10001 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 10001 -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechApache Hive

  • SeverityMEDIUM

  • CVSS Score5.9

  • EPSS Probability7.65%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-209
  • Technical References
  • GitHub Apache Hive Repository

  • GitHub Apache Spark Repository

  • Openwall OSS-Security Discussion
  • Vendor Resources
  • GitHub Hive Commit Update

  • GitHub Spark Commit Update

  • Apache JIRA HIVE-9710 Issue

  • Apache JIRA SPARK-14987 Issue

  • Apache Mailing List Thread

  • Apache Mailing List Thread
  • Latest CVEs
  • CVE-2025-49454: TinySalt Path Traversal Vulnerability

  • CVE-2025-48261: MultiVendorX Information Disclosure Flaw

  • CVE-2025-32119: CardGate WooCommerce SQL Injection Flaw

  • CVE-2025-26879: s2Member Plugin Reflected XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English