# CVE-2021-30639: DoS after non-blocking IO error

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 6.03%, higher than 93% of CVEs (2026-12-01)
- Published: 2021-07-12T14:55:12.000Z
- Modified: 2026-09-08T08:48:20.858Z
- Also known as: GHSA-44qp-qhfv-c7f6, BIT-TOMCAT-2021-30639
- Weaknesses: CWE-755
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- 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
- org.apache.tomcat:tomcat (Maven): from 10.0.3 before 10.0.5; from 9.0.0 before 9.0.45; before 8.5.65
- apache tomcat: 8.5.64; 9.0.44; 10.0.3; 10.0.4
- mcafee epolicy_orchestrator: before 5.10.0; 5.10.0
- oracle big_data_spatial_and_graph: before 23.1
- tomcat (Bitnami): from 8.5.64 before 8.5.65; from 9.0.44 before 9.0.45; from 10.0.3 before 10.0.4; from 10.0.4 before 10.0.5

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`
- Bitnami Vulnerability Database: rating High

## References

- <https://lists.apache.org/thread.html/rd84fae1f474597bdf358f5bdc0a5c453c507bd527b83e8be6b5ea3f4%40%3Cannounce.tomcat.apache.org%3E> (advisory, mailing-list, vendor-advisory, web)
- <https://lists.apache.org/thread.html/r79a7c019712b39aedf7cf4da9276d80610f04441b2a4f6506cb2daaf%40%3Cusers.tomcat.apache.org%3E> (mailing-list, web)
- <https://lists.apache.org/thread.html/r79a7c019712b39aedf7cf4da9276d80610f04441b2a4f6506cb2daaf%40%3Cdev.tomcat.apache.org%3E> (mailing-list, web)
- <https://security.netapp.com/advisory/ntap-20210827-0007/> (advisory, third-party-advisory)
- <https://kc.mcafee.com/corporate/index?page=content&id=SB10366> (advisory, third-party-advisory, web)
- <https://www.oracle.com/security-alerts/cpujan2022.html> (advisory, patch, third-party-advisory, web)
- <https://security.gentoo.org/glsa/202208-34> (advisory, third-party-advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-30639> (advisory, web)
- <https://lists.apache.org/thread.html/r79a7c019712b39aedf7cf4da9276d80610f04441b2a4f6506cb2daaf@%3Cdev.tomcat.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/r79a7c019712b39aedf7cf4da9276d80610f04441b2a4f6506cb2daaf@%3Cusers.tomcat.apache.org%3E> (web)
- <https://security.netapp.com/advisory/ntap-20210827-0007> (web)

## Sources

- CVE List: [CVE-2021-30639](https://www.cve.org/CVERecord?id=CVE-2021-30639), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-44qp-qhfv-c7f6](https://github.com/advisories/GHSA-44qp-qhfv-c7f6), CC-BY-4.0, modified 2024-02-19
- NVD: [CVE-2021-30639](https://nvd.nist.gov/vuln/detail/CVE-2021-30639), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-TOMCAT-2021-30639](https://osv.dev/vulnerability/BIT-TOMCAT-2021-30639), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-30639 · Whole record: https://cve.day/CVE-2021-30639.json · Rebuilt by cve.day 2026-11-25T22:58:02.513Z
