CVE-2020-13935
Infinite Loop in Apache Tomcat
Reported by apache · Published July 14, 2020
tomcat-embed-core is fixed in 9.0.36, 8.5.56 and 7.0.104 (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.apache.tomcat.embed:tomcat-embed-core | Maven Central | 9.0.36, 8.5.56, 7.0.104 |
| org.apache.tomcat:tomcat-websocket | Maven Central | 10.0.0-M7, 9.0.37, 8.5.57, 7.0.105 |
| org.apache.tomcat:tomcat-coyote | Maven Central | 9.0.36, 8.5.56, 7.0.104 |
| org.apache.tomcat:tomcat | Maven Central | 10.0.0-M7, 9.0.37, 8.5.57, 7.0.105 |
| org.apache.tomcat.embed:tomcat-embed-websocket | Maven Central | 9.0.36, 8.5.56, 7.0.104 |
| tomcat-el-2.2-api | Amazon Linux | 7.0.76-10.amzn2.0.4 |
| tomcat-javadoc | Amazon Linux | 7.0.76-10.amzn2.0.4 |
| tomcat | Amazon Linux | 7.0.76-10.amzn2.0.4 |
| tomcat | Bitnami | 9.0.37, 8.5.57, 7.0.105 |
| tomcat-admin-webapps | Amazon Linux | 7.0.76-10.amzn2.0.4 |
| tomcat9 | Arch Linux | 9.0.37-1 |
| tomcat-jsp-2.2-api | Amazon Linux | 7.0.76-10.amzn2.0.4 |
9 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | Apache Tomcat | 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, 7.0.27 to 7.0.104 |
| amazon:2 | tomcat-el-2.2-api | 0 |
| amazon:2 | tomcat-javadoc | 0 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | 9.0.0, 8.5.0, 7.0.27 |
| Maven | org.apache.tomcat:tomcat-websocket | 8.5.0, 10.0.0-M1, 9.0.0-M.1 |
| amazon:2 | tomcat | 0 |
| amazon:2 | tomcat-admin-webapps | 0 |
| arch | tomcat9 | 0 |
| amazon:2 | tomcat-jsp-2.2-api | 0 |
| amazon:2 | tomcat-servlet-3.0-api | 0 |
| amazon:2 | tomcat-docs-webapp | 0 |
| Maven | org.apache.tomcat:tomcat-coyote | 7.0.27, 10.0.0, 9.0.0 |
| n/a | Apache Tomcat | 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, 7.0.27 to 7.0.104 |
| amazon:2 | tomcat-jsvc | 0 |
| amazon:2 | tomcat-webapps | 0 |
| Maven | org.apache.tomcat:tomcat | 9.0.0-M.1, 10.0.0-M1, 8.5.0 |
| amazon:2 | tomcat-lib | 0 |
| Maven | org.apache.tomcat.embed:tomcat-embed-websocket | 7.0.27, 10.0.0-M1, 9.0.0-M.1 |
Timeline
- Jul 14, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 6, 2026 Distribution Patch (21 in total, the first dated here)
- Mar 6, 2026 Security Advisory (30 in total, the first dated here)
- Mar 26, 2026 CVE Updated
- Sep 5, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-13935
vulnetix vdb fixes CVE-2020-13935
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-13935/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- DSA-4727 vendor-advisoryx_refsource_DEBIAN
- [debian-lts-announce] 20200722 [SECURITY] [DLA 2286-1] tomcat8 security update mailing-listx_refsource_MLIST
- openSUSE-SU-2020:1102 vendor-advisoryx_refsource_SUSE
- openSUSE-SU-2020:1111 vendor-advisoryx_refsource_SUSE
- USN-4448-1 vendor-advisoryx_refsource_UBUNTU
- x_refsource_MISC
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- USN-4596-1 vendor-advisoryx_refsource_UBUNTU
- [tomcat-users] 20201118 Re: Strange crash-on-takeoff, Tomcat 7.0.104 mailing-listx_refsource_MLIST
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2020-13935 advisory
- https://github.com/advisories/GHSA-m7jv-hq7h-mq7c advisory
- https://lists.apache.org/thread.html/r4e5d3c09f4dd2923191e972408b40fb8b42dbff0bc7904d44b651e50@%3Cusers.tomcat.apache.org%3E url
…and 12 more