CRITICAL✓ PATCH🇵🇱 Wersja polska

CVE-2024-50379

CVSS 9.8v3.1pub. 2024-12-17upd. 2025-11-03

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.

🤖 AI Analysis
How it works

The vulnerability results from a race condition occurring during JSP file compilation. An attacker can exploit the time window between the moment the file is checked (time-of-check) and the moment it is used (time-of-use) to substitute or manipulate a file on a case-insensitive file system. A successful attack requires the default servlet to be configured with write capability, which is not the default setting. Through clever file operations within this race condition window, it is possible to cause the server to execute code supplied by the attacker.

Impact

A successful attack allows an unauthenticated attacker to execute arbitrary code remotely (RCE) on the server, which may lead to complete system takeover, data disclosure, and compromise of service integrity and availability.

Mitigation & patch

Update Apache Tomcat to version 11.0.2, 10.1.34, or 9.0.98, which contain the fix. If immediate updating is not possible, ensure that the default servlet does not have write support enabled (readonly=true parameter, which is the default configuration). Versions 8.5.x are EOL and will not receive an official patch — migration to a supported branch is recommended.

Who is affected

Apache Tomcat in versions: 11.0.0-M1 to 11.0.1, 10.1.0-M1 to 10.1.33, 9.0.0.M1 to 9.0.97. Version 8.5.0 to 8.5.100 (EOL) is also vulnerable. Older EOL versions may also be vulnerable. The vulnerability affects only case-insensitive file systems with write support enabled in the default servlet.

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Apache Tomcat

    APP
    Apache
    9.0.0 – 9.0.98 (excl.)10.1.0 – 10.1.34 (excl.)11.0.0 – 11.0.2 (excl.)
  • Netapp Bootstrap Os

    OS
    Netapp
    all versions
  • Netapp Hci Compute Node

    HW
    Netapp
    all versions
🟢
PATCH AVAILABLE
Vendor update available. Deploy in standard maintenance cycle.
Tags
Race Condition
CWE
References

Related vulnerabilities

CVE-2025-24813CRITICAL9.8⚠ KEVPL ✓same product

Apache Tomcat: Path Equivalence prowadzący do RCE i ujawnienia danych

CVE-2020-1938CRITICAL9.8⚠ KEVPL ✓same product

Apache Tomcat AJP Connector — odczyt plików i RCE (Ghostcat)

CVE-2016-8735CRITICAL9.8⚠ KEVPL ✓same product

Apache Tomcat RCE przez JmxRemoteLifecycleListener (JMX)

CVE-2026-65182CRITICAL9.1same product

Improper Access Control, Incorrect Authorization vulnerability in Apache Tomcat leads to security constraint b...

CVE-2026-65637CRITICAL9.8same product

Improper Input Validation vulnerability in Apache Tomcat due to incomplete fix for CVE-2026-32990. This iss...