Vulnerabilities · 2021 · Apache
CVE-2021-42340
Apache Tomcat vulnerability
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.
Affected products
Tomcat, Hci, Management Services For Element Software, Debian Linux, Agile Engineering Data Management, Big Data Spatial And Graph, Communications Diameter Signaling Router, Hospitality Cruise Shipboard Property Management System, Managed File Transfer, Middleware Common Libraries And Tools and more. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Apache Tomcat runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- lists.apache.org/thread.html/r83a35be60f06aca2065f188ee542b9099695d57ced2e70e0885f905c%40% · Vendor Advisory
- www.oracle.com/security-alerts/cpuapr2022.html · Patch
- www.oracle.com/security-alerts/cpujan2022.html · Patch
- www.oracle.com/security-alerts/cpujul2022.html · Patch
- kc.mcafee.com/corporate/index?page=content&id=SB10379 · Third Party Advisory
- security.gentoo.org/glsa/202208-34 · Third Party Advisory
- security.netapp.com/advisory/ntap-20211104-0001/ · Third Party Advisory
- www.debian.org/security/2021/dsa-5009 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-42340
- cve.org/CVERecord?id=CVE-2021-42340
More vulnerabilities in Apache products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.