CVE-2021-25122
Exposure of Sensitive Information to an Unauthorized Actor in Apache Tomcat
Description
When responding to new h2c connection requests, Apache Tomcat versions 10.0.0-M1 to 10.0.0, 9.0.0.M1 to 9.0.41 and 8.5.0 to 8.5.61 could duplicate request headers and a limited amount of request body from one request to another meaning user A and user B could both see the results of user A's request.
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.tomcat » tomcat-coyote | >= 10.0.0-M1, < 10.0.2 | 10.0.2 |
| org.apache.tomcat.embed » tomcat-embed-core | >= 8.5.0, < 8.5.63>= 9.0.0-M1, < 9.0.43>= 10.0.0-M1, < 10.0.2 | 8.5.63, 9.0.43, 10.0.2 |
Blast radius
57% of the dependent artifacts (7,273) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 5,436 |
| 2 hops | 13,177 |
| 3 hops | 138,176 |
| 4 hops | 76,596 |
| 5 hops | 59,313 |
| 6 hops | 19,414 |
Most used dependents
- org.springframework.boot » spring-boot-starter-web19,081 usages
- org.apache.hadoop » hadoop-common3,482 usages
- org.apache.spark » spark-sql3,174 usages
- org.apache.spark » spark-core2,899 usages
- org.apache.hadoop » hadoop-client1,796 usages
- org.apache.kafka » kafka1,450 usages
- org.apache.thrift » libthrift1,388 usages
- org.apache.hadoop » hadoop-mapreduce-client-core1,366 usages
- org.springframework.boot » spring-boot-starter-websocket1,319 usages
- org.springframework.boot » spring-boot-starter-thymeleaf1,158 usages
- org.apache.flink » flink-streaming-java982 usages
- org.apache.hbase » hbase-client960 usages
- org.springframework.boot » spring-boot-starter-tomcat901 usages
- org.apache.spark » spark-mllib831 usages
- org.apache.solr » solr-solrj784 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2021-25122
- Webhttps://www.oracle.com/security-alerts/cpuoct2021.html
- Webhttps://www.oracle.com/security-alerts/cpujan2022.html
- Webhttps://www.oracle.com//security-alerts/cpujul2021.html
- Webhttps://www.debian.org/security/2021/dsa-4891
- Webhttps://security.netapp.com/advisory/ntap-20210409-0002
- Webhttps://security.gentoo.org/glsa/202208-34
- Webhttps://lists.debian.org/debian-lts-announce/2021/03/msg00018.html
- Webhttps://lists.apache.org/thread.html/rf6d5d57b114678d8898005faef31e9fd6d7c981fcc4ccfc3bc272fc9@%3Cdev.tomcat.apache.org%3E
- Webhttps://lists.apache.org/thread.html/rf6d5d57b114678d8898005faef31e9fd6d7c981fcc4ccfc3bc272fc9%40%3Cdev.tomcat.apache.org%3E
- Webhttps://lists.apache.org/thread.html/rd0463f9a5cbc02a485404c4b990f0da452e5ac5c237808edba11c947@%3Cusers.tomcat.apache.org%3E
- Webhttps://lists.apache.org/thread.html/rd0463f9a5cbc02a485404c4b990f0da452e5ac5c237808edba11c947%40%3Cusers.tomcat.apache.org%3E
- Webhttps://lists.apache.org/thread.html/rcd90bf36b1877e1310b87ecd14ed7bbb15da52b297efd9f0e7253a3b@%3Cusers.tomcat.apache.org%3E
- Webhttps://lists.apache.org/thread.html/rcd90bf36b1877e1310b87ecd14ed7bbb15da52b297efd9f0e7253a3b%40%3Cusers.tomcat.apache.org%3E
- Webhttps://lists.apache.org/thread.html/r7b95bc248603360501f18c8eb03bb6001ec0ee3296205b34b07105b7@%3Cusers.tomcat.apache.org%3E
- Webhttps://lists.apache.org/thread.html/r7b95bc248603360501f18c8eb03bb6001ec0ee3296205b34b07105b7@%3Cdev.tomcat.apache.org%3E
- Webhttps://lists.apache.org/thread.html/r7b95bc248603360501f18c8eb03bb6001ec0ee3296205b34b07105b7@%3Cannounce.tomcat.apache.org%3E
- Webhttps://lists.apache.org/thread.html/r7b95bc248603360501f18c8eb03bb6001ec0ee3296205b34b07105b7@%3Cannounce.apache.org%3E
- Webhttps://lists.apache.org/thread.html/r7b95bc248603360501f18c8eb03bb6001ec0ee3296205b34b07105b7%40%3Cusers.tomcat.apache.org%3E
- Webhttps://lists.apache.org/thread.html/r7b95bc248603360501f18c8eb03bb6001ec0ee3296205b34b07105b7%40%3Cdev.tomcat.apache.org%3E
- Webhttps://lists.apache.org/thread.html/r7b95bc248603360501f18c8eb03bb6001ec0ee3296205b34b07105b7%40%3Cannounce.tomcat.apache.org%3E
- Webhttps://lists.apache.org/thread.html/r7b95bc248603360501f18c8eb03bb6001ec0ee3296205b34b07105b7%40%3Cannounce.apache.org%3E
- Packagehttps://github.com/apache/tomcat
- Webhttp://www.openwall.com/lists/oss-security/2021/03/01/1
