Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2024-50379: Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability during JSP compilation in Apache Tomcat permit

77
This week
CRITICAL 9.8REMOTEWATCHLISTUPGRADEMITIGATE

CVE-2024-50379 is a critical-severity flaw (CVSS 9.8) affecting tomcat, bootstrap os. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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:

Why this priority

  • Critical severity
  • EPSS top 2%: very likely to be exploited
  • Public exploit reference
  • CISA SSVC: automatable with total technical impact
  • Remotely exploitable, no login, no user action
  • On your watchlist

A fixed release or distro patch exists.

Risk facts

CVSS score9.8 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance31.8% (top 2%)
CISA exploited listNo
WeaknessCWE-367
Published2024-12-17
Last modified2026-06-17
Publisher (CNA): Apache Software Foundation · Vendor: apache · netapp

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

apache tomcat UPGRADE
Affected: >= 9.0.0 and < 9.0.98 · >= 10.1.0 and < 10.1.34 · >= 11.0.0 and < 11.0.2
Fixed in: 9.0.98, 10.1.34, 11.0.2
Safe to downgrade to: a release before 9.0.0
1. Check installed version
apt-cache policy tomcat || rpm -q tomcat || tomcat --version
2. UPGRADE to 9.0.98 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade tomcat
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade tomcat
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 9.0.0 (Debian / Ubuntu)
apt-cache madison tomcat sudo apt install tomcat=<VERSION_BEFORE_9.0.0> sudo apt-mark hold tomcat
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list tomcat sudo dnf downgrade tomcat-<VERSION_BEFORE_9.0.0> sudo dnf versionlock add tomcat
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
netapp bootstrap os MITIGATE
Affected: all versions
Fixed in: no fixed release known
Safe to downgrade to: no unaffected older release
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.

Exact fixes by distribution

A distro patch exists: prefer upgrading over downgrading.
Maven · org.apache.tomcat:tomcat-catalina · FIXED · 11.0.2 · vulnerable: >= 11.0.0-M1, < 11.0.2 · source
Set org.apache.tomcat:tomcat-catalina to 11.0.2 or later in pom.xml or build.gradle, then rebuild and redeploy.
Maven · org.apache.tomcat.embed:tomcat-embed-core · FIXED · 11.0.2 · vulnerable: >= 11.0.0-M1, < 11.0.2 · source
Set org.apache.tomcat.embed:tomcat-embed-core to 11.0.2 or later in pom.xml or build.gradle, then rebuild and redeploy.
Fedora 46 · byobu · FIXED · 7.23-1.fc46 · FEDORA-2026-08f2b53446 · source
sudo dnf upgrade --advisory=FEDORA-2026-08f2b53446
Ubuntu 20.04 · tomcat9 · NO FIX YET
Ubuntu 22.04 · tomcat9 · NO FIX YET
Ubuntu 24.04 · tomcat9 · NO FIX YET
Ubuntu 25.04 · tomcat10 · NOT AFFECTED
Ubuntu 24.04 · tomcat10 · FIXED · 10.1.16-1ubuntu0.1~esm3
sudo apt update && sudo apt install --only-upgrade tomcat10 dpkg --compare-versions "$(dpkg-query -W -f='${Version}' tomcat10)" ge "10.1.16-1ubuntu0.1~esm3" && echo PATCHED || echo STILL-VULNERABLE
Debian 12 · tomcat10 · FIXED · 10.1.34-0+deb12u1
sudo apt update && sudo apt install --only-upgrade tomcat10 dpkg --compare-versions "$(dpkg-query -W -f='${Version}' tomcat10)" ge "10.1.34-0+deb12u1" && echo PATCHED || echo STILL-VULNERABLE
Debian 13 · tomcat10 · FIXED · 10.1.34-1
sudo apt update && sudo apt install --only-upgrade tomcat10 dpkg --compare-versions "$(dpkg-query -W -f='${Version}' tomcat10)" ge "10.1.34-1" && echo PATCHED || echo STILL-VULNERABLE
Debian 12 · tomcat9 · FIXED · 9.0.70-2
sudo apt update && sudo apt install --only-upgrade tomcat9 dpkg --compare-versions "$(dpkg-query -W -f='${Version}' tomcat9)" ge "9.0.70-2" && echo PATCHED || echo STILL-VULNERABLE
Debian 13 · tomcat9 · FIXED · 9.0.70-2
sudo apt update && sudo apt install --only-upgrade tomcat9 dpkg --compare-versions "$(dpkg-query -W -f='${Version}' tomcat9)" ge "9.0.70-2" && echo PATCHED || echo STILL-VULNERABLE
RHEL 10 · tomcat9 · FIXED · tomcat9-9.0.87-5.el10_0.1
sudo dnf upgrade --advisory=RHSA-2025:11332 rpm -q tomcat9
RHEL 8 · tomcat · FIXED · tomcat-9.0.87-1.el8_10.3
sudo dnf upgrade --advisory=RHSA-2025:3683 rpm -q tomcat
RHEL 8.8 Extended Update Support · tomcat · FIXED · tomcat-9.0.87-1.el8_8.4
sudo dnf upgrade --advisory=RHSA-2025:3684 rpm -q tomcat
RHEL 9 · tomcat · FIXED · tomcat-9.0.87-2.el9_5.1
sudo dnf upgrade --advisory=RHSA-2025:3645 rpm -q tomcat
RHEL 9.2 Extended Update Support · pki-servlet-engine · FIXED · pki-servlet-engine-9.0.50-1.el9_2.2
sudo dnf upgrade --advisory=RHSA-2025:1920 rpm -q pki-servlet-engine
Amazon Linux 2023 · see advisory · FIXED · ALAS2023-2025-814 · source
sudo dnf update --advisory=ALAS2023-2025-814

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2024-50379?

tomcat: upgrade to 9.0.98, 10.1.34, 11.0.2; bootstrap os: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2024-50379 being exploited?

CVE-2024-50379 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2024-50379 affect?

CVE-2024-50379 affects tomcat, bootstrap os. Severity is critical (CVSS 9.8). 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 a

How urgent is CVE-2024-50379?

Priority 77/100. Critical severity; EPSS top 2%: very likely to be exploited; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action; On your watchlist

Software pages

Apache Tomcat vulnerabilities · Bootstrap vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.