# CVE-2024-50379: Apache Tomcat: RCE due to TOCTOU issue in JSP compilation

> CVE-2024-50379: Apache Tomcat: RCE due to TOCTOU issue in JSP compilation. CVSS 9.8 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2024-50379
Last updated: 2026-06-17T08:04:20Z

- Published: 2024-12-17 12:34 UTC · Updated: 2026-06-17 08:04 UTC · Assigner: apache
- CVSS: 9.8 (CVSS 3.1) · Severity: Critical · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 31.8%, 98th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-367

## 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 vendors and products

- Apache Software Foundation: Apache Tomcat

## Tracked companies

- [Confluence](https://rewindex.com/company/confluence.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2024-50379)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2024-50379)
- [https://lists.apache.org/thread/y6lj6q1xnp822g6ro70tn19sgtjmr80r](https://lists.apache.org/thread/y6lj6q1xnp822g6ro70tn19sgtjmr80r)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2024-50379 · Markdown: https://rewindex.com/cve/CVE-2024-50379.md · JSON: https://rewindex.com/api/v1/cves/CVE-2024-50379 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:15:58.455Z
