Skip to main content
EPSS 2.3%top 18%

Apache Tomcat: WebSocket DoS with incomplete closing handshake (CVE-2024-23672)

0
Medium
Published: 07/17/2025 (07/17/2025, 08:09:47 UTC)
Source: GCVE Database
Product: tomcat

Description

CVE-2024-23672 is a denial of service vulnerability in Apache Tomcat caused by improper handling of WebSocket connection cleanup. WebSocket clients can keep connections open indefinitely, leading to increased resource consumption. This affects Apache Tomcat versions 8.5.0 through 8.5.98, 9.0.0 through 9.0.85, 10.1.0 through 10.1.18, and 11.0.0. Users are advised to upgrade to fixed versions 8.5.99, 9.0.86, 10.1.19, or 11.0.0. The issue is addressed in official Ubuntu security advisories with patches available for supported releases.

Affected software

Ubuntu:Pro:14.04:LTSmore threats →ghsa
tomcat7
pkg:deb/ubuntu/[email protected]+esm2?arch=source&distro=esm-infra-legacy/trusty
Affected versions
=7.0.42-1=7.0.47-1=7.0.50-1=7.0.52-1=7.0.52-1ubuntu0.1=7.0.52-1ubuntu0.3=7.0.52-1ubuntu0.6=7.0.52-1ubuntu0.7=7.0.52-1ubuntu0.8=7.0.52-1ubuntu0.9=7.0.52-1ubuntu0.10=7.0.52-1ubuntu0.11=7.0.52-1ubuntu0.13=7.0.52-1ubuntu0.14=7.0.52-1ubuntu0.15=7.0.52-1ubuntu0.16=7.0.52-1ubuntu0.16+esm1=7.0.52-1ubuntu0.16+esm2
Ubuntu:Pro:16.04:LTSmore threats →ghsa
tomcat8
pkg:deb/ubuntu/[email protected]+esm2?arch=source&distro=esm-infra-legacy/xenial
Affected versions
=8.0.26-1=8.0.28-1=8.0.30-1=8.0.32-1=8.0.32-1ubuntu1=8.0.32-1ubuntu1.1=8.0.32-1ubuntu1.2=8.0.32-1ubuntu1.3=8.0.32-1ubuntu1.4=8.0.32-1ubuntu1.5=8.0.32-1ubuntu1.6=8.0.32-1ubuntu1.7=8.0.32-1ubuntu1.8=8.0.32-1ubuntu1.9=8.0.32-1ubuntu1.10=8.0.32-1ubuntu1.11=8.0.32-1ubuntu1.13=8.0.32-1ubuntu1.13+esm1=8.0.32-1ubuntu1.13+esm2
Ubuntu:Pro:16.04:LTSmore threats →ghsa
tomcat7
pkg:deb/ubuntu/[email protected]+esm4?arch=source&distro=esm-apps-legacy/xenial
Affected versions
=7.0.64-1=7.0.68-1=7.0.68-1ubuntu0.1=7.0.68-1ubuntu0.3=7.0.68-1ubuntu0.4=7.0.68-1ubuntu0.4+esm1=7.0.68-1ubuntu0.4+esm2=7.0.68-1ubuntu0.4+esm3=7.0.68-1ubuntu0.4+esm4
Ubuntu:Pro:18.04:LTSmore threats →ghsa
tomcat8
pkg:deb/ubuntu/[email protected]~18.04.3+esm5?arch=source&distro=esm-apps/bionic
Affected versions
<8.5.39-1ubuntu1~18.04.3+esm5=8.5.21-1ubuntu1=8.5.29-1=8.5.30-1=8.5.30-1ubuntu1=8.5.30-1ubuntu1.2=8.5.30-1ubuntu1.3=8.5.30-1ubuntu1.4=8.5.39-1ubuntu1~18.04.1=8.5.39-1ubuntu1~18.04.2=8.5.39-1ubuntu1~18.04.3=8.5.39-1ubuntu1~18.04.3+esm1=8.5.39-1ubuntu1~18.04.3+esm2=8.5.39-1ubuntu1~18.04.3+esm3=8.5.39-1ubuntu1~18.04.3+esm4
Ubuntu:Pro:18.04:LTSmore threats →ghsa
tomcat9
pkg:deb/ubuntu/[email protected]+esm4?arch=source&distro=esm-apps/bionic
Affected versions
<9.0.16-3ubuntu0.18.04.2+esm4=9.0.16-3~18.04.1=9.0.16-3ubuntu0.18.04.1=9.0.16-3ubuntu0.18.04.2=9.0.16-3ubuntu0.18.04.2+esm1=9.0.16-3ubuntu0.18.04.2+esm2=9.0.16-3ubuntu0.18.04.2+esm3
Ubuntu:20.04:LTSmore threats →ghsa
tomcat9
pkg:deb/ubuntu/[email protected]?arch=source&distro=focal
Affected versions
<9.0.31-1ubuntu0.8=9.0.24-1=9.0.27-1=9.0.31-1=9.0.31-1ubuntu0.1=9.0.31-1ubuntu0.2=9.0.31-1ubuntu0.3=9.0.31-1ubuntu0.4=9.0.31-1ubuntu0.5=9.0.31-1ubuntu0.6=9.0.31-1ubuntu0.7
Ubuntu:Pro:22.04:LTSmore threats →ghsa
tomcat9
pkg:deb/ubuntu/[email protected]+esm4?arch=source&distro=esm-apps/jammy
Affected versions
<9.0.58-1ubuntu0.1+esm4=9.0.43-3=9.0.54-1=9.0.55-1=9.0.58-1=9.0.58-1ubuntu0.1=9.0.58-1ubuntu0.1+esm1=9.0.58-1ubuntu0.1+esm2=9.0.58-1ubuntu0.1+esm3
Ubuntu:Pro:24.04:LTSmore threats →ghsa
tomcat10
pkg:deb/ubuntu/[email protected]~esm2?arch=source&distro=esm-apps/noble
Affected versions
<10.1.16-1ubuntu0.1~esm2=10.1.10-1=10.1.14-1=10.1.15-1=10.1.16-1=10.1.16-1ubuntu0.1~esm1
Ubuntu:Pro:24.04:LTSmore threats →ghsa
tomcat9
pkg:deb/ubuntu/[email protected]+esm2?arch=source&distro=esm-apps/noble
Affected versions
<9.0.70-2ubuntu0.1+esm2=9.0.70-1ubuntu1=9.0.70-2=9.0.70-2ubuntu0.1=9.0.70-2ubuntu0.1+esm1
Ubuntu:25.10more threats →ghsa
tomcat9
pkg:deb/ubuntu/[email protected]?arch=source&distro=questing
Affected versions
<9.0.70-2ubuntu3=9.0.70-2ubuntu1.1=9.0.70-2ubuntu2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/08/2026, 15:09:54 UTC

Technical Analysis

Apache Tomcat versions 8.5.0 to 8.5.98, 9.0.0 to 9.0.85, 10.1.0 to 10.1.18, and 11.0.0 contain a vulnerability (CVE-2024-23672) where incomplete cleanup of WebSocket connections allows clients to keep connections open, causing resource exhaustion and denial of service. The vulnerability is due to incorrect socket cleanup handling. Official patches have been released in Tomcat versions 8.5.99, 9.0.86, 10.1.19, and 11.0.0. Ubuntu security advisories USN-7106-1 and USN-7562-1 confirm fixes are available for supported Ubuntu LTS releases and Ubuntu Pro via ESM. The vulnerability is categorized under CWE-459 (Incomplete Cleanup). There are no known exploits in the wild.

Potential Impact

An attacker can exploit this vulnerability to cause a denial of service by exhausting server resources through persistent WebSocket connections that are not properly closed. This can degrade or disrupt service availability for legitimate users. No data leakage or remote code execution is indicated. The impact is limited to resource exhaustion leading to service disruption.

Mitigation Recommendations

A patch is available and should be applied by upgrading Apache Tomcat to versions 8.5.99, 9.0.86, 10.1.19, or 11.0.0 or later. Ubuntu users should apply the security updates provided in the Ubuntu security notices USN-7106-1 and USN-7562-1. For Ubuntu Pro users, fixes are available via Extended Security Maintenance (ESM). No additional mitigations are required beyond applying the official patches.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2024-23672
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:Pro:14.04:LTS","Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:Pro:22.04:LTS","Ubuntu:Pro:24.04:LTS","Ubuntu:25.10"]
Cvss Version
3.1

Threat ID: 6a58b51168715ace43db354a

Added to database: 07/16/2026, 10:40:17 UTC

Last enriched: 09/08/2026, 15:09:54 UTC

Last updated: 09/10/2026, 19:36:47 UTC

Views: 51

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses