CVE-2020-13935
tomcat: multiple requests with invalid payload length in a WebSocket frame could lead to DoS
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-835
Affected packages · 4
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | tomcat | >=7.0.27, <7.0.105>=8.5.0, <8.5.57>=9.0.1, <9.0.37 | 7.0.1058.5.579.0.37 |
| Maven | org.apache.tomcat:tomcat | >=10.0.0-M1, <10.0.0-M7>=9.0.0.M1, <9.0.37>=8.5.0, <8.5.57>=7.0.27, <7.0.105 | 10.0.0-M79.0.378.5.577.0.105 |
| Maven | org.apache.tomcat:tomcat-websocket | >=10.0.0-M1, <10.0.0-M7>=9.0.0.M1, <9.0.37>=8.5.0, <8.5.57>=7.0.27, <7.0.105 | 10.0.0-M79.0.378.5.577.0.105 |
| Maven | 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.1058.5.579.0.3710.0.0-M7 |
Open a package to see all its vulnerabilities.
Operating systems · 29 fixes
Oracle Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | tomcat +9 | 7.0.76-15.el7 |
Red Hat 4 releases · 11 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | opendaylight | eol | — |
| 7 | rh-java-common-tomcat-el-2-2-api +4 | eol | — |
| 7 | opendaylight | wont fix | — |
| 7 | tomcat7 +11 | 0:7.0.70-41.ep7.el7 | RHSA-2020:3303 |
| 7 | tomcat +9 | 0:7.0.76-15.el7 | RHSA-2020:4004 |
| 7 | jbossas-javadocs | 0:7.5.24-1.Final_redhat_00001.1.ep6.el7 | RHSA-2022:5460 |
9 more rows
SUSE Linux Enterprise 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | tomcat +8 | 9.0.36-3.45.1 | SUSE-SU-2020:2037-1 |
debian 6 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | tomcat9 | 9.0.31-1~deb10u2 |
| 11 | tomcat9 | 9.0.37-1 |
| 12 | tomcat9 | 9.0.37-1 |
| 13 | tomcat9 | 9.0.37-1 |
| 14 | tomcat9 | 9.0.37-1 |
| 9 | tomcat8 | 8.5.54-0+deb9u3 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| tomcat9 | 9.0.37-1 |
openSUSE 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | tomcat10 +10 | 10.1.14-1.1 | openSUSE-SU-2024:13441-1 |
| Tumbleweed | tomcat +10 | 9.0.43-8.1 | openSUSE-SU-2024:12103-1 |
ubuntu 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | tomcat8 +1 | affected |
| 20.04 | tomcat9 | 9.0.31-1ubuntu0.1 |
| 20.04-ESM | tomcat9 | 9.0.31-1ubuntu0.1 |
References
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00084.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00088.html
- mail-archives.apache.org http://mail-archives.apache.org/mod_mbox/tomcat-announce/202007.mbox/%3C39e4200c-6f4e-b85d-fe4b-a9c2bd5fdc3d%40apache.org%3E
- tomcat.apache.org http://tomcat.apache.org/security-10.html#Fixed_in_Apache_Tomcat_10.0.0-M7
- tomcat.apache.org http://tomcat.apache.org/security-7.html#Fixed_in_Apache_Tomcat_7.0.105
- tomcat.apache.org http://tomcat.apache.org/security-8.html#Fixed_in_Apache_Tomcat_8.5.57
- tomcat.apache.org http://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.37
- access.redhat.com https://access.redhat.com/security/cve/CVE-2020-13935
- github.com https://github.com/apache/tomcat
- github.com https://github.com/apache/tomcat/commit/12d715676038efbf9c728af10163f8277fc019d5
Show all 44 references
- github.com https://github.com/apache/tomcat/commit/1c1c77b0efb667cea80b532440b44cea1dc427c3
- github.com https://github.com/apache/tomcat/commit/40fa74c74822711ab878079d0a69f7357926723d
- github.com https://github.com/apache/tomcat/commit/4c04982870d6e730c38e21e58fb653b7cf723784
- github.com https://github.com/apache/tomcat/commit/f9f75c14678b68633f79030ddf4ff827f014cc84
- kc.mcafee.com https://kc.mcafee.com/corporate/index?page=content&id=SB10332
- linux.oracle.com https://linux.oracle.com/cve/CVE-2020-13935.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2020-4004.html
- lists.apache.org https://lists.apache.org/thread.html/r4e5d3c09f4dd2923191e972408b40fb8b42dbff0bc7904d44b651e50%40%3Cusers.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r4e5d3c09f4dd2923191e972408b40fb8b42dbff0bc7904d44b651e50@%3Cusers.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rd48c72bd3255bda87564d4da3791517c074d94f8a701f93b85752651%40%3Cannounce.tomcat.apache.org%3E
- lists.debian.org https://lists.debian.org/debian-lts-announce/2020/07/msg00017.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2020-13935
- security.netapp.com https://security.netapp.com/advisory/ntap-20200724-0003
- security.netapp.com https://security.netapp.com/advisory/ntap-20200724-0003/
- tomcat.apache.org https://tomcat.apache.org/security-10.html
- tomcat.apache.org https://tomcat.apache.org/security-7.html
- tomcat.apache.org https://tomcat.apache.org/security-8.html
- tomcat.apache.org https://tomcat.apache.org/security-9.html
- ubuntu.com https://ubuntu.com/security/notices/USN-4448-1
- ubuntu.com https://ubuntu.com/security/notices/USN-4596-1
- usn.ubuntu.com https://usn.ubuntu.com/4448-1
- usn.ubuntu.com https://usn.ubuntu.com/4448-1/
- usn.ubuntu.com https://usn.ubuntu.com/4596-1
- usn.ubuntu.com https://usn.ubuntu.com/4596-1/
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2020-13935
- www.debian.org https://www.debian.org/security/2020/dsa-4727
- www.openwall.com https://www.openwall.com/lists/oss-security/2020/07/14/3
- www.oracle.com https://www.oracle.com//security-alerts/cpujul2021.html
- www.oracle.com https://www.oracle.com/security-alerts/cpuApr2021.html
- www.oracle.com https://www.oracle.com/security-alerts/cpuapr2022.html
- www.oracle.com https://www.oracle.com/security-alerts/cpujan2021.html
- www.oracle.com https://www.oracle.com/security-alerts/cpujan2022.html
- www.oracle.com https://www.oracle.com/security-alerts/cpuoct2020.html
- www.oracle.com https://www.oracle.com/security-alerts/cpuoct2021.html
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.