GitHub Advisory Database
GHSA-jx7c-7mj5-9438
Apache Tomcat Race Condition vulnerability
Details
The simplified implementation of blocking reads and writes introduced in Tomcat 10 and back-ported to Tomcat 9.0.47 onwards exposed a long standing (but extremely hard to trigger) concurrency bug in Apache Tomcat 10.1.0 to 10.1.0-M12, 10.0.0-M1 to 10.0.18, 9.0.0-M1 to 9.0.60 and 8.5.0 to 8.5.77 that could cause client connections to share an Http11Processor instance resulting in responses, or part responses, to be received by the wrong client.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.apache.tomcat:tomcat | From 8.5.0 before 8.5.78 (fixed in 8.5.78) |
| Maven | org.apache.tomcat:tomcat | From 9.0.0-M1 before 9.0.62 (fixed in 9.0.62) |
| Maven | org.apache.tomcat:tomcat | From 10.0.0-M1 before 10.0.20 (fixed in 10.0.20) |
| Maven | org.apache.tomcat:tomcat | From 10.1.0-M1 before 10.1.0-M14 (fixed in 10.1.0-M14) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-43980
- https://github.com/apache/tomcat/commit/170e0f792bd18ff031677890ba2fe50eb7a376c1
- https://github.com/apache/tomcat/commit/17f177eeb7df5938f67ef9ea580411b120195f13
- https://github.com/apache/tomcat/commit/4a00b0c0890538b9d3107eef8f2e0afadd119beb
- https://github.com/apache/tomcat/commit/9651b83a1d04583791525e5f0c4c9089f678d9fc
- https://github.com/apache/tomcat
- https://lists.apache.org/thread/3jjqbsp6j88b198x5rmg99b1qr8ht3g3
- https://lists.debian.org/debian-lts-announce/2022/10/msg00029.html
- https://tomcat.apache.org/security-10.html
- https://tomcat.apache.org/security-8.html
- https://tomcat.apache.org/security-9.html
- https://www.debian.org/security/2022/dsa-5265
- http://www.openwall.com/lists/oss-security/2022/09/28/1