Skip to main content
CVE Radar

CVE-2021-42340

CVE-2021-42340 — DoS via memory leak with WebSocket connections

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.

Published Updated Sources: cvelistV5, apache

Triage

Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.

Exploitation

Unreported

no source claims exploitation

EPSS

11%

chance of exploitation in 30 days

Affects

Apache

apache tomcat

CVSS base

Unscored

no source published a base score

Affected scope

The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.

Vendors (1)

Products (1)

apache tomcat

Weakness & attack patterns

  • CWE-772

Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.

  • T1499.002Endpoint Denial of Service: Service Exhaustion Flood

References

9 on the record

Related CVEs

Same product first, then the same weakness or threat actor.

Elsewhere on this site

  • Apacheevery CVE for this vendor
  • CWE-772other pages naming this weakness

Not in any source we poll

Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.

  • No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
  • No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
  • No exploit packet captures, log samples, or incident case IDs supplied.