CVE-2020-13935
Infinite Loop in Apache Tomcat
Description
The payload length in a WebSocket frame was not correctly validated in Apache Tomcat 10.0.0-M1 to 10.0.0-M6, 9.0.0.M1 to 9.0.36, 8.5.0 to 8.5.56 and 7.0.27 to 7.0.104. Invalid payload lengths could trigger an infinite loop. Multiple requests with invalid payload lengths could lead to a denial of service.
Affected Maven artifacts (3)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.tomcat » tomcat | >= 7.0.27, < 7.0.105>= 8.5.0, < 8.5.57>= 9.0.0.M1, < 9.0.37>= 10.0.0-M1, < 10.0.0-M7 | 7.0.105, 8.5.57, 9.0.37, 10.0.0-M7 |
| org.apache.tomcat » tomcat-websocket | >= 7.0.27, < 7.0.105>= 8.5.0, < 8.5.57>= 9.0.0.M1, < 9.0.37>= 10.0.0-M1, < 10.0.0-M7 | 7.0.105, 8.5.57, 9.0.37, 10.0.0-M7 |
| org.apache.tomcat.embed » tomcat-embed-websocket | >= 7.0.27, < 7.0.105>= 8.5.0, < 8.5.57>= 9.0.0.M1, < 9.0.37>= 10.0.0-M1, < 10.0.0-M7 | 7.0.105, 8.5.57, 9.0.37, 10.0.0-M7 |
Blast radius
55% of the dependent artifacts (5,173) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 4,548 |
| 2 hops | 4,432 |
| 3 hops | 112,569 |
| 4 hops | 62,307 |
| 5 hops | 47,246 |
| 6 hops | 13,818 |
Most used dependents
- org.springframework.boot » spring-boot-starter-web19,081 usages
- org.apache.tomcat.embed » tomcat-embed-core1,702 usages
- org.springframework.boot » spring-boot-starter-websocket1,319 usages
- org.springframework.boot » spring-boot-starter-thymeleaf1,158 usages
- org.springframework.boot » spring-boot-starter-tomcat901 usages
- org.apache.tomcat » tomcat-catalina709 usages
- org.apache.tomcat.embed » tomcat-embed-jasper630 usages
- org.apache.tomcat » tomcat-jdbc577 usages
- org.redisson » redisson-spring-boot-starter574 usages
- org.springframework.cloud » spring-cloud-starter-sleuth528 usages
- org.apereo.cas » cas-server-core-util-api492 usages
- org.springframework.boot » spring-boot-starter-freemarker452 usages
- org.apereo.cas » cas-server-core-configuration-api442 usages
- org.springframework.cloud » spring-cloud-stream427 usages
- org.apache.tomcat » tomcat-servlet-api406 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-13935
- Webhttps://github.com/apache/tomcat/commit/12d715676038efbf9c728af10163f8277fc019d5
- Webhttps://github.com/apache/tomcat/commit/1c1c77b0efb667cea80b532440b44cea1dc427c3
- Webhttps://github.com/apache/tomcat/commit/40fa74c74822711ab878079d0a69f7357926723d
- Webhttps://github.com/apache/tomcat/commit/4c04982870d6e730c38e21e58fb653b7cf723784
- Webhttps://github.com/apache/tomcat/commit/f9f75c14678b68633f79030ddf4ff827f014cc84
- Webhttps://tomcat.apache.org/security-9.html
- Webhttps://usn.ubuntu.com/4448-1
- Webhttps://usn.ubuntu.com/4596-1
- Webhttps://www.debian.org/security/2020/dsa-4727
- Webhttps://www.oracle.com//security-alerts/cpujul2021.html
- Webhttps://www.oracle.com/security-alerts/cpuApr2021.html
- Webhttps://www.oracle.com/security-alerts/cpuapr2022.html
- Webhttps://www.oracle.com/security-alerts/cpujan2021.html
- Webhttps://www.oracle.com/security-alerts/cpujan2022.html
- Webhttps://www.oracle.com/security-alerts/cpuoct2020.html
- Webhttps://www.oracle.com/security-alerts/cpuoct2021.html
- Webhttps://tomcat.apache.org/security-8.html
- Webhttps://tomcat.apache.org/security-7.html
- Webhttps://tomcat.apache.org/security-10.html
- Webhttps://security.netapp.com/advisory/ntap-20200724-0003
- Webhttps://lists.debian.org/debian-lts-announce/2020/07/msg00017.html
- Webhttps://lists.apache.org/thread.html/rd48c72bd3255bda87564d4da3791517c074d94f8a701f93b85752651%40%3Cannounce.tomcat.apache.org%3E
- Webhttps://lists.apache.org/thread.html/r4e5d3c09f4dd2923191e972408b40fb8b42dbff0bc7904d44b651e50@%3Cusers.tomcat.apache.org%3E
- Webhttps://lists.apache.org/thread.html/r4e5d3c09f4dd2923191e972408b40fb8b42dbff0bc7904d44b651e50%40%3Cusers.tomcat.apache.org%3E
- Webhttps://kc.mcafee.com/corporate/index?page=content&id=SB10332
- Packagehttps://github.com/apache/tomcat
- Webhttp://lists.opensuse.org/opensuse-security-announce/2020-07/msg00084.html
- Webhttp://lists.opensuse.org/opensuse-security-announce/2020-07/msg00088.html
