CVE-2021-42340

high
Published 2022-11-15 ยท Modified 2024-03-11
CVSS v3
โ€”
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
8.0

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.

Predictions

Exploit likelihood
30%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

arch Arch Fixed 1 release
VersionStatusFixed in
โ€” Fixed 9.0.54-1
debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 9.0.54-1
sid Fixed 9.0.54-1
forky Fixed 9.0.54-1
bullseye Fixed 9.0.43-2~deb11u3
bookworm Fixed 9.0.54-1
redhat Red Hat Fixed 1 release
VersionStatusFixed in
9 Fixed โ€”

Package impact

EcosystemPackageVulnerableFixed
java Mavenorg.apache.tomcat:tomcat>=10.1.0-M1,<10.1.0-M610.1.0-M6
java Mavenorg.apache.tomcat:tomcat>=10.0.0-M1,<10.0.1210.0.12
java Mavenorg.apache.tomcat:tomcat>=9.0.40,<9.0.549.0.54
java Mavenorg.apache.tomcat:tomcat>=8.5.60,<8.5.728.5.72

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.