CVE-2021-30639
DoS after non-blocking IO error
Also known as BIT-tomcat-2021-30639, GHSA-44qp-qhfv-c7f6
Mitigation
- Upgrade org.apache.tomcat:tomcat to one of 10.0.5, 9.0.45, 8.5.65 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.apache.tomcat:tomcat (>= 10.0.3, < 10.0.5)
- Anyone running Apache Software Foundation Apache Tomcat Apache Tomcat 10 10.0.3 to 10.0.4; Apache Tomcat 9 9.0.44; Apache Tomcat 8.5 8.5.64
Vulnerability facts
- Affected
- org.apache.tomcat:tomcat >= 10.0.3, < 10.0.5
- Fixed in
- 10.0.5, 9.0.45, 8.5.65
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 6.03% chance of exploitation in 30 days (percentile 94, 2026-11-26)
- CWE
- CWE-755
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.tomcat:tomcat | >= 10.0.3, < 10.0.5 | 10.0.5, 9.0.45, 8.5.65 | osv |
| Apache Software Foundation Apache Tomcat | Apache Tomcat 10 10.0.3 to 10.0.4; Apache Tomcat 9 9.0.44; Apache Tomcat 8.5 8.5.64 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2021-30639. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-30639.md Affected: org.apache.tomcat:tomcat >= 10.0.3, < 10.0.5 Fixed in: 10.0.5, 9.0.45, 8.5.65 Steps: 1. Search this machine and project for org.apache.tomcat:tomcat (Maven), Apache Software Foundation Apache Tomcat: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Other
- https://lists.apache.org/thread.html/r79a7c019712b39aedf7cf4da9276d80610f04441b2a4f6506cb2daaf%40%3Cusers.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r79a7c019712b39aedf7cf4da9276d80610f04441b2a4f6506cb2daaf%40%3Cdev.tomcat.apache.org%3E
- https://security.netapp.com/advisory/ntap-20210827-0007/
- https://kc.mcafee.com/corporate/index?page=content&id=SB10366
- https://lists.apache.org/thread.html/r79a7c019712b39aedf7cf4da9276d80610f04441b2a4f6506cb2daaf@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r79a7c019712b39aedf7cf4da9276d80610f04441b2a4f6506cb2daaf@%3Cusers.tomcat.apache.org%3E
- https://security.netapp.com/advisory/ntap-20210827-0007
FAQ
Is CVE-2021-30639 being exploited?
There is no confirmed exploitation: CVE-2021-30639 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 6.03% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-30639?
High: CVSS 7.5 (v3.1, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2021-30639?
org.apache.tomcat:tomcat >= 10.0.3, < 10.0.5.
Is there a fix for CVE-2021-30639?
Yes. Fixed in 10.0.5, 9.0.45, 8.5.65. Upgrade org.apache.tomcat:tomcat to one of 10.0.5, 9.0.45, 8.5.65 (or later in the same release line).
How do I check if I'm affected by CVE-2021-30639?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.