CVE-2021-42340
DoS via memory leak with WebSocket connections
7.5CVSSHIGH
Description
Missing Release of Resource after Effective Lifetime in Apache Tomcat
CVSS Vector Breakdown
Exploitability
AV:NAttack VectorNetwork
AC:LAttack ComplexityLow
PR:NPrivileges RequiredNone
UI:NUser InteractionNone
Scope
S:UScopeUnchanged
Impact
C:NConfidentialityNone
I:NIntegrityNone
A:HAvailabilityHigh
Weaknesses
Affected Products
and 40 more affected products View all →
Exploitability
Official Patch Available
References
https://nvd.nist.gov/vuln/detail/CVE-2021-42340
nvd.nist.gov
https://github.com/apache/tomcat/commit/31d62426645824bdfe076a0c0eafa904d90b4fb9
github.com
https://github.com/apache/tomcat/commit/80f1438ec45e77a07b96419808971838d259eb47
github.com
and 31 more references View all →
Timeline
Published
Oct 14, 2021
Last Updated
Nov 21, 2024
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2021-42340 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows