DoS after non-blocking IO error
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.apache.tomcat:tomcatMaven | >= 10.0.3, < 10.0.5 | 10.0.5 |
org.apache.tomcat:tomcatMaven | >= 9.0.0, < 9.0.45 | 9.0.45 |
org.apache.tomcat:tomcatMaven | < 8.5.65 | 8.5.65 |
Affected products
3- osv-coords2 versions
>= 8.5.64, < 8.5.65+ 1 more
- (no CPE)range: >= 8.5.64, < 8.5.65
- (no CPE)range: >= 10.0.3, < 10.0.5
- Apache Software Foundation/Apache Tomcatv5Range: Apache Tomcat 10 10.0.3 to 10.0.4
Patches
Vulnerability mechanics
References
12- github.com/advisories/GHSA-44qp-qhfv-c7f6ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-30639ghsaADVISORY
- security.gentoo.org/glsa/202208-34ghsavendor-advisoryx_refsource_GENTOOWEB
- kc.mcafee.com/corporate/indexghsax_refsource_CONFIRMWEB
- lists.apache.org/thread.html/r79a7c019712b39aedf7cf4da9276d80610f04441b2a4f6506cb2daaf%40%3Cdev.tomcat.apache.org%3Emitremailing-listx_refsource_MLIST
- lists.apache.org/thread.html/r79a7c019712b39aedf7cf4da9276d80610f04441b2a4f6506cb2daaf%40%3Cusers.tomcat.apache.org%3Emitremailing-listx_refsource_MLIST
- lists.apache.org/thread.html/r79a7c019712b39aedf7cf4da9276d80610f04441b2a4f6506cb2daaf@%3Cdev.tomcat.apache.org%3EghsaWEB
- lists.apache.org/thread.html/r79a7c019712b39aedf7cf4da9276d80610f04441b2a4f6506cb2daaf@%3Cusers.tomcat.apache.org%3EghsaWEB
- lists.apache.org/thread.html/rd84fae1f474597bdf358f5bdc0a5c453c507bd527b83e8be6b5ea3f4%40%3Cannounce.tomcat.apache.org%3Eghsax_refsource_MISCWEB
- security.netapp.com/advisory/ntap-20210827-0007ghsaWEB
- security.netapp.com/advisory/ntap-20210827-0007/mitrex_refsource_CONFIRM
- www.oracle.com/security-alerts/cpujan2022.htmlghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.