Cyber Resilience

CVE-2024-50379

Race Condition in Apache Tomcat 9.0.0 – 9.0.98

Published
17 December 2024
Modified
03 November 2025
Patch / advisory
CVSS Score v3.1 9.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.44 99th percentile
Risk Priority 97 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-50379 is a critical-severity Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367) vulnerability in Apache Tomcat. Its CVSS base score is 9.8 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Path Interception (T1034); ranked in the top 1% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-25 (Reference Monitor) and AC-3 (Access Enforcement) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

Apache Tomcat contains a Time-of-check Time-of-use (TOCTOU) race condition vulnerability (CWE-367) in its JSP compilation logic that can be triggered when the default servlet is configured to permit writes, a non-default setting. The flaw affects versions 11.0.0-M1 through 11.0.1, 10.1.0-M1 through 10.1.33, 9.0.0.M1 through 9.0.97, and several end-of-life releases including 8.5.0 through 8.5.100, and is limited to case-insensitive file systems. Successful exploitation yields remote code execution with a CVSS 3.1 score of 9.8.

An unauthenticated remote attacker can upload a specially crafted file and then exploit the race window during JSP compilation to execute arbitrary code on the server. The attack requires network access to a Tomcat instance running with the vulnerable write-enabled servlet configuration and does not need user interaction or privileges.

Apache recommends immediate upgrade to Tomcat 11.0.2, 10.1.34, or 9.0.98. Corresponding advisories have been issued by Debian, NetApp, and other vendors, confirming the same remediation path and noting that older branches remain affected.

The EPSS score has reached a peak of 0.8870 with a current value of 0.8459, indicating sustained exploitation interest following disclosure.

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1034 Path Interception Persistence
**This technique has been deprecated.
T1548 Abuse Elevation Control Mechanism Privilege Escalation
Adversaries may circumvent mechanisms designed to control privilege elevation to gain higher-level permissions.
T1574 Hijack Execution Flow Stealth
Adversaries may execute their own malicious payloads by hijacking the way operating systems run programs.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-56337Same product: Apache Tomcat
CVE-2024-54677Same product: Apache Tomcat
CVE-2025-24813Same product: Apache Tomcat
CVE-2023-1295Same product class: NAS / storage appliance
CVE-2024-34750Same product: Apache Tomcat
CVE-2024-38286Same product: Apache Tomcat
CVE-2025-31672Same product class: NAS / storage appliance
CVE-2024-2312Same product: Netapp Bootstrap Os
CVE-2024-43790Same product: Netapp Bootstrap Os
CVE-2024-38473Same product class: NAS / storage appliance

Affected Assets

apache
tomcat
9.0.0 — 9.0.98 · 10.1.0 — 10.1.34 · 11.0.0 — 11.0.2
netapp
bootstrap os
all versions

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V15.4.2
  • V17.2.6

Mitigating Controls (NIST 800-53 r5) AI

A reference monitor that is always invoked and analyzable structurally eliminates the non-atomic check-then-use pattern underlying TOCTOU.

Access enforcement that performs an atomic check-and-use decision directly stops the window in which a TOCTOU race can be exploited.

Process isolation limits the blast radius of a successful TOCTOU exploitation but does not remove the race itself.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly include coding standards and reviews that prevent TOCTOU race conditions.

References