Vulnerability · Published Jul 12, 2021 · Assigned by apache
CVE-2021-30639DoS after non-blocking IO error
High 7.5
In plain English
A high-severity security flaw in Apache Tomcat from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 6.9% (higher than 94% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.apache.tomcat:tomcat | 10.0.5 | GHSA-44qp-qhfv-c7f6 |
| Maven | org.apache.tomcat:tomcat | 9.0.45 | GHSA-44qp-qhfv-c7f6 |
| Maven | org.apache.tomcat:tomcat | 8.5.65 | GHSA-44qp-qhfv-c7f6 |
| Ubuntu:22.04:LTS | tomcat9 | no fix listed | UBUNTU-CVE-2021-30639 |
| Ubuntu:24.04:LTS | tomcat9 | no fix listed | UBUNTU-CVE-2021-30639 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Tomcat | Apache Tomcat 10 10.0.3 to 10.0.4Apache Tomcat 9 9.0.44Apache Tomcat 8.5 8.5.64 |
References
- https://lists.apache.org/thread.html/rd84fae1f474597bdf358f5bdc0a5c453c507bd527b83e8be6b5ea3f4%40%3Cannounce.tomcat.apache.org%3E x_refsource_MISC
- [tomcat-users] 20210712 RE: [SECURITY] CVE-2021-30639 Apache Tomcat DoS mailing-list, x_refsource_MLIST
- [tomcat-dev] 20210712 RE: [SECURITY] CVE-2021-30639 Apache Tomcat DoS mailing-list, x_refsource_MLIST
- https://security.netapp.com/advisory/ntap-20210827-0007/ x_refsource_CONFIRM
- https://kc.mcafee.com/corporate/index?page=content&id=SB10366 x_refsource_CONFIRM
- https://www.oracle.com/security-alerts/cpujan2022.html x_refsource_MISC
- GLSA-202208-34 vendor-advisory, x_refsource_GENTOO