Tomcat9: Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability during JSP compilation in Apache Tomcat
Affects tomcat9Source GCVE Database
Not known to be exploited · CVSS 9.8 Critical · fixed in 10.1.61~us1-0ubuntu1~24.04.2 : patch tomcat9 as a priority.
Data as of 24 Nov 2026, 19:41 UTC
Thin evidence
One scorer or none| CISA-ADP | CVSS 3.1 | 9.8 |
|---|
- Patch
- Available – fixed in 10.1.61~us1-0ubuntu1~24.04.2, 10.1.16-1ubuntu0.1~esm3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 17 Dec 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade the Ubuntu tomcat10 to 10.1.61~us1-0ubuntu1~24.04.2 (package) or 10.1.16-1ubuntu0.1~esm3 (package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTStomcat9pkg:deb/ubuntu/tomcat9?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10tomcat9pkg:deb/ubuntu/tomcat9?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTStomcat10pkg:deb/ubuntu/tomcat10?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu Pro 24.04 LTStomcat10pkg:deb/ubuntu/tomcat10?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTStomcat9pkg:deb/ubuntu/tomcat9?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTStomcat9pkg:deb/ubuntu/tomcat9?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2024-50379 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-50379 (opens in a new tab)
- lists.apache.org/thread/y6lj6q1xnp822g6ro70tn19sgtjmr80r (opens in a new tab)
- github.com/apache/tomcat/commit/8554f6b1722b33a2ce8b0a3fad37825f3a75f2d2 (opens in a new tab)
- github.com/apache/tomcat/commit/05ddeeaa54df1e2dc427d0164bedd6b79f78d81f (opens in a new tab)
- github.com/apache/tomcat/commit/43b507ebac9d268b1ea3d908e296cc6e46795c00 (opens in a new tab)
- github.com/apache/tomcat/commit/631500b0c9b2a2a2abb707e3de2e10a5936e5d41 (opens in a new tab)
- openwall.com/lists/oss-security/2024/12/17/4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7705-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-9186-1 (opens in a new tab)