CVE & CISA-KEV Catalog

CVE-2021-42340

HIGHEPSS 95th pctl
7.5
CVSS v3
NVD

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.

How to fix

Remediation Available
tomcat9Debian
Fixed in:9.0.43-2~deb11u3CVE-2021-42340
Fixed in:9.0.54-1CVE-2021-42340
Fixed in:9.0.54-1CVE-2021-42340
Fixed in:9.0.54-1CVE-2021-42340

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

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

Exploit Intelligence

11.00%probability of exploitation in 30 days
95thpercentile

Very high risk: more likely to be exploited than 95% of all known CVEs.

References

Related Vulnerabilities

Other CWE-772 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2003-0132Medium5.086%-Fix
CVE-2017-14495High7.584%-Fix
CVE-2021-22883High7.577%-Fix
CVE-2024-2398High8.636%-Fix
CVE-2020-9375High7.528%--
CVE-1999-1127High7.518%--
Embed a live status badge for CVE-2021-42340
CVE-2021-42340 severity badge

Markdown

[![CVE-2021-42340](https://tridentstack.com/cve/badge/CVE-2021-42340.svg)](https://tridentstack.com/cve/CVE-2021-42340)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-42340"><img src="https://tridentstack.com/cve/badge/CVE-2021-42340.svg" alt="CVE-2021-42340"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.