ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2021-42340

This advisory was withdrawn on 21 August 2025.

No fix available CVE-2021-42340

Details

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 packages

EcosystemPackageAffected versions
Ubuntu:Pro:16.04:LTStomcat8
All versions, no fix listed
Ubuntu:Pro:18.04:LTStomcat8
All versions, no fix listed
Ubuntu:Pro:18.04:LTStomcat9
All versions, no fix listed
Ubuntu:Pro:20.04:LTStomcat9
All versions, no fix listed
Ubuntu:22.04:LTStomcat9
All versions, no fix listed
Ubuntu:24.04:LTStomcat9
All versions, no fix listed
Ubuntu:25.04tomcat9
All versions, no fix listed

References