logo

CVE-2021-42340 org.apache.tomcat:tomcat

Package

Manager: maven
Name: org.apache.tomcat:tomcat
Vulnerable Version: >=10.1.0-m1 <10.1.0-m6 || >=10.0.0-m1 <10.0.12 || >=9.0.40 <9.0.54 || >=8.5.60 <8.5.72

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

EPSS: 0.03464 pctl0.87083

Details

Missing Release of Resource after Effective Lifetime in Apache Tomcat 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.

Metadata

Created: 2021-10-15T18:51:34Z
Modified: 2024-03-11T16:36:26Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-wph7-x527-w3h5/GHSA-wph7-x527-w3h5.json
CWE IDs: ["CWE-772"]
Alternative ID: GHSA-wph7-x527-w3h5
Finding: F067
Auto approve: 1