CVE-2020-13935
JSON

7.5high

Infinite Loop in Apache Tomcat

Severity
7.5high CVSS:3.1 by NVD
Exploit likelihood
85.9% (higher than 99% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-m7jv-hq7h-mq7cBIT-TOMCAT-2020-13935

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

Product or packageVersionsReported by
Apache TomcatApache 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, from 7.0.27 up to 7.0.104, from 8.5.0 up to 8.5.56, from 9.0.1 up to 9.0.36, 9.0.0, 10.0.0CVE List, NVD
org.apache.tomcat:tomcat (Maven)from 10.0.0-M1 before 10.0.0-M7, from 9.0.0.M1 before 9.0.37, from 8.5.0 before 8.5.57, from 7.0.27 before 7.0.105GitHub Advisory Database
org.apache.tomcat.embed:tomcat-embed-websocket (Maven)from 7.0.27 before 7.0.105, from 8.5.0 before 8.5.57, from 9.0.0.M1 before 9.0.37, from 10.0.0-M1 before 10.0.0-M7GitHub Advisory Database
org.apache.tomcat:tomcat-websocket (Maven)from 10.0.0-M1 before 10.0.0-M7, from 9.0.0.M1 before 9.0.37, from 8.5.0 before 8.5.57, from 7.0.27 before 7.0.105GitHub Advisory Database
debian debian_linux9.0, 10.0NVD
netapp oncommand_system_managerfrom 3.0.0 up to 3.1.3NVD
opensuse leap15.1, 15.2NVD
canonical ubuntu_linux16.04, 20.04NVD
mcafee epolicy_orchestrator5.9.0, 5.9.1, 5.10.0NVD
oracle agile_engineering_data_management6.2.1.0NVD
oracle agile_product_lifecycle_management9.3.3, 9.3.5, 9.3.6NVD
oracle blockchain_platformbefore 21.1.2NVD

All scores

GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:N/A:P
Bitnami Vulnerability Databasehigh rating

Classification

CWE-835

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

La longitud de la carga útil en una trama de WebSocket no fue comprobada correctamente en Apache Tomcat versiones 10.0.0-M1 hasta 10.0.0-M6, versiones 9.0.0.M1 hasta 9.0.36, versiones 8.5.0 hasta 8.5.56 y versiones 7.0.27 hasta 7.0. 104. Las longitudes de carga útil no válidas podrían desencadenar un bucle infinito. Múltiples peticiones con longitudes de carga no válidas podrían conllevar a una denegación de servicio

Bitnami Vulnerability Database

The payload length in a WebSocket frame was not correctly validated in Apache Tomcat 9.0.0 through 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

https://lists.apache.org/thread.html/rd48c72bd3255bda87564d4da3791517c074d94f8a701f93b85752651%40%3Cannounce.tomcat.apache.org%3Eadvisory, mailing-list, release-notes, vendor-advisory, web
https://www.debian.org/security/2020/dsa-4727advisory, third-party-advisory, vendor-advisory, web
https://lists.debian.org/debian-lts-announce/2020/07/msg00017.htmladvisory, mailing-list, third-party-advisory, web
http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00084.htmladvisory, mailing-list, third-party-advisory, vendor-advisory, web
http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00088.htmladvisory, mailing-list, third-party-advisory, vendor-advisory, web
https://usn.ubuntu.com/4448-1/advisory, third-party-advisory, vendor-advisory
https://www.oracle.com/security-alerts/cpuoct2020.htmladvisory, patch, third-party-advisory, web
https://security.netapp.com/advisory/ntap-20200724-0003/advisory, third-party-advisory
https://kc.mcafee.com/corporate/index?page=content&id=SB10332advisory, third-party-advisory, web
https://usn.ubuntu.com/4596-1/advisory, third-party-advisory, vendor-advisory
https://lists.apache.org/thread.html/r4e5d3c09f4dd2923191e972408b40fb8b42dbff0bc7904d44b651e50%40%3Cusers.tomcat.apache.org%3Emailing-list, web
https://www.oracle.com/security-alerts/cpujan2021.htmladvisory, patch, third-party-advisory, web

Sources

SourceRecordLicence
CVE ListCVE-2020-13935 changed 2026-10-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-m7jv-hq7h-mq7c changed 2026-08-26CC-BY-4.0
NVDCVE-2020-13935 changed 2026-10-08Public domain
Bitnami Vulnerability DatabaseBIT-TOMCAT-2020-13935 changed 2026-09-08Apache-2.0