The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-23672

CVE-2024-23672: Apache Tomcat WebSocket DoS Vulnerability

CVE-2024-23672 is a denial of service vulnerability in Apache Tomcat caused by incomplete cleanup of WebSocket connections. Attackers can exhaust server resources by keeping connections open indefinitely.

Published: January 28, 2026

CVE-2024-23672 Overview

CVE-2024-23672 is a Denial of Service vulnerability affecting Apache Tomcat caused by incomplete cleanup of WebSocket connections. This flaw allows WebSocket clients to keep connections open indefinitely, leading to increased resource consumption on the server. The vulnerability stems from improper handling of WebSocket connection lifecycle management, classified under CWE-459 (Incomplete Cleanup).

The vulnerability affects a wide range of Apache Tomcat versions across multiple major release branches, making it a significant concern for organizations running web applications on this popular Java servlet container. Attackers can exploit this weakness to exhaust server resources by maintaining numerous open WebSocket connections, potentially degrading service availability for legitimate users.

Critical Impact

Attackers can exhaust server resources by keeping WebSocket connections open indefinitely, leading to service degradation or complete denial of service for Apache Tomcat-hosted applications.

Affected Products

  • Apache Tomcat 11.0.0-M1 through 11.0.0-M16
  • Apache Tomcat 10.1.0-M1 through 10.1.18
  • Apache Tomcat 9.0.0-M1 through 9.0.85
  • Apache Tomcat 8.5.0 through 8.5.98
  • Debian Linux 10.0
  • Fedora 39 and 40

Discovery Timeline

  • March 13, 2024 - CVE-2024-23672 published to NVD
  • August 7, 2025 - Last updated in NVD database

Technical Details for CVE-2024-23672

Vulnerability Analysis

This vulnerability exploits a fundamental weakness in Apache Tomcat's WebSocket implementation related to incomplete cleanup of resources. When a WebSocket connection is established, Tomcat allocates server-side resources to manage the bidirectional communication channel. Under normal operation, these resources should be released when the connection is properly closed or times out.

However, due to the incomplete cleanup flaw, malicious clients can manipulate WebSocket connections to remain open beyond their intended lifecycle without triggering proper resource deallocation. This behavior allows attackers to accumulate numerous stale connections, gradually consuming memory, thread pools, and other server resources until the system becomes unresponsive or crashes.

The attack is particularly effective because WebSocket connections are designed for long-lived bidirectional communication, making it difficult to distinguish between legitimate long-running connections and malicious resource-hoarding attempts without proper connection management controls.

Root Cause

The root cause of CVE-2024-23672 lies in Apache Tomcat's WebSocket connection handling logic, which fails to properly clean up resources under certain connection termination scenarios. Specifically, when WebSocket clients do not follow the standard connection close handshake or maintain connections in an abnormal state, the server-side cleanup routines do not execute correctly.

This results in orphaned resources that remain allocated even though the connection is no longer actively transmitting data. The incomplete cleanup mechanism means that connection timeouts and error handling paths do not properly release all associated objects and memory structures, leading to gradual resource accumulation.

Attack Vector

The attack vector for this vulnerability is network-based and requires low privileges to execute. An attacker can exploit CVE-2024-23672 through the following approach:

  1. Connection Establishment: The attacker initiates multiple WebSocket connections to the target Apache Tomcat server using a WebSocket client or custom script
  2. Connection Persistence: Instead of properly closing connections, the attacker keeps them in an open state by sending periodic keep-alive frames or simply leaving them idle without triggering normal timeout behavior
  3. Resource Exhaustion: By repeating this process across many connections, the attacker gradually consumes server resources including memory, file descriptors, and thread pool capacity
  4. Service Degradation: As resources become exhausted, legitimate users experience slow response times, connection failures, or complete service unavailability

The attack does not require authentication in most configurations since WebSocket endpoints are often publicly accessible. The exploitation can be automated using simple scripts that establish and maintain large numbers of connections.

Detection Methods for CVE-2024-23672

Indicators of Compromise

  • Unusually high number of open WebSocket connections from single IP addresses or small IP ranges
  • Gradual increase in memory consumption on Tomcat server processes without corresponding application load increases
  • Thread pool exhaustion warnings in Tomcat logs related to WebSocket handling
  • Increased count of connections in ESTABLISHED or CLOSE_WAIT states on WebSocket ports

Detection Strategies

  • Monitor WebSocket connection counts per client IP address and alert on anomalous patterns exceeding normal thresholds
  • Implement connection rate limiting and maximum connection tracking at the load balancer or application firewall level
  • Configure Tomcat access logs to capture WebSocket connection events and analyze for suspicious patterns
  • Deploy network intrusion detection rules to identify clients establishing excessive WebSocket connections

Monitoring Recommendations

  • Set up real-time alerts for Tomcat JVM heap memory utilization exceeding defined thresholds
  • Monitor thread pool metrics using JMX or monitoring agents to detect exhaustion conditions
  • Track active WebSocket session counts through Tomcat Manager or custom monitoring endpoints
  • Implement automated log analysis to correlate connection patterns with resource consumption metrics

How to Mitigate CVE-2024-23672

Immediate Actions Required

  • Upgrade Apache Tomcat to patched versions: 11.0.0-M17, 10.1.19, 9.0.86, or 8.5.99 immediately
  • Review current WebSocket connection configurations and implement maximum connection limits per client
  • Enable connection timeout settings to automatically terminate idle WebSocket connections
  • Apply rate limiting at the network perimeter to restrict WebSocket connection establishment rates

Patch Information

Apache has released security patches that address the incomplete cleanup vulnerability in the WebSocket implementation. Users should upgrade to the following fixed versions based on their Tomcat branch:

BranchVulnerable VersionsFixed Version
11.x11.0.0-M1 through 11.0.0-M1611.0.0-M17
10.1.x10.1.0-M1 through 10.1.1810.1.19
9.0.x9.0.0-M1 through 9.0.859.0.86
8.5.x8.5.0 through 8.5.988.5.99

Older, end-of-life versions may also be affected and should be upgraded to supported branches. Refer to the Apache Security Mailing List for the official security advisory. Additional platform-specific guidance is available from Debian LTS Announcement, Fedora Package Announcements, and NetApp Security Advisory.

Workarounds

  • Configure WebSocket idle timeout settings in server.xml to automatically close inactive connections
  • Implement a reverse proxy with connection limiting capabilities in front of Tomcat servers
  • Use application-level connection management to track and terminate long-running WebSocket sessions
  • Deploy Web Application Firewall rules to limit WebSocket connection rates from individual clients
xml
<!-- Example Tomcat server.xml WebSocket timeout configuration -->
<Connector port="8080" protocol="HTTP/1.1"
           connectionTimeout="20000"
           maxConnections="10000"
           acceptCount="100"
           maxKeepAliveRequests="100" />

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechApache Tomcat

  • SeverityMEDIUM

  • CVSS Score6.3

  • EPSS Probability0.58%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-459
  • Technical References
  • OpenWall OSS Security Update

  • Debian LTS Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • NetApp Security Advisory
  • Vendor Resources
  • Apache Security Mailing List
  • Related CVEs
  • CVE-2025-53506: Apache Tomcat HTTP/2 DoS Vulnerability

  • CVE-2025-52520: Apache Tomcat Integer Overflow DoS Flaw

  • CVE-2025-48989: Apache Tomcat DOS Vulnerability

  • CVE-2024-38286: Apache Tomcat DOS 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
  • 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