CVE-2021-43980
Vulnerability Summary
Timeline
Description
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.
CVSS Metrics
- v3.1•LOW•Score: 3.7CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS Trends
Current EPSS score: 0.20%• Percentile: 42%
Techniques & Countermeasures
- CWE-362•Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.
Affected Systems
- apache software foundation•apache tomcat
10.1.0-M1 to 10.1.0-M12 | 10.0.0-M1 to 10.0.18 | 9.0.0-M1 to 9.0.60 | 8.5.0 to 8.5.77
- Unknown•Tomcat
≥ 8.5.0, ≤ 8.5.77 | ≥ 9.0.0, ≤ 9.0.60 | ≥ 10.0.0, ≤ 10.0.18 | 10.1.0:milestone1 | 10.1.0:milestone10 | 10.1.0:milestone11 | 10.1.0:milestone12 | 10.1.0:milestone2 | 10.1.0:milestone3 | 10.1.0:milestone4 | 10.1.0:milestone5 | 10.1.0:milestone6 | 10.1.0:milestone7 | 10.1.0:milestone8 | 10.1.0:milestone9
- debian•debian_linux
10.0 | 11.0
- org.apache.tomcat•tomcat
≥ 8.5.0, < 8.5.78 | ≥ 9.0.0-M1, < 9.0.62 | ≥ 10.0.0-M1, < 10.0.20 | ≥ 10.1.0-M1, < 10.1.0-M14
References (13)
- https://lists.apache.org/thread/3jjqbsp6j88b198x5rmg99b1qr8ht3g3
- http://www.openwall.com/lists/oss-security/2022/09/28/1
- https://lists.debian.org/debian-lts-announce/2022/10/msg00029.html
- https://www.debian.org/security/2022/dsa-5265
- 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://tomcat.apache.org/security-10.html
- https://tomcat.apache.org/security-8.html
- https://tomcat.apache.org/security-9.html