Skip to main content

CVE-2021-42340

Severity

7.5

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.

Mitigation

We recommend upgrading to a version of this component that is not vulnerable to this specific issue.

Note: If this component is included as a bundled/transitive dependency of another component, there may not be an upgrade path. In this instance, we recommend contacting the maintainers who included the vulnerable package. Alternatively, we recommend investigating alternative components or a potential mitigating control.

Project

Apache Tomcat

Apache TomEE

Category
CWE-772 Missing Release of Resource after Effective Lifetime
Tags
data
Date Disclosed

2021-10-14

Date Discovered

2021-10-13

Apache Tomcat 10.0.x

First release:
2021-02-02
0
Support Lifecycle:
Namespace:
jakarta

Apache Tomcat 9.0.x

First release:
2018-01-18
0
Support Lifecycle:
Namespace:
javax

Apache Tomcat 8.5.x

First release:
2016-06-13
0
Support Lifecycle:
Namespace:
javax

Apache TomEE 8.0.x

First release:
2019-09-13
0
Support Lifecycle:
Namespace:
javax
Feel Vulnerable? 

Contact us so we can help you.

* These fields are required.