banner logoJoin us at RSAC™ 2026 Conference, March 23–March 26 | North Expo, Booth N-5863Join us at RSAC™ 2026, March 23–March 26Learn More
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • 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
    • 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
    • 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-5971

CVE-2024-5971: Undertow Denial of Service Vulnerability

CVE-2024-5971 is a denial of service vulnerability in Undertow caused by chunked response handling issues with Java 17 TLSv1.3. This article covers technical details, affected versions, impact, and mitigation steps.

Updated: January 22, 2026

CVE-2024-5971 Overview

A denial of service vulnerability was discovered in Undertow, a flexible high-performance web server written in Java. The vulnerability occurs when handling chunked HTTP responses, where the response hangs after the body has been flushed. While the response headers and body are successfully sent to the client, Undertow fails to send the expected 0\r\n termination sequence that signals the end of a chunked transfer encoding response. This causes clients to continue waiting indefinitely for additional data, resulting in uncontrolled resource consumption on the server side.

This vulnerability specifically affects environments running Java 17 with TLSv1.3 enabled, making it a targeted attack vector against modern Java deployments using the latest TLS protocol version.

Critical Impact

This vulnerability enables attackers to exhaust server resources through connection starvation, effectively rendering affected Undertow-based applications unavailable to legitimate users.

Affected Products

  • Undertow (Java web server)
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat Single Sign-On

Discovery Timeline

  • July 8, 2024 - CVE-2024-5971 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2024-5971

Vulnerability Analysis

This vulnerability falls under CWE-674 (Uncontrolled Recursion) and manifests as a resource exhaustion condition in Undertow's HTTP response handling mechanism. When a server using Undertow attempts to send a chunked HTTP response over a TLSv1.3 connection running on Java 17, the response lifecycle fails to complete properly.

In HTTP/1.1 chunked transfer encoding, the server signals the end of the response body by sending a final chunk with a size of zero (0\r\n\r\n). Undertow's implementation contains a flaw where this termination sequence is not transmitted under specific conditions involving Java 17's TLSv1.3 implementation. The client, expecting this termination, continues to wait for data that will never arrive, holding the connection open indefinitely.

Root Cause

The root cause lies in Undertow's interaction with Java 17's TLSv1.3 implementation during the response finalization phase. When the response body is flushed, the internal state machine responsible for sending the chunked encoding termination sequence fails to execute properly. This appears to be related to how Java 17 handles TLS record boundaries differently than previous Java versions, causing the final termination bytes to be lost or never written to the output stream.

Attack Vector

An attacker can exploit this vulnerability by making multiple requests to a vulnerable Undertow server that responds with chunked transfer encoding. Each request establishes a connection that remains open indefinitely due to the missing termination sequence. By initiating numerous concurrent connections, the attacker can exhaust the server's connection pool, thread resources, and file descriptors, ultimately preventing legitimate users from connecting.

The attack requires only network access to the target server and does not require authentication or any user interaction. The low complexity of exploitation, combined with the significant availability impact, makes this vulnerability particularly dangerous for internet-facing applications.

Detection Methods for CVE-2024-5971

Indicators of Compromise

  • Abnormally high number of established HTTP connections in ESTABLISHED state that persist beyond expected timeout periods
  • Server thread pool exhaustion with threads blocked waiting on I/O operations
  • Increased memory consumption due to connection objects not being released
  • Client-side timeout errors when connecting to affected services
  • Log entries indicating connection or thread pool exhaustion

Detection Strategies

  • Monitor the number of active HTTP connections and alert when thresholds exceed normal operational baselines
  • Implement connection timeout monitoring to detect connections that remain open beyond expected response times
  • Track Java thread states and alert on unusual numbers of threads blocked in network I/O operations
  • Review server access logs for patterns of repeated requests from single sources without corresponding response completions

Monitoring Recommendations

  • Configure application performance monitoring (APM) to track connection lifecycle metrics
  • Enable JMX monitoring for Undertow connection pools and thread executors
  • Set up alerts for connection pool saturation events
  • Monitor network socket states using tools like netstat or ss to identify stuck connections
  • Implement synthetic monitoring that validates complete HTTP response cycles including proper termination

How to Mitigate CVE-2024-5971

Immediate Actions Required

  • Apply the latest security patches from Red Hat for affected products
  • If immediate patching is not possible, consider temporarily disabling TLSv1.3 and using TLSv1.2 as a workaround
  • Implement connection timeout configurations to forcibly close connections after a defined period
  • Enable rate limiting to reduce the impact of potential exploitation attempts
  • Review and harden connection pool and thread pool limits to ensure graceful degradation under attack

Patch Information

Red Hat has released multiple security advisories addressing this vulnerability across their product portfolio. Organizations should apply the appropriate patches based on their deployed products:

  • Red Hat Security Advisory RHSA-2024:4392
  • Red Hat Security Advisory RHSA-2024:4884
  • Red Hat Security Advisory RHSA-2024:5143
  • Red Hat Security Advisory RHSA-2024:5144
  • Red Hat Security Advisory RHSA-2024:5145
  • Red Hat Security Advisory RHSA-2024:5147
  • Red Hat Security Advisory RHSA-2024:6508
  • Red Hat Security Advisory RHSA-2024:6883

NetApp has also issued NetApp Security Advisory NTAP-20240828-0001 for affected NetApp products.

Additional details are available in the Red Hat CVE Details for CVE-2024-5971 and Red Hat Bug Report #2292211.

Workarounds

  • Temporarily downgrade TLS configuration to use TLSv1.2 instead of TLSv1.3 until patches can be applied
  • Configure aggressive connection timeouts at the load balancer or reverse proxy level
  • Implement Web Application Firewall (WAF) rules to detect and block potential DoS patterns
  • Consider using a different Java runtime version if Java 17 is not strictly required
  • Deploy the application behind a reverse proxy that handles chunked encoding termination independently
bash
# Configuration example - Disable TLSv1.3 in Java 17 as temporary workaround
# Add to JVM startup options:
-Djdk.tls.client.protocols=TLSv1.2
-Djdk.tls.server.protocols=TLSv1.2

# Or configure via security properties file:
# Edit $JAVA_HOME/conf/security/java.security
# Add or modify:
jdk.tls.disabledAlgorithms=TLSv1.3

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechUndertow

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability3.70%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-674
  • Technical References
  • Red Hat Security Advisory RHSA-2024:4392

  • Red Hat Security Advisory RHSA-2024:4884

  • Red Hat Security Advisory RHSA-2024:5143

  • Red Hat Security Advisory RHSA-2024:5144

  • Red Hat Security Advisory RHSA-2024:5145

  • Red Hat Security Advisory RHSA-2024:5147

  • Red Hat Security Advisory RHSA-2024:6508

  • Red Hat Security Advisory RHSA-2024:6883

  • Red Hat CVE Details CVE-2024-5971

  • Red Hat Bug Report #2292211

  • NetApp Security Advisory NTAP-20240828-0001
  • Related CVEs
  • CVE-2024-4027: Undertow DoS Vulnerability via Parameters

  • CVE-2024-6162: Undertow AJP Listener DoS Vulnerability

  • CVE-2025-12543: Redhat Apache Camel SSRF Vulnerability

  • CVE-2023-4639: Undertow Cookie Parsing Vulnerability
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
  • English
  • 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