A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-12397

CVE-2024-12397: Quarkus-HTTP Cookie Parsing Vulnerability

CVE-2024-12397 is an information disclosure vulnerability in Quarkus-HTTP that allows attackers to exfiltrate HttpOnly cookies or spoof cookie values. This article covers the technical details, affected versions, and mitigations.

Published: May 26, 2026

CVE-2024-12397 Overview

CVE-2024-12397 is a cookie parsing flaw in Quarkus-HTTP that mishandles value-delimiting characters in incoming HTTP requests. An attacker can craft a cookie value to exfiltrate HttpOnly cookie contents or inject spoofed cookie values into the parsed request. The flaw is classified under CWE-444, Inconsistent Interpretation of HTTP Requests (HTTP Request/Response Smuggling). Successful exploitation impacts confidentiality and integrity of session data handled by affected Quarkus applications. The issue is network-reachable, requires no authentication, and no user interaction.

Critical Impact

Attackers can exfiltrate HttpOnly session cookies or spoof additional cookie values, leading to unauthorized data access and session integrity compromise.

Affected Products

  • Quarkus-HTTP (upstream component)
  • Red Hat build of Quarkus (see RHSA-2025:0900)
  • Red Hat middleware products bundling Quarkus-HTTP (see RHSA-2025:3018 and RHSA-2025:8761)

Discovery Timeline

  • 2024-12-12 - CVE-2024-12397 published to NVD
  • 2025-01-30 - Red Hat publishes RHSA-2025:0900
  • 2025-03-19 - Red Hat publishes RHSA-2025:3018
  • 2025-06-09 - Red Hat publishes RHSA-2025:8761
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2024-12397

Vulnerability Analysis

Quarkus-HTTP incorrectly parses cookie headers that contain certain value-delimiting characters. The parser does not consistently identify cookie name and value boundaries when an attacker injects characters such as double quotes, commas, or equals signs inside a crafted Cookie header. This inconsistency lets the attacker influence how downstream application logic reads cookie state. The result is either disclosure of cookies marked HttpOnly to attacker-controlled cookie names or insertion of arbitrary cookie name/value pairs into the parsed map.

The issue maps to CWE-444, where one HTTP component interprets a request differently than another. Quarkus applications that rely on cookie integrity for session handling, CSRF tokens, or authorization state are directly impacted.

Root Cause

The root cause lies in the cookie header tokenizer inside Quarkus-HTTP. The parser does not strictly follow RFC 6265 rules for handling quoted values and special delimiters. When a single Cookie header contains a value with an embedded delimiter, the parser splits the string in a way that exposes adjacent cookie data or accepts attacker-supplied substitutes for it.

Attack Vector

The attacker sends an HTTP request with a crafted Cookie header to a Quarkus-HTTP backed endpoint. No authentication or user interaction is required. The crafted header coerces the parser into producing a cookie map that either leaks the value of a sibling HttpOnly cookie or adds attacker-chosen key/value pairs. No public proof-of-concept exploit is currently listed in the referenced advisories. See the Red Hat CVE-2024-12397 Report and Red Hat Bugzilla #2331298 for vendor analysis.

Detection Methods for CVE-2024-12397

Indicators of Compromise

  • Inbound Cookie headers containing unescaped double quotes, commas, or unexpected = characters inside a single cookie value.
  • Application logs showing cookie names that were never set by the server appearing in session state.
  • Repeated requests from the same client probing different cookie payload variants against authentication endpoints.

Detection Strategies

  • Inspect HTTP access logs and web application firewall telemetry for malformed Cookie headers, particularly values containing quote characters or commas.
  • Compare cookies emitted by the server against cookies the application observes in subsequent requests to detect spoofed entries.
  • Hunt for anomalous session identifier reuse across different source IPs that may indicate HttpOnly cookie exfiltration.

Monitoring Recommendations

  • Enable verbose request logging on Quarkus endpoints handling authentication or session-bound APIs.
  • Forward web server and reverse proxy logs to a centralized analytics platform and alert on cookie header anomalies.
  • Track Red Hat advisories RHSA-2025:0900, RHSA-2025:3018, and RHSA-2025:8761 for product-specific fixed versions.

How to Mitigate CVE-2024-12397

Immediate Actions Required

  • Inventory all Quarkus deployments and identify services that embed Quarkus-HTTP as the transport layer.
  • Apply vendor-supplied updates listed in the Red Hat advisories to affected middleware and runtime products.
  • Rotate session identifiers and any sensitive cookie values issued before patching to invalidate potentially exfiltrated data.

Patch Information

Red Hat has published fixes through RHSA-2025:0900, RHSA-2025:3018, and RHSA-2025:8761. Operators of upstream Quarkus-HTTP should upgrade to the fixed component versions referenced in the Red Hat CVE-2024-12397 Report. Verify each deployed product against its corresponding advisory before declaring remediation complete.

Workarounds

  • Deploy a reverse proxy or web application firewall rule that rejects Cookie headers containing unescaped quote or comma characters.
  • Reduce the blast radius by setting short session lifetimes and binding session tokens to client attributes such as source IP or TLS fingerprint.
  • Audit application code to avoid trusting cookie values for security-sensitive decisions without server-side validation.
bash
# Example NGINX rule to drop requests with suspicious Cookie header characters
map $http_cookie $bad_cookie {
    default 0;
    "~[\"]" 1;
}

server {
    if ($bad_cookie) {
        return 400;
    }
}

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechQuarkus

  • SeverityHIGH

  • CVSS Score7.4

  • EPSS Probability0.57%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-444
  • Technical References
  • Red Hat Security Advisory RHSA-2025:0900

  • Red Hat Security Advisory RHSA-2025:3018

  • Red Hat Security Advisory RHSA-2025:8761

  • Red Hat CVE-2024-12397 Report

  • Red Hat Bugzilla Report #2331298
  • Related CVEs
  • CVE-2025-1247: Quarkus REST Information Disclosure Flaw

  • CVE-2024-2700: Quarkus Information Disclosure Vulnerability

  • CVE-2026-42333: Quarkus OpenAPI Auth Bypass Vulnerability

  • CVE-2026-39852: Quarkus Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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