CVE-2020-1935
Potential HTTP request smuggling in Apache Tomcat
Description
In Apache Tomcat 9.0.0.M1 to 9.0.30, 8.5.0 to 8.5.50 and 7.0.0 to 7.0.99 the HTTP header parsing code used an approach to end-of-line parsing that allowed some invalid HTTP headers to be parsed as valid. This led to a possibility of HTTP Request Smuggling if Tomcat was located behind a reverse proxy that incorrectly handled the invalid Transfer-Encoding header in a particular manner. Such a reverse proxy is considered unlikely.
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.tomcat » tomcat | < 7.0.100>= 8.0.0, < 8.5.51>= 9.0.0, < 9.0.31 | 7.0.100, 8.5.51, 9.0.31 |
| org.apache.tomcat.embed » tomcat-embed-core | < 7.0.100>= 8.0.0, < 8.5.51>= 9.0.0, < 9.0.31 | 7.0.100, 8.5.51, 9.0.31 |
Blast radius
56% of the dependent artifacts (6,468) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 10,812 |
| 2 hops | 15,108 |
| 3 hops | 129,918 |
| 4 hops | 77,425 |
| 5 hops | 64,495 |
| 6 hops | 18,211 |
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.tomcat.embed » tomcat-embed-core1,702 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
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-2020-1935
- Webhttps://www.oracle.com/security-alerts/cpuoct2020.html
- Webhttps://www.oracle.com/security-alerts/cpujul2020.html
- Webhttps://www.oracle.com/security-alerts/cpujan2021.html
- Webhttps://www.debian.org/security/2020/dsa-4680
- Webhttps://www.debian.org/security/2020/dsa-4673
- Webhttps://usn.ubuntu.com/4448-1
- Webhttps://security.netapp.com/advisory/ntap-20200327-0005
- Webhttps://lists.debian.org/debian-lts-announce/2020/05/msg00026.html
- Webhttps://lists.debian.org/debian-lts-announce/2020/03/msg00006.html
- Webhttps://lists.apache.org/thread.html/rd547be0c9d821b4b1000a694b8e58ef9f5e2d66db03a31dfe77c4b18@%3Cusers.tomcat.apache.org%3E
- Webhttps://lists.apache.org/thread.html/rc31cbabb46cdc58bbdd8519a8f64b6236b2635a3922bbeba0f0e3743@%3Ccommits.tomee.apache.org%3E
- Webhttps://lists.apache.org/thread.html/ra5dee390ad2d60307b8362505c059cd6a726de4d146d63dfce1e05e7@%3Cusers.tomcat.apache.org%3E
- Webhttps://lists.apache.org/thread.html/r9ce7918faf347e7aac32be930bf26c233b0b140fe37af0bb294158b6@%3Cdev.tomcat.apache.org%3E
- Webhttps://lists.apache.org/thread.html/r80e9c8417c77d52c62809168b96912bda70ddf7748f19f8210f745b1@%3Cusers.tomcat.apache.org%3E
- Webhttps://lists.apache.org/thread.html/r7bc994c965a34876bd94d5ff15b4e1e30b6220a15eb9b47c81915b78@%3Ccommits.tomee.apache.org%3E
- Webhttps://lists.apache.org/thread.html/r660cd379afe346f10d72c0eaa8459ccc95d83aff181671b7e9076919@%3Cusers.tomcat.apache.org%3E
- Webhttps://lists.apache.org/thread.html/r441c1f30a252bf14b07396286f6abd8089ce4240e91323211f1a2d75@%3Cusers.tomcat.apache.org%3E
- Webhttps://lists.apache.org/thread.html/r127f76181aceffea2bd4711b03c595d0f115f63e020348fe925a916c%40%3Cannounce.tomcat.apache.org%3E
- Webhttp://lists.opensuse.org/opensuse-security-announce/2020-03/msg00025.html
