Vulnerability in Apache Tomcat
CVE-2021-42340
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.118 (96.1th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 96th percentile — 96.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.118 · newest: 0.118 · change: 0.000
Affected products
- Apache Tomcat — versions 10.0.0, 10.1.0
- Apache Software Foundation Tomcat — versions Apache Tomcat 10 10.0.0-M10 to 10.0.11, Apache Tomcat 10 10.1.0-M1 to 10.1.0-M5, Apache Tomcat 9 9.0.40 to 9.0.53
- NetApp Hci
- NetApp Management Services For Element Software
- Oracle Agile Engineering Data Management — versions 6.2.1.0
- Oracle Big Data Spatial And Graph
- Oracle Communications Diameter Signaling Router
- Oracle Hospitality Cruise Shipboard Property Management System — versions 20.1.0
- Oracle Managed File Transfer — versions 12.2.1.3.0, 12.2.1.4.0
- Oracle Middleware Common Libraries And Tools — versions 12.2.1.4.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- lists.apache.org/thread.html/r83a35be60f06aca2065f188ee542b9099695d57ced2e70e08… (Mailing List, Vendor Advisory)
- lists.apache.org/thread.html/r8097a2d1550aa78e585fc77e602b9046e6d4099d8d132497c… (mailing-list)
- www.debian.org/security/2021/dsa-5009 (vendor-advisory, Third Party Advisory)
- www.oracle.com/security-alerts/cpujan2022.html (Patch, Third Party Advisory)
- security.netapp.com/advisory/ntap-20211104-0001/ (Third Party Advisory)
- kc.mcafee.com/corporate/index (Third Party Advisory)
- www.oracle.com/security-alerts/cpuapr2022.html (Patch, Third Party Advisory)
- www.oracle.com/security-alerts/cpujul2022.html (Patch, Third Party Advisory)
- security.gentoo.org/glsa/202208-34 (vendor-advisory, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-42340?
- CVE-2021-42340 is a high-severity vulnerability in Apache Tomcat, classified under Missing Release of Resource after Effective Lifetime. CVSS score: 7.5/10. Published 2021-10-14.
- How severe is CVE-2021-42340?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2021-42340 known to be exploited?
- 5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.