Apache Tomcat 11.0.26 Fixes 12 Security Flaws Enabling WebSocket Bypass and DoS Attacks
Apache Tomcat 11.0.26 patches 12 flaws, including a WebSocket access-control bypass and several DoS bugs.
WebSocket Async Write Timeout DoS in Apache Tomcat
Apache Tomcat mishandles the timeouts that govern asynchronous WebSocket writes, due to a missing release of resources after their effective lifetime combined with a comparison using wrong factors (CWE-772/CWE-1025). A malicious or misbehaving WebSocket client can cause these write timeouts to be lost, so connections, buffers, and associated server resources are never cleaned up and accumulate on the server. The impact is denial of service against applications hosting WebSocket endpoints, not data disclosure or code execution. All currently supported Tomcat branches are affected (11.0.0-M1–11.0.25, 10.1.0-M1–10.1.59, 9.0.0.M1–9.0.121), plus the EOL 8.5.0–8.5.100 and 7.0.43–7.0.109 ranges. There is no CVSS score yet, no public proof of concept, and no known exploitation in the wild.
What to do: Upgrade to Apache Tomcat 11.0.26, 10.1.60, or 9.0.122 depending on your branch; deployments on EOL 8.5.x or 7.0.x cannot receive a fix and should migrate to a supported release. If immediate patching is not possible, enforce authentication and rate limits on WebSocket endpoints, cap concurrent WebSocket connections per client, and alert on long-lived or stuck async-write sessions. After patching, verify that WebSocket write timeouts now fire correctly under load testing.
| Product | Affected |
|---|---|
| Apache Tomcat | 11.0.0-M1 through 11.0.25 |
| Apache Tomcat | 10.1.0-M1 through 10.1.59 |
| Apache Tomcat | 9.0.0.M1 through 9.0.121 |
| Apache Tomcat | 8.5.0 through 8.5.100 (EOL) |
| Apache Tomcat | 7.0.43 through 7.0.109 (EOL) |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
Missing release of resource after effective lifetime, Comparison using wrong factors vulnerability in Apache Tomcat allows a denial of service as a result of lost time outs for asynchronous WebSocket writes. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.25, from 10.1.0-M1 through 10.1.59, from 9.0.0.M1 through 9.0.121. The following versions were EOL at the time the CVE was created but are known to be affected: from 8.5.0 through 8.5.100, from 7.0.43 through 7.0.109. Other unsupported versions may also be affected. Users are recommended to upgrade to version 11.0.26, 10.1.60 or 9.0.122, which fix the issue.
Apache Tomcat 11.0.26 patches 12 flaws, including a WebSocket access-control bypass and several DoS bugs.
Apache Tomcat 11.0.26 patches 12 flaws, including WebSocket smuggling and an HTTP/2 header mix-up.
Apache Tomcat patches a moderate WebSocket denial of service caused by a lost write timeout.
Today 1.6K readers · 2.5K views · 778 reads · all time 189K views