9.8critical
Apache Tomcat: RCE due to TOCTOU issue in JSP compilation
- Severity
- 9.8critical CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 42.7% (higher than 98% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-5j33-cvvr-w245BIT-TOMCAT-2024-50379
Description
Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability during JSP compilation in Apache Tomcat permits an RCE on case insensitive file systems when the default servlet is enabled for write (non-default configuration). This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.1, from 10.1.0-M1 through 10.1.33, from 9.0.0.M1 through 9.0.97. The following versions were EOL at the time the CVE was created but are known to be affected: 8.5.0 though 8.5.100. Other, older, EOL versions may also be affected. Users are recommended to upgrade to version 11.0.2, 10.1.34 or 9.0.98, which fixes the issue.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache Tomcat | from 11.0.0-M1 up to 11.0.1, from 10.1.0-M1 up to 10.1.33, from 9.0.0.M1 up to 9.0.97, from 8.5.0 up to 8.5.100, from 3 before 8.5.0, from 10.0.0-M1 up to 10.0.27 | CVE List |
| org.apache.tomcat:tomcat-catalina (Maven) | from 11.0.0-M1 before 11.0.2, from 10.1.0-M1 before 10.1.34, from 9.0.0.M1 before 9.0.98, from 8.5.0 up to 8.5.100 | GitHub Advisory Database |
| org.apache.tomcat.embed:tomcat-embed-core (Maven) | from 11.0.0-M1 before 11.0.2, from 10.1.0-M1 before 10.1.34, from 9.0.0.M1 before 9.0.98, from 8.5.0 up to 8.5.100 | GitHub Advisory Database |
| apache tomcat | from 9.0.0 before 9.0.98, from 10.1.0 before 10.1.34, from 11.0.0 before 11.0.2 | NVD |
| netapp bootstrap_os | Not specified | NVD |
| tomcat (Bitnami) | from 9.0.0 before 9.0.98, from 10.0.0 before 10.1.34, from 11.0.0 before 11.0.2 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 9.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U |
| Bitnami Vulnerability Database | critical rating |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.
What each source says
CVE List
Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability during JSP compilation in Apache Tomcat permits an RCE on case insensitive file systems when the default servlet is enabled for write (non-default configuration). This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.1, from 10.1.0-M1 through 10.1.33, from 9.0.0.M1 through 9.0.97. The following versions were EOL at the time the CVE was created but are known to be affected: 8.5.0 though 8.5.100. Other, older, EOL versions may also be affected. Users are recommended to upgrade to version 11.0.2, 10.1.34 or 9.0.98, which fixes the issue.
NVD (es)
La vulnerabilidad de condición de ejecución de tiempo de uso y tiempo de verificación (TOCTOU) durante la compilación de JSP en Apache Tomcat permite un RCE en sistemas de archivos que no distinguen entre mayúsculas y minúsculas cuando el servlet predeterminado está habilitado para escritura (configuración no predeterminada). Este problema afecta a Apache Tomcat: desde 11.0.0-M1 hasta 11.0.1, desde 10.1.0-M1 hasta 10.1.33, desde 9.0.0.M1 hasta 9.0.97. Se recomienda a los usuarios que actualicen a la versión 11.0.2, 10.1.34 o 9.0.08, que soluciona el problema.
Bitnami Vulnerability Database
Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability during JSP compilation in Apache Tomcat permits an RCE on case insensitive file systems when the default servlet is enabled for write (non-default configuration).
This issue affects Apache Tomcat: from 11.0.0 through 11.0.1, from 10.1.0 through 10.1.33, from 9.0.0 through 9.0.97.
The following versions were EOL at the time the CVE was created but are known to be affected: 8.5.0 though 8.5.100. Other, older, EOL versions may also be affected.
Users are recommended to upgrade to version 11.0.2, 10.1.34 or 9.0.98, which fixes the issue.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-50379 changed 2026-11-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5j33-cvvr-w245 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2024-50379 changed 2026-11-03 | Public domain |
| Bitnami Vulnerability Database | BIT-TOMCAT-2024-50379 changed 2026-09-08 | Apache-2.0 |