CVE-2024-50379 — Vulnerability in tomcat-embed-core — CVE Details
Apache Tomcat Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability
What Should I Do?
Low-to-Moderate Risk
Exploitation probability is 19.42% in 30 days. Address in your next planned sprint.
Does your project use an affected org.apache.tomcat.embed:tomcat-embed-core version?
Paste your pom.xml to check it for CVE-2024-50379 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published December 17, 2024 (709 days ago).
- Last revised September 10, 2026 — 632 days after initial publication.
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, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (8)
Affects 1 ecosystem: Maven (2).
| Package | Fixed In |
|---|---|
| org.apache.tomcat.embed:tomcat-embed-core Maven · Affected: 8.5.0, 8.5.100, 8.5.11, 8.5.12 (+81 more) | Range-based data available |
| org.apache.tomcat:tomcat-catalina Maven · Affected: 8.5.0, 8.5.100, 8.5.11, 8.5.12 (+81 more) | Range-based data available |
| org.apache.tomcat:tomcat-catalina Maven · Affected: 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 · Affected: 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 · Affected: 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 · Affected: 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 · Affected: 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 · Affected: 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. It has a 19.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-50379 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top 5% of EPSS-scored vulnerabilities — 97.9% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.
Also Known As
Related CVEs
- CVE-2026-65905CRITICAL
Apache Tomcat's DIGEST authenticator has an Authentication Bypass by Capture-replay vulnerability
- CVE-2026-65182CRITICAL
Apache Tomcat has an Improper Access Control, Incorrect Authorization vulnerability
- CVE-2026-68525CRITICAL
Apache Tomcat's FORM authentication process has an Incorrect Authorization vulnerability
- CVE-2026-43512CRITICAL
Apache Tomcat - Digest authenticator will authenticate any unknown user
- CVE-2026-42498HIGH
Apache Tomcat - WebSocket authentication header exposure
- CVE-2026-41284HIGH
Apache Tomcat: Unbounded read in WebDAV LOCK and PROPFIND handling
- CVE-2026-53404HIGH
Apache Tomcat's rewrite valve has an Always-Incorrect Control Flow Implementation vulnerability
- CVE-2026-34483HIGH
Apache Tomcat has an Improper Encoding or Escaping of Output vulnerability in the JsonAccessLogValve