Skip to main content
CVE-2024-50379VulnerabilityPublished Updated

CVE-2024-50379: Apache Tomcat · Time-of-check Time-of-use (TOCTOU) Race Condition

Affects Apache TomcatSource CVE Database V5

0

Not known to be exploited · 31% EPSS · CVSS 9.8 Critical · fixed in 11.0.2 : patch Apache Tomcat as a priority.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
31.8% chance of exploitation in 30 days – higher than 98% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 11.0.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 17 Dec 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 2026-10-25.

What to do

Affected software

ProductAffectedFixed in
Mavenorg.apache.tomcat/tomcatpkg:maven/org.apache.tomcat/tomcatOther threatsAffected
  • =11.0.0-M1
  • <=11.0.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

1. Immediately upgrade Apache Tomcat to the fixed versions: 11.0.2, 10.1.34, or 9.0.98 depending on your deployment branch. 2. Audit and disable write permissions on the default servlet unless explicitly required, as this is a non-default configuration that enables the vulnerability. 3. For environments running on case-insensitive file systems (e.g., Windows), prioritize patching and configuration review due to increased risk. 4. Implement strict file system permissions to limit the ability of attackers to manipulate JSP files or servlet resources. 5. Monitor web server logs and application behavior for unusual file access patterns or JSP compilation errors that may indicate exploitation attempts. 6. Employ network segmentation and application-layer firewalls to restrict external access to Tomcat management interfaces and JSP compilation endpoints. 7. Regularly review and update incident response plans to include scenarios involving Tomcat RCE vulnerabilities. 8. Consider deploying runtime application self-protection (RASP) or web application firewalls (WAF) with signatures targeting TOCTOU exploitation techniques as an additional layer of defense.

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

Community reviews

Loading reviews…