CVE-2024-23672: Denial of Service via incomplete cleanup vulnerability in Apache Tomcat
Denial of Service via incomplete cleanup vulnerability in Apache Tomcat. It was possible for WebSocket clients to keep WebSocket connections open leading to increased resource consumption.This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.0-M16, from 10.1.0-M1 through 10.1.18, from 9.0.0-M1 through 9.0.85, from 8.5.0 through 8.5.98. Older, EOL versions may also be affected.
Published Mar 13, 2024 · Updated Aug 8, 2025
Affected packages
org.apache.tomcat:tomcat-websocket
- Ecosystem
- Maven
- Affected
- >= 11.0.0-M1, <= 11.0.0-M16
- Fixed in
- 11.0.0-M17
- Check
mvn dependency:tree -Dincludes=org.apache.tomcat:tomcat-websocket
org.apache.tomcat:tomcat-websocket
- Ecosystem
- Maven
- Affected
- >= 10.1.0-M1, <= 10.1.18
- Fixed in
- 10.1.19
- Check
mvn dependency:tree -Dincludes=org.apache.tomcat:tomcat-websocket
org.apache.tomcat:tomcat-websocket
- Ecosystem
- Maven
- Affected
- >= 9.0.0-M1, <= 9.0.85
- Fixed in
- 9.0.86
- Check
mvn dependency:tree -Dincludes=org.apache.tomcat:tomcat-websocket
org.apache.tomcat:tomcat-websocket
- Ecosystem
- Maven
- Affected
- >= 8.5.0, <= 8.5.98
- Fixed in
- 8.5.99
- Check
mvn dependency:tree -Dincludes=org.apache.tomcat:tomcat-websocket
org.apache.tomcat.embed:tomcat-embed-websocket
- Ecosystem
- Maven
- Affected
- >= 11.0.0-M1, <= 11.0.0-M16
- Fixed in
- 11.0.0-M17
- Check
mvn dependency:tree -Dincludes=org.apache.tomcat.embed:tomcat-embed-websocket
org.apache.tomcat.embed:tomcat-embed-websocket
- Ecosystem
- Maven
- Affected
- >= 10.1.0-M1, <= 10.1.18
- Fixed in
- 10.1.19
- Check
mvn dependency:tree -Dincludes=org.apache.tomcat.embed:tomcat-embed-websocket
org.apache.tomcat.embed:tomcat-embed-websocket
- Ecosystem
- Maven
- Affected
- >= 9.0.0-M1, <= 9.0.85
- Fixed in
- 9.0.86
- Check
mvn dependency:tree -Dincludes=org.apache.tomcat.embed:tomcat-embed-websocket
org.apache.tomcat.embed:tomcat-embed-websocket
- Ecosystem
- Maven
- Affected
- >= 8.5.0, <= 8.5.98
- Fixed in
- 8.5.99
- Check
mvn dependency:tree -Dincludes=org.apache.tomcat.embed:tomcat-embed-websocket
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Denial of Service via incomplete cleanup vulnerability in Apache Tomcat. It was possible for WebSocket clients to keep WebSocket connections open leading to increased resource consumption.This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.0-M16, from 10.1.0-M1 through 10.1.18, from 9.0.0-M1 through 9.0.85, from 8.5.0 through 8.5.98. Older, EOL versions may also be affected.
Users are recommended to upgrade to version 11.0.0-M17, 10.1.19, 9.0.86 or 8.5.99 which fix the issue.
Credited to westonsteimel.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-23672
- https://lists.apache.org/thread/cmpswfx6tj4s7x0nxxosvfqs11lvdx2f
- https://github.com/apache/tomcat/commit/0052b374684b613b0c849899b325ebe334ac6501
- https://github.com/apache/tomcat/commit/3631adb1342d8bbd8598802a12b63ad02c37d591
- https://github.com/apache/tomcat/commit/52d6650e062d880704898d7d8c1b2b7a3efe8068
- https://github.com/apache/tomcat/commit/b0e3b1bd78de270d53e319d7cb79eb282aa53cb9
- https://security.netapp.com/advisory/ntap-20240402-0002
- https://lists.debian.org/debian-lts-announce/2024/04/msg00001.html
- https://lists.fedoraproject.org/archives/list/[email protected]/message/736G4GPZWS2DSQO5WKXO3G6OMZKFEK55
- https://lists.fedoraproject.org/archives/list/[email protected]/message/3UWIS5MMGYDZBLJYT674ZI5AWFHDZ46B
- https://github.com/advisories/GHSA-v682-8vv8-vpwr
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
