CVE-2021-30639
JSON

7.5high

DoS after non-blocking IO error

Severity
7.5high CVSS:3.1 by NVD
Exploit likelihood
6.03% (higher than 94% of CVEs)
Published
Last changed
Assigned by
apache
Also known as
GHSA-44qp-qhfv-c7f6BIT-TOMCAT-2021-30639

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

Product or packageVersionsReported by
Apache Software Foundation Apache TomcatApache Tomcat 10 10.0.3 to 10.0.4, Apache Tomcat 9 9.0.44, Apache Tomcat 8.5 8.5.64CVE List
org.apache.tomcat:tomcat (Maven)from 10.0.3 before 10.0.5, from 9.0.0 before 9.0.45, before 8.5.65GitHub Advisory Database
apache tomcat8.5.64, 9.0.44, 10.0.3, 10.0.4NVD
mcafee epolicy_orchestratorbefore 5.10.0, 5.10.0NVD
oracle big_data_spatial_and_graphbefore 23.1NVD
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.5Bitnami Vulnerability Database

All scores

GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:N/A:P
Bitnami Vulnerability Databasehigh rating

Classification

What each source says

CVE List

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.

NVD (es)

Una vulnerabilidad en Apache Tomcat permite a un atacante desencadenar remotamente una denegación de servicio. Un error introducido como parte de un cambio para mejorar el manejo de errores durante la I/O sin bloqueo significaba que el flag de error asociado al objeto Request no se restablecía entre peticiones. Esto significaba que una vez que se producía un error de I/O sin bloqueo, todas las futuras peticiones manejadas por ese objeto de petición podrían producir un fallo. Unos usuarios podían desencadenar errores de I/O sin bloqueo, por ejemplo, abandonando una conexión, creando así la posibilidad de desencadenar una DoS. Las aplicaciones que no usan I/O sin bloqueo no están expuestas a esta vulnerabilidad. Este problema afecta a Apache Tomcat versiones 10.0.3 a 10.0.4; 9.0.44; 8.5.64

References

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

Sources

SourceRecordLicence
CVE ListCVE-2021-30639 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-44qp-qhfv-c7f6 changed 2024-02-19CC-BY-4.0
NVDCVE-2021-30639 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-TOMCAT-2021-30639 changed 2026-09-08Apache-2.0