# CVE-2024-50379

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.

- Page: https://www.vulneraibility.com/cve/CVE-2024-50379
- CVSS: 9.8
- Known exploited: not in CISA KEV as of our last sync
- EPSS: 31.82% (percentile 98.3)
- Unvetted proof-of-concept code on GitHub: 15 GitHub proofs of concept (first 2024-12-18)
- CISA SSVC: exploitation poc, automatable yes, technical impact total (assessed 2025-03-20)
- Weakness: CWE-367
- Published: 2024-12-17

## Affected versions

- Apache Software Foundation Apache Tomcat: affected >= 11.0.0-M1 and <= 11.0.1; >= 10.1.0-M1 and <= 10.1.33; >= 9.0.0.M1 and <= 9.0.97; >= 8.5.0 and <= 8.5.100; >= 3 and < 8.5.0; >= 10.0.0-M1 and <= 10.0.27

A version outside these ranges is not a statement that it is unaffected.

## References

- [advisory] https://lists.apache.org/thread/y6lj6q1xnp822g6ro70tn19sgtjmr80r
- [other] http://www.openwall.com/lists/oss-security/2024/12/17/4
- [other] http://www.openwall.com/lists/oss-security/2024/12/18/2
- [other] https://security.netapp.com/advisory/ntap-20250103-0003/
- [other] https://lists.debian.org/debian-lts-announce/2025/01/msg00009.html

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
