Rapid7 Vulnerability & Exploit Database

Apache Tomcat: Important: Denial of Service (CVE-2021-42340)

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Apache Tomcat: Important: Denial of Service (CVE-2021-42340)

Severity
5
CVSS
(AV:N/AC:L/Au:N/C:N/I:N/A:P)
Published
10/15/2021
Created
10/16/2021
Added
10/15/2021
Modified
11/08/2022

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.

Solution(s)

  • apache-tomcat-upgrade-10_0_11
  • apache-tomcat-upgrade-8_5_72
  • apache-tomcat-upgrade-9_0_54

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;