WaratekVRT Sign in

CVE-2024-50379 Apache Tomcat

Affected softwareApache Tomcat
Severity9.8 Critical CVSS 3.1
Fixed in11.0.2, 10.1.34, 9.0.98
WeaknessCWE-367
Published17 Dec 2024
Updated3 Nov 2026

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.

Exploitation status

Proof of concept only

A proof of concept exists, but no reviewed exploit catalogue lists this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: poc CISA recorded that an exploit has been demonstrated. Automatable: yes, technical impact: total.
  • Indexed PoC 14 indexed Published artifacts you can open, in GitHub PoC; first seen 2024-12-18.
  • EPSS 32% chance in 30 days A model's forecast, not a report of exploitation. Higher than 98% of all scored CVEs.

7 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC tomcat CVE-2024-50379/CVE-2024-56337 条件竞争文件上传exp 84 2024-12-23
GitHub PoC RCE through a race condition in Apache Tomcat 57 2024-12-21
GitHub PoC Apache Tomcat(CVE-2024-50379)条件竞争致远程代码执行漏洞批量检测脚本 24 2024-12-20
GitHub PoC This repository contains a Python script designed to exploit CVE-2024-50379, a vulnerability that allows attackers to upload a JSP shell to a vulnerable server and execute arbitrary commands remotely. This exploit is particularly useful when the /uploads directory is either unprotected or not present on the target server. 4 2024-12-25
GitHub PoC v3153/CVE-2024-50379-POC 4 2024-12-18
GitHub PoC ExploitDB CVE-2024-50379 a vulnerability that enables attackers to upload a JSP shell to a vulnerable server and execute commands remotely. The exploit is especially effective when the /uploads directory is either unprotected or missing on the target server. 2 2025-01-23
GitHub PoC Repositorio para alojar un template de Nuclei para probar el CVE-2024-50379 (en fase de prueba) 2 2024-12-20
GitHub PoC CVE-2024-50379-exp 1 2024-12-28
GitHub PoC CVE-2024-50379利用 1 2024-12-23
GitHub PoC CVE-2024-50379 is a critical vulnerability affecting multiple versions of Apache Tomcat, an open source web server and servlet container widely used for deploying Java-based web applications. The vulnerability arises from a Time-of-Use (TOCTOU) race condition that occurs when compiling JavaServer Pages (JSPs). 1 2024-12-20

Waratek protection

Mitigation candidate

A kind of vulnerability Waratek's rules address, with exploit code published or exploitation reported. No rule exists and none is planned yet. The decision below says what we found to build a rule from.

  • Protection none
  • Action unverified
  • Review automated Inferred
  • Record active
Decided by The affected package being open source on Maven, so the fix can be read
Finding This CVE affects an open-source Java library published on Maven Central (Maven packages: org.apache.tomcat:tomcat-catalina, org.apache.tomcat.embed:tomcat-embed-core), so it is squarely in ARMR's territory and the source needed to understand the defect is public. That makes it a candidate for an ARMR patch rule. No rule exists and none is scheduled: the diff between the affected and fixed versions has not been read, and a closer look may find no hook point ARMR can act on.

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update April 2025 ↗ CPU 2025-Q2 Oracle Communications / Automated Test Suite (Apache Tomcat) (24.2.0)
Oracle Communications / BEServer (Apache Tomcat) (24.3.0)
Oracle Financial Services Applications / Installer (Apache Tomcat) (8.1.2.7.0)
Oracle Fusion Middleware / Runtime Server (Apache Tomcat) (12.2.1.4.0)
Oracle Supply Chain / Document Management (Apache Tomcat) (6.2.1)
Oracle Critical Patch Update January 2025 ↗ CPU 2025-Q1 Oracle Communications / Configuration Management Platform (Apache Tomcat) (15.0.0.0.0)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Communications Automated Test Suite (Apache Tomcat) 24.2.0 24.2.0
Oracle Communications BEServer (Apache Tomcat) 24.3.0 24.3.0
Oracle Communications Configuration Management Platform (Apache Tomcat) 15.0.0.0.0 15.0.0.0.0
Oracle Financial Services Applications Installer (Apache Tomcat) 8.1.2.7.0 8.1.2.7.0
Oracle Fusion Middleware Runtime Server (Apache Tomcat) 12.2.1.4.0 12.2.1.4.0
Oracle Supply Chain Document Management (Apache Tomcat) 6.2.1 6.2.1

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.tomcat:tomcat-catalina 11.0.0-M1 11.0.2 unbounded
org.apache.tomcat:tomcat-catalina 10.1.0-M1 10.1.34 unbounded
org.apache.tomcat:tomcat-catalina 9.0.0.M1 9.0.98 unbounded
org.apache.tomcat.embed:tomcat-embed-core 11.0.0-M1 11.0.2 unbounded
org.apache.tomcat.embed:tomcat-embed-core 10.1.0-M1 10.1.34 unbounded
org.apache.tomcat.embed:tomcat-embed-core 9.0.0.M1 9.0.98 unbounded
org.apache.tomcat:tomcat-catalina 8.5.0 none 8.5.100
org.apache.tomcat.embed:tomcat-embed-core 8.5.0 none 8.5.100

Products and versions

4 products, 12 version entries
SourceVendorProductSchemeAffected versions
nvd apache tomcat generic ≥ 9.0.0 and < 9.0.98 · ≥ 10.1.0 and < 10.1.34 · ≥ 11.0.0 and < 11.0.2
nvd netapp bootstrap os generic any version
osv org.apache.tomcat tomcat-catalina generic ≥ 8.5.0 and ≤ 8.5.100 · ≥ 9.0.0 and < 9.0.98 · ≥ 10.1.0 and < 10.1.34 · ≥ 11.0.0 and < 11.0.2
osv org.apache.tomcat.embed tomcat-embed-core generic ≥ 8.5.0 and ≤ 8.5.100 · ≥ 9.0.0 and < 9.0.98 · ≥ 10.1.0 and < 10.1.34 · ≥ 11.0.0 and < 11.0.2

References

URLTags
https://github.com/apache/tomcat/commit/05ddeeaa54df1e2dc427d0164bedd6b79f78d81f WEB
https://github.com/apache/tomcat/commit/43b507ebac9d268b1ea3d908e296cc6e46795c00 WEB
https://github.com/apache/tomcat/commit/631500b0c9b2a2a2abb707e3de2e10a5936e5d41 WEB
https://github.com/apache/tomcat/commit/684247ae85fa633b9197b32391de59fc54703842 WEB
https://github.com/apache/tomcat/commit/8554f6b1722b33a2ce8b0a3fad37825f3a75f2d2 WEB
https://github.com/apache/tomcat/commit/cc7a98b57c6dc1df21979fcff94a36e068f4456c WEB
https://github.com/apache/tomcat PACKAGE
https://lists.apache.org/thread/y6lj6q1xnp822g6ro70tn19sgtjmr80r WEB
https://lists.debian.org/debian-lts-announce/2025/01/msg00009.html WEB
https://security.netapp.com/advisory/ntap-20250103-0003 WEB

Timeline

Published2024-12-17By the CVE Program.
NVD record modified2026-11-03NVD's own last-modified date for this record.