{"id":"GHSA-m7jv-hq7h-mq7c","summary":"Infinite Loop in Apache Tomcat","details":"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.","aliases":["BIT-tomcat-2020-13935","CVE-2020-13935"],"modified":"2026-06-11T14:45:08.835891841Z","published":"2022-02-08T22:05:17Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2021-04-12T18:44:47Z","nvd_published_at":"2020-07-14T15:15:00Z","cwe_ids":["CWE-835"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13935"},{"type":"WEB","url":"https://github.com/apache/tomcat/commit/12d715676038efbf9c728af10163f8277fc019d5"},{"type":"WEB","url":"https://github.com/apache/tomcat/commit/1c1c77b0efb667cea80b532440b44cea1dc427c3"},{"type":"WEB","url":"https://github.com/apache/tomcat/commit/40fa74c74822711ab878079d0a69f7357926723d"},{"type":"WEB","url":"https://github.com/apache/tomcat/commit/4c04982870d6e730c38e21e58fb653b7cf723784"},{"type":"WEB","url":"https://github.com/apache/tomcat/commit/f9f75c14678b68633f79030ddf4ff827f014cc84"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpuoct2021.html"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpuoct2020.html"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujan2022.html"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujan2021.html"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpuapr2022.html"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpuApr2021.html"},{"type":"WEB","url":"https://www.oracle.com//security-alerts/cpujul2021.html"},{"type":"WEB","url":"https://www.debian.org/security/2020/dsa-4727"},{"type":"WEB","url":"https://usn.ubuntu.com/4596-1"},{"type":"WEB","url":"https://usn.ubuntu.com/4448-1"},{"type":"WEB","url":"https://tomcat.apache.org/security-9.html"},{"type":"WEB","url":"https://tomcat.apache.org/security-8.html"},{"type":"WEB","url":"https://tomcat.apache.org/security-7.html"},{"type":"WEB","url":"https://tomcat.apache.org/security-10.html"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20200724-0003"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2020/07/msg00017.html"},{"type":"WEB","url":"https://lists.apache.org/thread.html/rd48c72bd3255bda87564d4da3791517c074d94f8a701f93b85752651%40%3Cannounce.tomcat.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/r4e5d3c09f4dd2923191e972408b40fb8b42dbff0bc7904d44b651e50@%3Cusers.tomcat.apache.org%3E"},{"type":"WEB","url":"https://kc.mcafee.com/corporate/index?page=content&id=SB10332"},{"type":"PACKAGE","url":"https://github.com/apache/tomcat"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00084.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00088.html"}],"affected":[{"package":{"name":"org.apache.tomcat:tomcat","ecosystem":"Maven","purl":"pkg:maven/org.apache.tomcat/tomcat"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.0.0-M1"},{"fixed":"10.0.0-M7"}]}],"versions":["10.0.0-M1","10.0.0-M3","10.0.0-M4","10.0.0-M5","10.0.0-M6"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-m7jv-hq7h-mq7c/GHSA-m7jv-hq7h-mq7c.json"}},{"package":{"name":"org.apache.tomcat:tomcat","ecosystem":"Maven","purl":"pkg:maven/org.apache.tomcat/tomcat"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.0.0.M1"},{"fixed":"9.0.37"}]}],"versions":["9.0.0.M1","9.0.0.M10","9.0.0.M11","9.0.0.M13","9.0.0.M15","9.0.0.M17","9.0.0.M18","9.0.0.M19","9.0.0.M20","9.0.0.M21","9.0.0.M22","9.0.0.M25","9.0.0.M26","9.0.0.M27","9.0.0.M3","9.0.0.M4","9.0.0.M6","9.0.0.M8","9.0.0.M9","9.0.1","9.0.10","9.0.11","9.0.12","9.0.13","9.0.14","9.0.16","9.0.17","9.0.19","9.0.2","9.0.20","9.0.21","9.0.22","9.0.24","9.0.26","9.0.27","9.0.29","9.0.30","9.0.31","9.0.33","9.0.34","9.0.35","9.0.36","9.0.4","9.0.5","9.0.6","9.0.7","9.0.8"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-m7jv-hq7h-mq7c/GHSA-m7jv-hq7h-mq7c.json"}},{"package":{"name":"org.apache.tomcat:tomcat","ecosystem":"Maven","purl":"pkg:maven/org.apache.tomcat/tomcat"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.5.0"},{"fixed":"8.5.57"}]}],"versions":["8.5.0","8.5.11","8.5.12","8.5.13","8.5.14","8.5.15","8.5.16","8.5.19","8.5.2","8.5.20","8.5.21","8.5.23","8.5.24","8.5.27","8.5.28","8.5.29","8.5.3","8.5.30","8.5.31","8.5.32","8.5.33","8.5.34","8.5.35","8.5.37","8.5.38","8.5.39","8.5.4","8.5.40","8.5.41","8.5.42","8.5.43","8.5.45","8.5.46","8.5.47","8.5.49","8.5.5","8.5.50","8.5.51","8.5.53","8.5.54","8.5.55","8.5.56","8.5.6","8.5.8","8.5.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-m7jv-hq7h-mq7c/GHSA-m7jv-hq7h-mq7c.json"}},{"package":{"name":"org.apache.tomcat:tomcat","ecosystem":"Maven","purl":"pkg:maven/org.apache.tomcat/tomcat"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0.27"},{"fixed":"7.0.105"}]}],"versions":["7.0.100","7.0.103","7.0.104","7.0.35","7.0.37","7.0.39","7.0.40","7.0.41","7.0.42","7.0.47","7.0.50","7.0.52","7.0.53","7.0.54","7.0.55","7.0.56","7.0.57","7.0.59","7.0.61","7.0.62","7.0.63","7.0.64","7.0.65","7.0.67","7.0.68","7.0.69","7.0.70","7.0.72","7.0.73","7.0.75","7.0.76","7.0.77","7.0.78","7.0.79","7.0.81","7.0.82","7.0.84","7.0.85","7.0.86","7.0.88","7.0.90","7.0.91","7.0.92","7.0.93","7.0.94","7.0.96","7.0.99"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-m7jv-hq7h-mq7c/GHSA-m7jv-hq7h-mq7c.json"}},{"package":{"name":"org.apache.tomcat.embed:tomcat-embed-websocket","ecosystem":"Maven","purl":"pkg:maven/org.apache.tomcat.embed/tomcat-embed-websocket"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0.27"},{"fixed":"7.0.105"}]}],"versions":["7.0.100","7.0.103","7.0.104","7.0.52","7.0.53","7.0.54","7.0.55","7.0.56","7.0.57","7.0.59","7.0.61","7.0.62","7.0.63","7.0.64","7.0.65","7.0.67","7.0.68","7.0.69","7.0.70","7.0.72","7.0.73","7.0.75","7.0.76","7.0.77","7.0.78","7.0.79","7.0.81","7.0.82","7.0.84","7.0.85","7.0.86","7.0.88","7.0.90","7.0.91","7.0.92","7.0.93","7.0.94","7.0.96","7.0.99"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-m7jv-hq7h-mq7c/GHSA-m7jv-hq7h-mq7c.json"}},{"package":{"name":"org.apache.tomcat.embed:tomcat-embed-websocket","ecosystem":"Maven","purl":"pkg:maven/org.apache.tomcat.embed/tomcat-embed-websocket"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.5.0"},{"fixed":"8.5.57"}]}],"versions":["8.5.0","8.5.11","8.5.12","8.5.13","8.5.14","8.5.15","8.5.16","8.5.19","8.5.2","8.5.20","8.5.21","8.5.23","8.5.24","8.5.27","8.5.28","8.5.29","8.5.3","8.5.30","8.5.31","8.5.32","8.5.33","8.5.34","8.5.35","8.5.37","8.5.38","8.5.39","8.5.4","8.5.40","8.5.41","8.5.42","8.5.43","8.5.45","8.5.46","8.5.47","8.5.49","8.5.5","8.5.50","8.5.51","8.5.53","8.5.54","8.5.55","8.5.56","8.5.6","8.5.8","8.5.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-m7jv-hq7h-mq7c/GHSA-m7jv-hq7h-mq7c.json"}},{"package":{"name":"org.apache.tomcat.embed:tomcat-embed-websocket","ecosystem":"Maven","purl":"pkg:maven/org.apache.tomcat.embed/tomcat-embed-websocket"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.0.0.M1"},{"fixed":"9.0.37"}]}],"versions":["9.0.0.M1","9.0.0.M10","9.0.0.M11","9.0.0.M13","9.0.0.M15","9.0.0.M17","9.0.0.M18","9.0.0.M19","9.0.0.M20","9.0.0.M21","9.0.0.M22","9.0.0.M25","9.0.0.M26","9.0.0.M27","9.0.0.M3","9.0.0.M4","9.0.0.M6","9.0.0.M8","9.0.0.M9","9.0.1","9.0.10","9.0.11","9.0.12","9.0.13","9.0.14","9.0.16","9.0.17","9.0.19","9.0.2","9.0.20","9.0.21","9.0.22","9.0.24","9.0.26","9.0.27","9.0.29","9.0.30","9.0.31","9.0.33","9.0.34","9.0.35","9.0.36","9.0.4","9.0.5","9.0.6","9.0.7","9.0.8"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-m7jv-hq7h-mq7c/GHSA-m7jv-hq7h-mq7c.json"}},{"package":{"name":"org.apache.tomcat.embed:tomcat-embed-websocket","ecosystem":"Maven","purl":"pkg:maven/org.apache.tomcat.embed/tomcat-embed-websocket"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.0.0-M1"},{"fixed":"10.0.0-M7"}]}],"versions":["10.0.0-M1","10.0.0-M3","10.0.0-M4","10.0.0-M5","10.0.0-M6"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-m7jv-hq7h-mq7c/GHSA-m7jv-hq7h-mq7c.json"}},{"package":{"name":"org.apache.tomcat:tomcat-websocket","ecosystem":"Maven","purl":"pkg:maven/org.apache.tomcat/tomcat-websocket"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.0.0-M1"},{"fixed":"10.0.0-M7"}]}],"versions":["10.0.0-M1","10.0.0-M3","10.0.0-M4","10.0.0-M5","10.0.0-M6"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-m7jv-hq7h-mq7c/GHSA-m7jv-hq7h-mq7c.json"}},{"package":{"name":"org.apache.tomcat:tomcat-websocket","ecosystem":"Maven","purl":"pkg:maven/org.apache.tomcat/tomcat-websocket"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.0.0.M1"},{"fixed":"9.0.37"}]}],"versions":["9.0.0.M1","9.0.0.M10","9.0.0.M11","9.0.0.M13","9.0.0.M15","9.0.0.M17","9.0.0.M18","9.0.0.M19","9.0.0.M20","9.0.0.M21","9.0.0.M22","9.0.0.M25","9.0.0.M26","9.0.0.M27","9.0.0.M3","9.0.0.M4","9.0.0.M6","9.0.0.M8","9.0.0.M9","9.0.1","9.0.10","9.0.11","9.0.12","9.0.13","9.0.14","9.0.16","9.0.17","9.0.19","9.0.2","9.0.20","9.0.21","9.0.22","9.0.24","9.0.26","9.0.27","9.0.29","9.0.30","9.0.31","9.0.33","9.0.34","9.0.35","9.0.36","9.0.4","9.0.5","9.0.6","9.0.7","9.0.8"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-m7jv-hq7h-mq7c/GHSA-m7jv-hq7h-mq7c.json"}},{"package":{"name":"org.apache.tomcat:tomcat-websocket","ecosystem":"Maven","purl":"pkg:maven/org.apache.tomcat/tomcat-websocket"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.5.0"},{"fixed":"8.5.57"}]}],"versions":["8.5.0","8.5.11","8.5.12","8.5.13","8.5.14","8.5.15","8.5.16","8.5.19","8.5.2","8.5.20","8.5.21","8.5.23","8.5.24","8.5.27","8.5.28","8.5.29","8.5.3","8.5.30","8.5.31","8.5.32","8.5.33","8.5.34","8.5.35","8.5.37","8.5.38","8.5.39","8.5.4","8.5.40","8.5.41","8.5.42","8.5.43","8.5.45","8.5.46","8.5.47","8.5.49","8.5.5","8.5.50","8.5.51","8.5.53","8.5.54","8.5.55","8.5.56","8.5.6","8.5.8","8.5.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-m7jv-hq7h-mq7c/GHSA-m7jv-hq7h-mq7c.json"}},{"package":{"name":"org.apache.tomcat:tomcat-websocket","ecosystem":"Maven","purl":"pkg:maven/org.apache.tomcat/tomcat-websocket"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0.27"},{"fixed":"7.0.105"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-m7jv-hq7h-mq7c/GHSA-m7jv-hq7h-mq7c.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}