CVE-2024-56337
Apache Tomcat Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability
Summary
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 10.1.34 for org.apache.tomcat:tomcat-catalina -->
<!-- Update pom.xml dependency version to 11.0.2 for org.apache.tomcat:tomcat-catalina -->
<!-- Update pom.xml dependency version to 11.0.2 for org.apache.tomcat.embed:tomcat-embed-core -->
<!-- Update pom.xml dependency version to 9.0.98 for org.apache.tomcat.embed:tomcat-embed-core -->
<!-- Update pom.xml dependency version to 10.1.34 for org.apache.tomcat.embed:tomcat-embed-core -->
<!-- Update pom.xml dependency version to 9.0.98 for org.apache.tomcat:tomcat-embed-core -->
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (6)
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| org.apache.tomcat:tomcat-catalina | maven | 10.1.0, 10.1.0-M1, 10.1.0-M10, 10.1.0-M11 (+39 more) | 10.1.34 |
| org.apache.tomcat:tomcat-catalina | maven | 11.0.0, 11.0.0-M1, 11.0.0-M10, 11.0.0-M11 (+21 more) | 11.0.2 |
| org.apache.tomcat.embed:tomcat-embed-core | maven | 11.0.0, 11.0.0-M1, 11.0.0-M10, 11.0.0-M11 (+21 more) | 11.0.2 |
| org.apache.tomcat.embed:tomcat-embed-core | maven | 9.0.0.M1, 9.0.0.M10, 9.0.0.M11, 9.0.0.M13 (+95 more) | 9.0.98 |
| org.apache.tomcat.embed:tomcat-embed-core | maven | 10.1.0, 10.1.0-M1, 10.1.0-M10, 10.1.0-M11 (+39 more) | 10.1.34 |
| org.apache.tomcat:tomcat-embed-core | maven | All versions | 9.0.98 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-367
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.3 score means for each attack dimension.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-56337ADVISORY
- https://github.com/apache/tomcatPACKAGE
- https://lists.apache.org/thread/b2b9qrgjrz1kvo4ym8y2wkfdvwoq6qbpWEB
- https://lists.debian.org/debian-lts-announce/2025/01/msg00009.htmlWEB
- https://security.netapp.com/advisory/ntap-20250103-0002WEB
- https://tomcat.apache.org/security-10.html#Fixed_in_Apache_Tomcat_10.1.34WEB
- https://tomcat.apache.org/security-11.html#Fixed_in_Apache_Tomcat_11.0.2WEB
- https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.98WEB
- https://www.cve.org/CVERecord?id=CVE-2024-50379WEB
Frequently Asked Questions
- What is CVE-2024-56337?
- Apache Tomcat Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability This vulnerability has been assigned a severity rating of HIGH (CVSS score: 9.3/10).
- How do I check if my project is affected by CVE-2024-56337?
- CVE-2024-56337 affects org.apache.tomcat:tomcat-catalina, org.apache.tomcat.embed:tomcat-embed-core and org.apache.tomcat:tomcat-embed-core. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-56337 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2025-24813CRITICAL
Apache Tomcat: Potential RCE and/or information disclosure and/or information corruption with partial PUT
- CVE-2026-43512CRITICAL
Apache Tomcat - Digest authenticator will authenticate any unknown user
- CVE-2026-41293CRITICAL
Apache Tomcat - HTTP/2 request headers not validated
- CVE-2026-43513HIGH
Apache Tomcat: LockOutRealm treats user names as case-sensitive
- CVE-2026-42498HIGH
Apache Tomcat - WebSocket authentication header exposure
- CVE-2026-41284HIGH
Apache Tomcat: Unbounded read in WebDAV LOCK and PROPFIND handling
- CVE-2026-34483HIGH
Apache Tomcat has an Improper Encoding or Escaping of Output vulnerability in the JsonAccessLogValve
- CVE-2025-55754LOW
Apache Tomcat Vulnerable to Improper Neutralization of Escape, Meta, or Control Sequences
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies