Stackurity Start free trial

CVEs / CVE-2024-50379

CVE-2024-50379: Apache Software Foundation Apache Tomcat vulnerability

Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.

Check your servers with Stackurity Already using Stackurity? Search for CVE-2024-50379

Description

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.

The CVE record, via NVD · published 17 Dec 2024 · NVD status: Modified

Affected and fixed versions

As stated by the CVE record (from the CNA)
ProductAffectedFixed in
Apache Software Foundation Apache Tomcatfrom 11.0.0-M1, up to and including 11.0.1—
Apache Software Foundation Apache Tomcatfrom 10.1.0-M1, up to and including 10.1.33—
Apache Software Foundation Apache Tomcatfrom 9.0.0.M1, up to and including 9.0.97—
Apache Software Foundation Apache Tomcatfrom 8.5.0, up to and including 8.5.100—
As stated by OSV
ProductAffectedFixed in
org.apache.tomcat:tomcat-catalina (Maven)from 11.0.0-M1, before 11.0.211.0.2
org.apache.tomcat:tomcat-catalina (Maven)from 10.1.0-M1, before 10.1.3410.1.34
org.apache.tomcat:tomcat-catalina (Maven)from 9.0.0.M1, before 9.0.989.0.98
org.apache.tomcat.embed:tomcat-embed-core (Maven)from 11.0.0-M1, before 11.0.211.0.2
org.apache.tomcat.embed:tomcat-embed-core (Maven)from 10.1.0-M1, before 10.1.3410.1.34
org.apache.tomcat.embed:tomcat-embed-core (Maven)from 9.0.0.M1, before 9.0.989.0.98
org.apache.tomcat:tomcat-catalina (Maven)from 8.5.0, up to and including 8.5.100—
org.apache.tomcat.embed:tomcat-embed-core (Maven)from 8.5.0, up to and including 8.5.100—

Package versions from GHSA-5j33-cvvr-w245.

Exploitation

Not in the CISA Known Exploited Vulnerabilities catalog as of 13 Nov 2026.

Severity

CVSS 3.19.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored by the CNA (134c704f-9b21-4f2e-91b3-4a467353bcc0)
WeaknessCWE-367

References

Sources

Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.

This product uses data from the NVD API but is not endorsed or certified by the NVD.