Denial of service in Apache Tomcat

Published: 2021-10-15
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-42340
Exploitation vector Network
Public exploit N/A
Vulnerable software
Apache Tomcat
Server applications / Web servers

Vendor Apache Foundation

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Resource exhaustion

EUVDB-ID: #VU57389

Risk: Medium


CVE-ID: CVE-2021-42340

CWE-ID: CWE-400 - Uncontrolled Resource Consumption ('Resource Exhaustion')

Exploit availability: No


The vulnerability allows a remote attacker to perform DoS attack on the target system.

The vulnerability exists due memory leak when processing HTTP connections. A remote attacker can initiate multiple HTTP connections with the web server and consume all available memory on the system.


Install updates from vendor's website.

Vulnerable software versions

Apache Tomcat: 8.5.0 - 8.5.71, 9.0.0 - 9.0.53, 10.0.0 - 10.0.11, 10.1.0-M1 - 10.1.0-M5

CPE2.3 External links

Q & A

Can this vulnerability be exploited remotely?

How the attacker can exploit this vulnerability?

Is there known malware, which exploits this vulnerability?