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

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, 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 CM-7 (Least Functionality) and SI-2 (Flaw Remediation) — 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

Likely ATT&CK TechniquesAI

Techniques this vulnerability likely enables, inferred from its description, weakness type, and attributed-actor tradecraft. Confidence is per-technique.

T1190 Exploit Public-Facing Application Initial Accessconfidence: HIGH
The vulnerability is a remote code execution flaw in a public-facing Tomcat application that allows unauthenticated attackers to upload and execute arbitrary code via a TOCTOU race in JSP compilation.
T1059 Command and Scripting Interpreter Executionconfidence: MEDIUM
Successful exploitation results in arbitrary code execution on the server, which an attacker can leverage through command and scripting interpreters.
T1105 Ingress Tool Transfer Command And Controlconfidence: HIGH
The attack begins with the attacker uploading a malicious file to the server, directly mapping to ingress tool transfer.
inferred from description + CWE · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2024-56337Same product: Apache Tomcat
CVE-2024-54677Same product: Apache Tomcat
CVE-2025-24813Same product: Apache Tomcat
CVE-2024-34750Same product: Apache Tomcat
CVE-2024-38286Same product: Apache Tomcat
CVE-2024-43790Same product: Netapp Bootstrap Os
CVE-2024-38476Same product class: NAS / storage appliance
CVE-2025-27820Same product class: NAS / storage appliance
CVE-2024-39573Same product class: NAS / storage appliance
CVE-2024-36387Same 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)
  • SI-2 Flaw Remediation
  • CM-7 Least Functionality
  • CM-6 Configuration Settings
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

prevent

Directly requires timely application of the vendor-supplied patches (11.0.2/10.1.34/9.0.98) that eliminate the TOCTOU race condition in JSP compilation.

prevent

Enforces least functionality by prohibiting the non-default write-enabled default servlet configuration that is required for exploitation.

prevent

Mandates secure baseline settings that would keep the default servlet in its read-only state on case-insensitive file systems, closing the attack vector.

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.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

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

none

Reliable, synchronized time across systems narrows the exploitable window in which a resource state can change between a security check and its use.

References