CVE-2021-42340 DoS via memory leak with WebSocket connections
HighCVSS 7.5
EPSS 11.8%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
Description
The fix for bug 63362 present in Apache Tomcat 10.1.0-M1 to 10.1.0-M5, 10.0.0-M1 to 10.0.11, 9.0.40 to 9.0.53 and 8.5.60 to 8.5.71 introduced a memory leak. The object introduced to collect metrics for HTTP upgrade connections was not released for WebSocket connections once the connection was closed. This created a memory leak that, over time, could lead to a denial of service via an OutOfMemoryError.
Upgrade path
30 packages: 7 fixed, 10 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| netapp hci | All versions | No fix listed | No fix yet |
| netapp management services for element software | All versions | No fix listed | No fix yet |
| oracle taleo platform | All versions | No fix listed | No fix yet |
| ubuntu/tomcat8(Ubuntu Pro 16.04) | = 8.0.26-1; = 8.0.28-1; = 8.0.30-1; = 8.0.32-1 +15 more | No fix listed | No fix yet |
| ubuntu/tomcat8(Ubuntu Pro 18.04) | = 8.5.21-1ubuntu1; = 8.5.29-1; = 8.5.30-1; = 8.5.30-1ubuntu1 +12 more | No fix listed | No fix yet |
| ubuntu/tomcat9(Ubuntu 22.04) | = 9.0.43-3; = 9.0.54-1; = 9.0.55-1; = 9.0.58-1 +3 more | No fix listed | No fix yet |
| ubuntu/tomcat9(Ubuntu 24.04) | = 9.0.70-1ubuntu1; = 9.0.70-2; = 9.0.70-2ubuntu0.1; All versions | No fix listed | No fix yet |
| ubuntu/tomcat9(Ubuntu 25.04) | = 9.0.70-2ubuntu1.1; = 9.0.70-2ubuntu1.25.04.1; = 9.0.70-2ubuntu1.25.04.2; All versions | No fix listed | No fix yet |
| ubuntu/tomcat9(Ubuntu Pro 18.04) | = 9.0.16-3ubuntu0.18.04.1; = 9.0.16-3ubuntu0.18.04.2; = 9.0.16-3ubuntu0.18.04.2+esm1; = 9.0.16-3ubuntu0.18.04.2+esm2 +7 more | No fix listed | No fix yet |
| ubuntu/tomcat9(Ubuntu Pro 20.04) | = 9.0.24-1; = 9.0.27-1; = 9.0.31-1; = 9.0.31-1ubuntu0.1 +11 more | No fix listed | No fix yet |
| apache tomcat | = 10.0.0-milestone10; = 10.1.0-milestone1; = 10.1.0-milestone2; = 10.1.0-milestone3 +5 more | 8.5.72, 9.0.54, 10.0.12 | Fixed |
| debian/tomcat9(Debian 12) | < 9.0.54-1 | 9.0.54-1 | Fixed |
| debian/tomcat9(Debian 13) | < 9.0.54-1 | 9.0.54-1 | Fixed |
| debian/tomcat9(Debian 14) | < 9.0.54-1 | 9.0.54-1 | Fixed |
| oracle big data spatial and graph | < 23.1 | 23.1 | Fixed |
| oracle communications diameter signaling router | >= 8.0.0.0, <= 8.5.0.2 | after 8.5.0.2 | Fixed |
| org.apache.tomcat/tomcat(Maven) | = 8.5.60; = 8.5.61; = 8.5.63; = 8.5.64 +43 more | 8.5.72, 9.0.54, 10.0.12, 10.1.0-M6 | Fixed |
| Apache Tomcat | = Apache Tomcat 8 8.5.60 to 8.5.71; = Apache Tomcat 9 9.0.40 to 9.0.53; = Apache Tomcat 10 10.0.0-M10 to 10.0.11; = Apache Tomcat 10 10.1.0-M1 to 10.1.0-M5 | No fix listed | Versions listed |
| debian linux | = 11.0 | No fix listed | Versions listed |
| oracle agile engineering data management | = 6.2.1.0 | No fix listed | Versions listed |
| oracle hospitality cruise shipboard property management system | = 20.1.0 | No fix listed | Versions listed |
| oracle managed file transfer | = 12.2.1.3.0; = 12.2.1.4.0 | No fix listed | Versions listed |
| oracle middleware common libraries and tools | = 12.2.1.4.0 | No fix listed | Versions listed |
| oracle payment interface | = 19.1; = 20.3 | No fix listed | Versions listed |
| oracle retail customer insights | = 15.0.2; = 16.0.2 | No fix listed | Versions listed |
| oracle retail data extractor for merchandising | = 15.0.2; = 16.0.2 | No fix listed | Versions listed |
| oracle retail eftlink | = 21.0.0 | No fix listed | Versions listed |
| oracle retail financial integration | = 16.0.1; = 19.0.0 | No fix listed | Versions listed |
| oracle retail store inventory management | = 14.0.4.13; = 14.1.3.5; = 14.1.3.14; = 15.0.3.3 +2 more | No fix listed | Versions listed |
| oracle sd-wan edge | = 9.0; = 9.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.apache.tomcat/tomcat(Maven) | >= 10.1.0-M1, < 10.1.0-M6 | 10.1.0-M6 |
| org.apache.tomcat/tomcat(Maven) | = 10.1.0-M1 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 10.1.0-M2 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 10.1.0-M4 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 10.1.0-M5 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | >= 10.0.0-M1, < 10.0.12 | 10.0.12 |
| org.apache.tomcat/tomcat(Maven) | = 10.0.0 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 10.0.0-M1 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 10.0.0-M10 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 10.0.0-M3 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 10.0.0-M4 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 10.0.0-M5 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 10.0.0-M6 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 10.0.0-M7 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 10.0.0-M8 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 10.0.0-M9 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 10.0.10 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 10.0.11 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 10.0.2 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 10.0.4 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 10.0.5 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 10.0.6 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 10.0.7 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 10.0.8 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | >= 9.0.40, < 9.0.54 | 9.0.54 |
Show 142 more
| Product | Affected versions | Fixed in |
|---|---|---|
| org.apache.tomcat/tomcat(Maven) | = 9.0.40 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 9.0.41 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 9.0.43 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 9.0.44 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 9.0.45 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 9.0.46 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 9.0.48 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 9.0.50 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 9.0.52 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 9.0.53 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | >= 8.5.60, < 8.5.72 | 8.5.72 |
| org.apache.tomcat/tomcat(Maven) | = 8.5.60 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 8.5.61 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 8.5.63 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 8.5.64 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 8.5.65 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 8.5.66 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 8.5.68 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 8.5.69 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 8.5.70 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 8.5.71 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | >= 10.1.0-M1, <= 10.1.0-M5 | No fix listed |
| debian/tomcat9(Debian:12) | < 9.0.54-1 | 9.0.54-1 |
| debian/tomcat9(Debian:13) | < 9.0.54-1 | 9.0.54-1 |
| debian/tomcat9(Debian:14) | < 9.0.54-1 | 9.0.54-1 |
| apache tomcat | >= 8.5.60, < 8.5.72 | 8.5.72 |
| apache tomcat | >= 9.0.40, < 9.0.54 | 9.0.54 |
| apache tomcat | >= 10.0.1, < 10.0.12 | 10.0.12 |
| apache tomcat | = 10.0.0-milestone10 | No fix listed |
| apache tomcat | = 10.1.0-milestone1 | No fix listed |
| apache tomcat | = 10.1.0-milestone2 | No fix listed |
| apache tomcat | = 10.1.0-milestone3 | No fix listed |
| apache tomcat | = 10.1.0-milestone4 | No fix listed |
| apache tomcat | = 10.1.0-milestone5 | No fix listed |
| netapp hci | All versions | No fix listed |
| netapp management services for element software | All versions | No fix listed |
| debian linux | = 11.0 | No fix listed |
| oracle agile engineering data management | = 6.2.1.0 | No fix listed |
| oracle big data spatial and graph | < 23.1 | 23.1 |
| oracle communications diameter signaling router | >= 8.0.0.0, <= 8.5.0.2 | No fix listed |
| oracle hospitality cruise shipboard property management system | = 20.1.0 | No fix listed |
| oracle managed file transfer | = 12.2.1.3.0 | No fix listed |
| oracle managed file transfer | = 12.2.1.4.0 | No fix listed |
| oracle middleware common libraries and tools | = 12.2.1.4.0 | No fix listed |
| oracle payment interface | = 19.1 | No fix listed |
| oracle payment interface | = 20.3 | No fix listed |
| oracle retail customer insights | = 15.0.2 | No fix listed |
| oracle retail customer insights | = 16.0.2 | No fix listed |
| oracle retail data extractor for merchandising | = 15.0.2 | No fix listed |
| oracle retail data extractor for merchandising | = 16.0.2 | No fix listed |
| oracle retail eftlink | = 21.0.0 | No fix listed |
| oracle retail financial integration | = 16.0.1 | No fix listed |
| oracle retail financial integration | = 19.0.0 | No fix listed |
| oracle retail store inventory management | = 14.0.4.13 | No fix listed |
| oracle retail store inventory management | = 14.1.3.5 | No fix listed |
| oracle retail store inventory management | = 14.1.3.14 | No fix listed |
| oracle retail store inventory management | = 15.0.3.3 | No fix listed |
| oracle retail store inventory management | = 15.0.3.8 | No fix listed |
| oracle retail store inventory management | = 16.0.3.7 | No fix listed |
| oracle sd-wan edge | = 9.0 | No fix listed |
| oracle sd-wan edge | = 9.1 | No fix listed |
| oracle taleo platform | All versions | No fix listed |
| Apache Tomcat | = Apache Tomcat 10 10.0.0-M10 to 10.0.11 | No fix listed |
| Apache Tomcat | = Apache Tomcat 10 10.1.0-M1 to 10.1.0-M5 | No fix listed |
| Apache Tomcat | = Apache Tomcat 9 9.0.40 to 9.0.53 | No fix listed |
| Apache Tomcat | = Apache Tomcat 8 8.5.60 to 8.5.71 | No fix listed |
| ubuntu/tomcat8(Ubuntu:Pro:16.04) | All versions | No fix listed |
| ubuntu/tomcat8(Ubuntu:Pro:16.04) | = 8.0.26-1 | No fix listed |
| ubuntu/tomcat8(Ubuntu:Pro:16.04) | = 8.0.28-1 | No fix listed |
| ubuntu/tomcat8(Ubuntu:Pro:16.04) | = 8.0.30-1 | No fix listed |
| ubuntu/tomcat8(Ubuntu:Pro:16.04) | = 8.0.32-1 | No fix listed |
| ubuntu/tomcat8(Ubuntu:Pro:16.04) | = 8.0.32-1ubuntu1 | No fix listed |
| ubuntu/tomcat8(Ubuntu:Pro:16.04) | = 8.0.32-1ubuntu1.1 | No fix listed |
| ubuntu/tomcat8(Ubuntu:Pro:16.04) | = 8.0.32-1ubuntu1.2 | No fix listed |
| ubuntu/tomcat8(Ubuntu:Pro:16.04) | = 8.0.32-1ubuntu1.3 | No fix listed |
| ubuntu/tomcat8(Ubuntu:Pro:16.04) | = 8.0.32-1ubuntu1.4 | No fix listed |
| ubuntu/tomcat8(Ubuntu:Pro:16.04) | = 8.0.32-1ubuntu1.5 | No fix listed |
| ubuntu/tomcat8(Ubuntu:Pro:16.04) | = 8.0.32-1ubuntu1.6 | No fix listed |
| ubuntu/tomcat8(Ubuntu:Pro:16.04) | = 8.0.32-1ubuntu1.7 | No fix listed |
| ubuntu/tomcat8(Ubuntu:Pro:16.04) | = 8.0.32-1ubuntu1.8 | No fix listed |
| ubuntu/tomcat8(Ubuntu:Pro:16.04) | = 8.0.32-1ubuntu1.9 | No fix listed |
| ubuntu/tomcat8(Ubuntu:Pro:16.04) | = 8.0.32-1ubuntu1.10 | No fix listed |
| ubuntu/tomcat8(Ubuntu:Pro:16.04) | = 8.0.32-1ubuntu1.11 | No fix listed |
| ubuntu/tomcat8(Ubuntu:Pro:16.04) | = 8.0.32-1ubuntu1.13 | No fix listed |
| ubuntu/tomcat8(Ubuntu:Pro:16.04) | = 8.0.32-1ubuntu1.13+esm1 | No fix listed |
| ubuntu/tomcat8(Ubuntu:Pro:18.04) | All versions | No fix listed |
| ubuntu/tomcat8(Ubuntu:Pro:18.04) | = 8.5.21-1ubuntu1 | No fix listed |
| ubuntu/tomcat8(Ubuntu:Pro:18.04) | = 8.5.29-1 | No fix listed |
| ubuntu/tomcat8(Ubuntu:Pro:18.04) | = 8.5.30-1 | No fix listed |
| ubuntu/tomcat8(Ubuntu:Pro:18.04) | = 8.5.30-1ubuntu1 | No fix listed |
| ubuntu/tomcat8(Ubuntu:Pro:18.04) | = 8.5.30-1ubuntu1.2 | No fix listed |
| ubuntu/tomcat8(Ubuntu:Pro:18.04) | = 8.5.30-1ubuntu1.3 | No fix listed |
| ubuntu/tomcat8(Ubuntu:Pro:18.04) | = 8.5.30-1ubuntu1.4 | No fix listed |
| ubuntu/tomcat8(Ubuntu:Pro:18.04) | = 8.5.39-1ubuntu1~18.04.1 | No fix listed |
| ubuntu/tomcat8(Ubuntu:Pro:18.04) | = 8.5.39-1ubuntu1~18.04.2 | No fix listed |
| ubuntu/tomcat8(Ubuntu:Pro:18.04) | = 8.5.39-1ubuntu1~18.04.3 | No fix listed |
| ubuntu/tomcat8(Ubuntu:Pro:18.04) | = 8.5.39-1ubuntu1~18.04.3+esm1 | No fix listed |
| ubuntu/tomcat8(Ubuntu:Pro:18.04) | = 8.5.39-1ubuntu1~18.04.3+esm2 | No fix listed |
| ubuntu/tomcat8(Ubuntu:Pro:18.04) | = 8.5.39-1ubuntu1~18.04.3+esm3 | No fix listed |
| ubuntu/tomcat8(Ubuntu:Pro:18.04) | = 8.5.39-1ubuntu1~18.04.3+esm4 | No fix listed |
| ubuntu/tomcat8(Ubuntu:Pro:18.04) | = 8.5.39-1ubuntu1~18.04.3+esm5 | No fix listed |
| ubuntu/tomcat9(Ubuntu:Pro:18.04) | All versions | No fix listed |
| ubuntu/tomcat9(Ubuntu:Pro:18.04) | = 9.0.16-3~18.04.1 | No fix listed |
| ubuntu/tomcat9(Ubuntu:Pro:18.04) | = 9.0.16-3ubuntu0.18.04.1 | No fix listed |
| ubuntu/tomcat9(Ubuntu:Pro:18.04) | = 9.0.16-3ubuntu0.18.04.2 | No fix listed |
| ubuntu/tomcat9(Ubuntu:Pro:18.04) | = 9.0.16-3ubuntu0.18.04.2+esm1 | No fix listed |
| ubuntu/tomcat9(Ubuntu:Pro:18.04) | = 9.0.16-3ubuntu0.18.04.2+esm2 | No fix listed |
| ubuntu/tomcat9(Ubuntu:Pro:18.04) | = 9.0.16-3ubuntu0.18.04.2+esm3 | No fix listed |
| ubuntu/tomcat9(Ubuntu:Pro:18.04) | = 9.0.16-3ubuntu0.18.04.2+esm4 | No fix listed |
| ubuntu/tomcat9(Ubuntu:Pro:18.04) | = 9.0.16-3ubuntu0.18.04.2+esm5 | No fix listed |
| ubuntu/tomcat9(Ubuntu:Pro:18.04) | = 9.0.16-3ubuntu0.18.04.2+esm6 | No fix listed |
| ubuntu/tomcat9(Ubuntu:Pro:18.04) | = 9.0.16-3ubuntu0.18.04.2+esm7 | No fix listed |
| ubuntu/tomcat9(Ubuntu:Pro:20.04) | All versions | No fix listed |
| ubuntu/tomcat9(Ubuntu:Pro:20.04) | = 9.0.24-1 | No fix listed |
| ubuntu/tomcat9(Ubuntu:Pro:20.04) | = 9.0.27-1 | No fix listed |
| ubuntu/tomcat9(Ubuntu:Pro:20.04) | = 9.0.31-1 | No fix listed |
| ubuntu/tomcat9(Ubuntu:Pro:20.04) | = 9.0.31-1ubuntu0.1 | No fix listed |
| ubuntu/tomcat9(Ubuntu:Pro:20.04) | = 9.0.31-1ubuntu0.2 | No fix listed |
| ubuntu/tomcat9(Ubuntu:Pro:20.04) | = 9.0.31-1ubuntu0.3 | No fix listed |
| ubuntu/tomcat9(Ubuntu:Pro:20.04) | = 9.0.31-1ubuntu0.4 | No fix listed |
| ubuntu/tomcat9(Ubuntu:Pro:20.04) | = 9.0.31-1ubuntu0.5 | No fix listed |
| ubuntu/tomcat9(Ubuntu:Pro:20.04) | = 9.0.31-1ubuntu0.6 | No fix listed |
| ubuntu/tomcat9(Ubuntu:Pro:20.04) | = 9.0.31-1ubuntu0.7 | No fix listed |
| ubuntu/tomcat9(Ubuntu:Pro:20.04) | = 9.0.31-1ubuntu0.8 | No fix listed |
| ubuntu/tomcat9(Ubuntu:Pro:20.04) | = 9.0.31-1ubuntu0.9 | No fix listed |
| ubuntu/tomcat9(Ubuntu:Pro:20.04) | = 9.0.31-1ubuntu0.9+esm1 | No fix listed |
| ubuntu/tomcat9(Ubuntu:Pro:20.04) | = 9.0.31-1ubuntu0.9+esm2 | No fix listed |
| ubuntu/tomcat9(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/tomcat9(Ubuntu:22.04) | = 9.0.43-3 | No fix listed |
| ubuntu/tomcat9(Ubuntu:22.04) | = 9.0.54-1 | No fix listed |
| ubuntu/tomcat9(Ubuntu:22.04) | = 9.0.55-1 | No fix listed |
| ubuntu/tomcat9(Ubuntu:22.04) | = 9.0.58-1 | No fix listed |
| ubuntu/tomcat9(Ubuntu:22.04) | = 9.0.58-1ubuntu0.1 | No fix listed |
| ubuntu/tomcat9(Ubuntu:22.04) | = 9.0.58-1ubuntu0.2 | No fix listed |
| ubuntu/tomcat9(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/tomcat9(Ubuntu:24.04) | = 9.0.70-1ubuntu1 | No fix listed |
| ubuntu/tomcat9(Ubuntu:24.04) | = 9.0.70-2 | No fix listed |
| ubuntu/tomcat9(Ubuntu:24.04) | = 9.0.70-2ubuntu0.1 | No fix listed |
| ubuntu/tomcat9(Ubuntu:25.04) | All versions | No fix listed |
| ubuntu/tomcat9(Ubuntu:25.04) | = 9.0.70-2ubuntu1.1 | No fix listed |
| ubuntu/tomcat9(Ubuntu:25.04) | = 9.0.70-2ubuntu1.25.04.1 | No fix listed |
| ubuntu/tomcat9(Ubuntu:25.04) | = 9.0.70-2ubuntu1.25.04.2 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com issue-tracking patch
- github.com issue-tracking patch
- github.com patch
- www.oracle.com patch third-party-advisory
- www.oracle.com patch third-party-advisory
- www.oracle.com patch third-party-advisory
- DSA-5009 third-party-advisory vendor-advisory
- tomcat.apache.org
- tomcat.apache.org
- tomcat.apache.org
- security.netapp.com third-party-advisory
- GLSA-202208-34 third-party-advisory vendor-advisory
- lists.apache.org issue-tracking mailing-list vendor-advisory
- lists.apache.org
- kc.mcafee.com third-party-advisory
- github.com product
- github.com
- Debian Security Tracker CVE-2021-42340 vendor-advisory
- [myfaces-commits] 20211021 [myfaces-tobago] branch tobago-5.x updated: build: workaround for CVE-2021-42340 mailing-list
- ubuntu.com issue-tracking
- www.openwall.com issue-tracking
- www.cve.org issue-tracking