Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.tomcat.embed/tomcat-embed-websocket
  4. ›
  5. CVE-2020-13935

CVE-2020-13935: Infinite Loop in Apache Tomcat

February 8, 2022 (updated August 25, 2026)

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.

References

  • github.com/advisories/GHSA-m7jv-hq7h-mq7c
  • github.com/apache/tomcat/commit/12d715676038efbf9c728af10163f8277fc019d5
  • github.com/apache/tomcat/commit/1c1c77b0efb667cea80b532440b44cea1dc427c3
  • github.com/apache/tomcat/commit/40fa74c74822711ab878079d0a69f7357926723d
  • github.com/apache/tomcat/commit/4c04982870d6e730c38e21e58fb653b7cf723784
  • github.com/apache/tomcat/commit/f9f75c14678b68633f79030ddf4ff827f014cc84
  • kc.mcafee.com/corporate/index?page=content&id=SB10332
  • lists.apache.org/thread.html/r4e5d3c09f4dd2923191e972408b40fb8b42dbff0bc7904d44b651e50%40%3Cusers.tomcat.apache.org%3E
  • lists.apache.org/thread.html/r4e5d3c09f4dd2923191e972408b40fb8b42dbff0bc7904d44b651e50@%3Cusers.tomcat.apache.org%3E
  • lists.apache.org/thread.html/rd48c72bd3255bda87564d4da3791517c074d94f8a701f93b85752651%40%3Cannounce.tomcat.apache.org%3E
  • lists.debian.org/debian-lts-announce/2020/07/msg00017.html
  • nvd.nist.gov/vuln/detail/CVE-2020-13935
  • security.netapp.com/advisory/ntap-20200724-0003
  • tomcat.apache.org/security-10.html
  • tomcat.apache.org/security-7.html
  • tomcat.apache.org/security-8.html
  • tomcat.apache.org/security-9.html
  • usn.ubuntu.com/4448-1
  • usn.ubuntu.com/4596-1
  • www.debian.org/security/2020/dsa-4727
  • www.oracle.com//security-alerts/cpujul2021.html
  • www.oracle.com/security-alerts/cpuApr2021.html
  • www.oracle.com/security-alerts/cpuapr2022.html
  • www.oracle.com/security-alerts/cpujan2021.html
  • www.oracle.com/security-alerts/cpujan2022.html
  • www.oracle.com/security-alerts/cpuoct2020.html
  • www.oracle.com/security-alerts/cpuoct2021.html

Code Behaviors & Features

Detect and mitigate CVE-2020-13935 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 7.0.27 before 7.0.105, all versions starting from 8.5.0 before 8.5.57, all versions starting from 9.0.0-M.1 before 9.0.37, all versions starting from 10.0.0-M1 before 10.0.0-M7

Fixed versions

  • 7.0.105
  • 8.5.57
  • 9.0.37
  • 10.0.0-M7

Solution

Upgrade to versions 7.0.105, 8.5.57, 9.0.37, 10.0.0-M7 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')

Source file

maven/org.apache.tomcat.embed/tomcat-embed-websocket/CVE-2020-13935.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:42 +0000.