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 package | Versions | Reported by |
|---|---|---|
| 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 | CVE 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.65 | GitHub Advisory Database |
| apache tomcat | 8.5.64, 9.0.44, 10.0.3, 10.0.4 | NVD |
| mcafee epolicy_orchestrator | before 5.10.0, 5.10.0 | NVD |
| oracle big_data_spatial_and_graph | before 23.1 | NVD |
| 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 | Bitnami Vulnerability Database |
All scores
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| Bitnami Vulnerability Database | high 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
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-30639 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-44qp-qhfv-c7f6 changed 2024-02-19 | CC-BY-4.0 |
| NVD | CVE-2021-30639 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-TOMCAT-2021-30639 changed 2026-09-08 | Apache-2.0 |