Skip to main content
CVE-2024-56337VulnerabilityPublished Updated

Org.apache.tomcat:tomcat catalina: Apache Tomcat Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability

Affects org.apache.tomcat:tomcat-catalinaSource GCVE Database

0
Compare

Mentioned vulnerabilities

Authoritative record:CVE-2024-56337· Critical 9.8

Not known to be exploited · CVSS 9.8 Critical : upgrade to 11.0.2 as a priority.

Data as of 30 Oct 2026, 02:29 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 11.0.2, 10.1.34, 9.0.98
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 20 Dec 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: 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 29 Oct 2026.

What to do

Upgrade org.apache.tomcat:tomcat-catalina and org.apache.tomcat.embed:tomcat-embed-core to 11.0.2; org.apache.tomcat:tomcat-catalina and org.apache.tomcat.embed:tomcat-embed-core to 10.1.34; org.apache.tomcat:tomcat-embed-core and org.apache.tomcat.embed:tomcat-embed-core to 9.0.98.

Affected software

ProductAffectedFixed in
Mavenorg.apache.tomcat:tomcat-catalinaAffected
  • >=11.0.0-M1 <11.0.2
Fixed in
  • 11.0.2
Mavenorg.apache.tomcat:tomcat-catalinaAffected
  • >=10.1.0-M1 <10.1.34
Fixed in
  • 10.1.34
Mavenorg.apache.tomcat:tomcat-embed-coreAffected
  • >=9.0.0.M1 <9.0.98
Fixed in
  • 9.0.98
Mavenorg.apache.tomcat.embed:tomcat-embed-coreAffected
  • >=11.0.0-M1 <11.0.2
Fixed in
  • 11.0.2
Mavenorg.apache.tomcat.embed:tomcat-embed-coreAffected
  • >=10.1.0-M1 <10.1.34
Fixed in
  • 10.1.34
Mavenorg.apache.tomcat.embed:tomcat-embed-coreAffected
  • >=9.0.0.M1 <9.0.98
Fixed in
  • 9.0.98

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

AI-suggested

Apply the official patches by upgrading to Apache Tomcat versions 9.0.98, 10.1.34, or 11.0.2 or later. For users unable to upgrade immediately, ensure that on case insensitive file systems with the default servlet write enabled, the system property sun.io.useCanonCaches is set to false for Java 8 and 11, and if set for Java 17. No additional configuration is required for Java 21 and later. Tomcat 9.0.98+, 10.1.34+, and 11.0.2+ enforce these settings automatically. Follow vendor guidance for configuration and patching.

Description

A Time-of-check Time-of-use (TOCTOU) race condition vulnerability (CVE-2024-56337) affects Apache Tomcat versions 9.0.0.M1 through 9.0.97, 10.1.0-M1 through 10.1.33, and 11.0.0-M1 through 11.0.1. The vulnerability relates to the default servlet write capability on case insensitive file systems and requires specific Java system property configurations to fully mitigate. Tomcat versions 9.0.98, 10.1.34, and 11.0.2 include fixes that enforce appropriate settings and disable problematic caching by default.

References

Community reviews

Loading reviews…