CVE-2024-50379
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-catalina -->
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (8)
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| org.apache.tomcat.embed:tomcat-embed-core | maven | 8.5.0, 8.5.100, 8.5.11, 8.5.12 (+81 more) | Range-based data available |
| org.apache.tomcat:tomcat-catalina | maven | 8.5.0, 8.5.100, 8.5.11, 8.5.12 (+81 more) | Range-based data available |
| 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-catalina | maven | 9.0.0.M1, 9.0.0.M10, 9.0.0.M11, 9.0.0.M13 (+95 more) | 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.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-50379ADVISORY
- https://github.com/apache/tomcat/commit/05ddeeaa54df1e2dc427d0164bedd6b79f78d81fWEB
- https://github.com/apache/tomcat/commit/43b507ebac9d268b1ea3d908e296cc6e46795c00WEB
- https://github.com/apache/tomcat/commit/631500b0c9b2a2a2abb707e3de2e10a5936e5d41WEB
- https://github.com/apache/tomcat/commit/684247ae85fa633b9197b32391de59fc54703842WEB
- https://github.com/apache/tomcat/commit/8554f6b1722b33a2ce8b0a3fad37825f3a75f2d2WEB
- https://github.com/apache/tomcat/commit/cc7a98b57c6dc1df21979fcff94a36e068f4456cWEB
- https://github.com/apache/tomcatPACKAGE
- https://lists.apache.org/thread/y6lj6q1xnp822g6ro70tn19sgtjmr80rWEB
- https://lists.debian.org/debian-lts-announce/2025/01/msg00009.htmlWEB
- https://security.netapp.com/advisory/ntap-20250103-0003WEB
- 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.openwall.com/lists/oss-security/2024/12/17/4WEB
- https://www.openwall.com/lists/oss-security/2024/12/18/2WEB
Frequently Asked Questions
- What is CVE-2024-50379?
- 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.8/10).
- How do I check if my project is affected by CVE-2024-50379?
- CVE-2024-50379 affects org.apache.tomcat.embed:tomcat-embed-core and org.apache.tomcat:tomcat-catalina. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-50379 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2017-5648CRITICAL
Exposure of Resource to Wrong Sphere in Apache Tomcat
- CVE-2026-43515CRITICAL
Apache Tomcat - Security constraints not correctly applied
- CVE-2025-24813CRITICAL
Apache Tomcat: Potential RCE and/or information disclosure and/or information corruption with partial PUT
- CVE-2024-56337HIGH
Apache Tomcat Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability
- 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-2025-49124MEDIUM
Apache Tomcat installer for Windows has an untrusted search path vulnerability
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies