SardinhaNews

CVE-2024-50379

CriticalBDU · public exploit

Published: 12/17/2024 · Modified: 11/03/2026

CVSS 3.1ⓘ9.8
EPSSⓘ46.6%
VPR (Tenable)7.6

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

No confirmed-exploitation catalog lists this CVE so far.

Requires: network access · Does not require: authentication, user interaction, special target conditions

How it is exploited

Exploitation method

  • The attacker sends HTTP requests to the Apache Tomcat default servlet enabled for write (non-default configuration).
  • Exploits a TOCTOU race condition during JSP compilation on a case-insensitive file system.
  • Takes advantage of the window between check and use to write a malicious JSP file.
  • The JSP is compiled and executed, resulting in remote code execution.

Am I affected? (applicability)

  • The Apache Tomcat version is between 11.0.0-M1 and 11.0.1, 10.1.0-M1 and 10.1.33, 9.0.0.M1 and 9.0.97, or 8.5.0 and 8.5.100 (EOL).
  • The default servlet is enabled for write (readonly=false).
  • The underlying file system is case-insensitive.

Does not require: authentication, user interaction, special target conditions.

Mitigation and detection

✓ Fix available in version 8.5.0

  • Upgrade to version 11.0.2, 10.1.34, or 9.0.98.
  • Disable write on the default servlet (readonly=true) if not required.
  • Restrict network access to the Tomcat service.

Impact if exploited

Remote code execution on the Tomcat server, allowing full control of the service and hosted data.

Confidentiality: highIntegrity: highAvailability: high

Community reports (unverified): PoC 41

References and technical detail

The “Requires/Does not require” line and the confidentiality, integrity and availability impact come from the official CVSS vector. Method, applicability and mitigation are an automatic summary of the NVD description, public exploitation sources (Metasploit, Nuclei, Exploit-DB) and the CVE record via CIRCL (advisories and fixed version), linked under “References and technical detail”. Community reports come from CIRCL sightings and are unverified.

Exploitation probability (EPSS) over time

07/13/202609/30/202611/17/2026

Affected products

  • apache · tomcat
  • netapp · bootstrap_os
  • netapp · hci_compute_node

Weakness type (CWE)

Timeline on SardinhaNews

References