Skip to main content

CVE-2024-50379 — Vulnerability in tomcat-embed-core — CVE Details

HIGH

Apache Tomcat Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability

Published December 17, 2024Updated September 10, 2026Source: OSV

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.

Check my pom.xml

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.

Maven
Update org.apache.tomcat:tomcat-catalina to 10.1.34 or later
<!-- Update pom.xml dependency version to 10.1.34 for org.apache.tomcat:tomcat-catalina -->
Maven
Update org.apache.tomcat:tomcat-catalina to 11.0.2 or later
<!-- Update pom.xml dependency version to 11.0.2 for org.apache.tomcat:tomcat-catalina -->
Maven
Update org.apache.tomcat.embed:tomcat-embed-core to 11.0.2 or later
<!-- Update pom.xml dependency version to 11.0.2 for org.apache.tomcat.embed:tomcat-embed-core -->
Maven
Update org.apache.tomcat.embed:tomcat-embed-core to 9.0.98 or later
<!-- Update pom.xml dependency version to 9.0.98 for org.apache.tomcat.embed:tomcat-embed-core -->
Maven
Update org.apache.tomcat.embed:tomcat-embed-core to 10.1.34 or later
<!-- Update pom.xml dependency version to 10.1.34 for org.apache.tomcat.embed:tomcat-embed-core -->
Maven
Update org.apache.tomcat:tomcat-catalina to 9.0.98 or later
<!-- 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).

PackageFixed 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.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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

CVSS Score
9.8

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
19.42%
EPSS percentile: 97.9

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

GHSA-5j33-cvvr-w245
BIT-tomcat-2024-50379

Related CVEs

  • CVE-2026-65905
    CRITICAL

    Apache Tomcat's DIGEST authenticator has an Authentication Bypass by Capture-replay vulnerability

  • CVE-2026-65182
    CRITICAL

    Apache Tomcat has an Improper Access Control, Incorrect Authorization vulnerability

  • CVE-2026-68525
    CRITICAL

    Apache Tomcat's FORM authentication process has an Incorrect Authorization vulnerability

  • CVE-2026-43512
    CRITICAL

    Apache Tomcat - Digest authenticator will authenticate any unknown user

  • CVE-2026-42498
    HIGH

    Apache Tomcat - WebSocket authentication header exposure

  • CVE-2026-41284
    HIGH

    Apache Tomcat: Unbounded read in WebDAV LOCK and PROPFIND handling

  • CVE-2026-53404
    HIGH

    Apache Tomcat's rewrite valve has an Always-Incorrect Control Flow Implementation vulnerability

  • CVE-2026-34483
    HIGH

    Apache Tomcat has an Improper Encoding or Escaping of Output vulnerability in the JsonAccessLogValve

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml