Denial of servicein Apache Tomcat.
No public exploit found; not on exploited lists.
A vulnerability in Apache Tomcat allows an attacker to remotely trigger a denial of service. An error introduced as part of a change to improve error handling during non-blocking I/O meant that the error flag associated with the Request object was not reset between requests. This meant that once a non-blocking I/O error occurred, all future requests handled by that request object would fail. Users were able to trigger non-blocking I/O errors, e.g. by dropping a connection, thereby creating the possibility of triggering a DoS. Applications that do not use non-blocking I/O are not exposed to this vulnerability. This issue affects Apache Tomcat 10.0.3 to 10.0.4; 9.0.44; 8.5.64.
- Upgrade org.apache.tomcat:tomcat (Maven) to 8.5.65, 9.0.45, 10.0.5 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 13 Apr 2021CVE ID reserved by apache.
- 12 Jul 2021Published in the CVE List.
- 3 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other Tomcat vulnerabilities
- lists.apache.org x_refsource_MISC
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- security.netapp.com x_refsource_CONFIRM
- kc.mcafee.com x_refsource_CONFIRM
- www.oracle.com x_refsource_MISC
- security.gentoo.org vendor-advisory, x_refsource_GENTOO
Patchminder. CVE-2021-30639: Denial of service in Apache Tomcat. https://patchminder.com/cve/cve-2021-30639/ (accessed 5 December 2026).