CVE-2024-56337
Last modified
CVE-2024-56337 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability in Apache Tomcat. 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. The mitigation for CVE-2024-50379 was incomplete. Users running Tomcat on a case insensitive file system with the default servlet write enabled (readonly initialisation parameter set to the non-default value of false) may need additional configuration to fully mitigate CVE-2024-50379 depending on which version of Java they are using with Tomcat: - running on Java 8 or Java 11: the system property sun.io.useCanonCaches must be explicitly set to false (it defaults to true) - running on Java 17: the system property sun.io.useCanonCaches, if set, must be set to false (it defaults to false) - running on Java 21 onwards: no further configuration is required (the system property and the problematic cache have been removed) Tomcat 11.0.3, 10.1.35 and 9.0.99 onwards will include checks that sun.io.useCanonCaches is set appropriately before allowing the default servlet to be write enabled on a case insensitive file system. EPSS estimates a 8.86% chance of exploitation in the next 30 days.
Description
Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability in Apache Tomcat. 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. The mitigation for CVE-2024-50379 was incomplete. Users running Tomcat on a case insensitive file system with the default servlet write enabled (readonly initialisation parameter set to the non-default value of false) may need additional configuration to fully mitigate CVE-2024-50379 depending on which version of Java they are using with Tomcat: - running on Java 8 or Java 11: the system property sun.io.useCanonCaches must be explicitly set to false (it defaults to true) - running on Java 17: the system property sun.io.useCanonCaches, if set, must be set to false (it defaults to false) - running on Java 21 onwards: no further configuration is required (the system property and the problematic cache have been removed) Tomcat 11.0.3, 10.1.35 and 9.0.99 onwards will include checks that sun.io.useCanonCaches is set appropriately before allowing the default servlet to be write enabled on a case insensitive file system. Tomcat will also set sun.io.useCanonCaches to false by default where it can.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Apache | Tomcat | >= 9.0.0, < 9.0.98 |
| Apache | Tomcat | >= 10.1.0, < 10.1.34 |
| Apache | Tomcat | >= 11.0.0, < 11.0.2 |
| Netapp | Bootstrap Os | All versions |
References
- https://lists.apache.org/thread/b2b9qrgjrz1kvo4ym8y2wkfdvwoq6qbpMailing List, Vendor Advisory
- https://www.cve.org/CVERecord?id=CVE-2024-50379Third Party Advisory
- https://security.netapp.com/advisory/ntap-20250103-0002/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-56337?
How severe is CVE-2024-56337?
How do I fix CVE-2024-56337?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-56331Uptime Kuma is an open source, self-hosted monitoring tool. …6.8
- CVE-2024-56332Next.js is a React framework for building full-stack web app…5.3
- CVE-2024-56333Onyxia is a web app that aims at being the glue between mult…9.4
- CVE-2024-56334systeminformation is a System and OS information library for…7.8
- CVE-2024-56335vaultwarden is an unofficial Bitwarden compatible server wri…7.5
- CVE-2024-56336A vulnerability has been identified in SINAMICS S200 (All ve…9.8
- CVE-2024-56338IBM Sterling B2B Integrator Standard Edition 6.0.0.0 through…4.8
- CVE-2024-56339IBM WebSphere Application Server 9.0 and WebSphere Applicati…7.5
- CVE-2024-5634Longse model LBH30FE200W cameras, as well as products based …8.6
- CVE-2024-56340IBM Cognos Analytics 11.2.0 through 11.2.4 FP5 is vulnerable…6.5
- CVE-2024-56341IBM Content Navigator 3.0.11, 3.0.15, and 3.1.0 is vulnerabl…5.4
- CVE-2024-56342IBM Verify Identity Access Digital Credentials 24.06 could a…5.3
Are you affected by CVE-2024-56337?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
