CVE-2024-23672
Apache Tomcat: WebSocket DoS with incomplete closing handshake
Reported by apache · Published March 13, 2024
tomcat-embed-websocket is fixed in 11.0.0-M17, 10.1.19, 9.0.86 and 1 more (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.apache.tomcat.embed:tomcat-embed-websocket | Maven Central | 11.0.0-M17, 10.1.19, 9.0.86, 8.5.99 |
| org.apache.tomcat:tomcat-websocket | Maven Central | 11.0.0-M17, 10.1.19, 9.0.86, 8.5.99 |
| org.apache.tomcat:tomcat | Maven Central | 11.0.0-M17, 10.1.19, 9.0.86, 8.5.99 |
| tomcat9 | Amazon Linux | 1:9.0.87-1.amzn2023.0.2 |
| tomcat9-docs-webapp | Amazon Linux | 1:9.0.87-1.amzn2023.0.2 |
| tomcat9-lib | Amazon Linux | 1:9.0.87-1.amzn2023.0.2 |
| tomcat-jsp-2.2-api | Amazon Linux | 7.0.76-10.amzn2.0.8 |
| tomcat-servlet-3.0-api | Amazon Linux | 7.0.76-10.amzn2.0.8 |
| tomcat9-servlet-4.0-api | Amazon Linux | 1:9.0.87-1.amzn2023.0.2 |
| tomcat-webapps | Amazon Linux | 7.0.76-10.amzn2.0.8 |
| tomcat9-jsp-2.3-api | Amazon Linux | 1:9.0.87-1.amzn2023.0.2 |
| tomcat-9 | Chainguard | 9.0.86-r0 |
15 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Tomcat | 11.0.0-M1, 10.1.0-M1, 9.0.0-M1 |
| amazon:2023 | tomcat9 | 0 |
| amazon:2023 | tomcat9-docs-webapp | 0 |
| amazon:2023 | tomcat9-lib | 0 |
| amazon:2 | tomcat-jsp-2.2-api | 0 |
| amazon:2 | tomcat-servlet-3.0-api | 0 |
| amazon:2023 | tomcat9-servlet-4.0-api | 0 |
| amazon:2 | tomcat-webapps | 0 |
| amazon:2023 | tomcat9-jsp-2.3-api | 0 |
| chainguard | tomcat-9 | 0 |
| amazon:2 | tomcat-admin-webapps | 0 |
| amazon:2 | tomcat-javadoc | 0 |
| amazon:2023 | tomcat9-webapps | 0 |
| amazon:2 | tomcat-jsvc | 0 |
| amazon:2 | tomcat-docs-webapp | 0 |
| Apache Software Foundation | Apache Tomcat | 8.5.0, 11.0.0-M1, 10.1.0-M1 |
| Maven | org.apache.tomcat:tomcat | 11.0.0-M1, 10.1.0-M1, 9.0.0-M1 |
| amazon:2 | tomcat | 0 |
| wolfi | tomcat-9 | 0 |
| Maven | org.apache.tomcat:tomcat-websocket | 9.0.0-M1, 8.5.0, 11.0.0-M1 |
…and 5 more
Timeline
- Mar 13, 2024 CVE Published
- Mar 14, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (24 in total, the first dated here)
- Mar 17, 2026 Security Advisory (21 in total, the first dated here)
- Nov 22, 2026 Distribution Patch (17 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-23672
vulnetix vdb fixes CVE-2024-23672
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-23672/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- vendor-advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3UWIS5MMGYDZBLJYT674ZI5AWFHDZ46B url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/736G4GPZWS2DSQO5WKXO3G6OMZKFEK55 url
- https://security.netapp.com/advisory/ntap-20240402-0002 advisory
- https://nvd.nist.gov/vuln/detail/CVE-2024-23672 advisory
- https://github.com/advisories/GHSA-v682-8vv8-vpwr advisory
- https://github.com/apache/tomcat/commit/0052b374684b613b0c849899b325ebe334ac6501 patch
- https://github.com/apache/tomcat/commit/3631adb1342d8bbd8598802a12b63ad02c37d591 patch
- https://github.com/apache/tomcat/commit/52d6650e062d880704898d7d8c1b2b7a3efe8068 patch
- https://github.com/apache/tomcat/commit/b0e3b1bd78de270d53e319d7cb79eb282aa53cb9 patch
- https://github.com/apache/tomcat url
- https://security.netapp.com/advisory/ntap-20240402-0002/ url
- https://lists.debian.org/debian-lts-announce/2024/04/msg00001.html url
- http://www.openwall.com/lists/oss-security/2024/03/13/4 url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/736G4GPZWS2DSQO5WKXO3G6OMZKFEK55/ url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3UWIS5MMGYDZBLJYT674ZI5AWFHDZ46B/ url