CVEfocus › CVE database › CVE-2024-50379

CVE-2024-50379Apache Tomcat: RCE due to TOCTOU issue in JSP compilation

CVSS 9.8 CriticalEPSS 19.4% (higher than 98% of CVEs)Published 2024-12-17Updated 2026-11-04Assigner: apache

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.

CWE-367

What to do

Likely to be exploited: EPSS gives a 19% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from AlmaLinux, Debian, Maven, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

58Fixed
8Fix pending
3Will not fix
31Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04tomcat10Not affected
vulnerable_code_not_present
Ubuntu 26.04tomcat9Fix pendingUBUNTU-CVE-2024-50379
Ubuntu 25.10tomcat10Not affected
vulnerable_code_not_present
Ubuntu 25.10tomcat11Not affected
vulnerable_code_not_present
Ubuntu 25.10tomcat9Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-50379
Ubuntu 24.04tomcat10Fix pending10.1.61~us1-0ubuntu1~24.04.2 (Ubuntu Pro)UBUNTU-CVE-2024-50379
Ubuntu 24.04tomcat9Fix pendingUBUNTU-CVE-2024-50379
Ubuntu 22.04tomcat9Fix pendingUBUNTU-CVE-2024-50379
Ubuntu 20.04tomcat9Fix pendingUBUNTU-CVE-2024-50379
Ubuntu 18.04tomcat9Fix pendingUBUNTU-CVE-2024-50379
Debian 14tomcat10Fixed10.1.34-1DEBIAN-CVE-2024-50379
Debian 14tomcat9Fixed9.0.70-2DEBIAN-CVE-2024-50379
Debian 13tomcat10Fixed10.1.34-1DEBIAN-CVE-2024-50379
Debian 13tomcat9Fixed9.0.70-2DEBIAN-CVE-2024-50379
Debian 12tomcat10Fixed10.1.34-0+deb12u1DEBIAN-CVE-2024-50379
Debian 12tomcat9Fixed9.0.70-2DEBIAN-CVE-2024-50379
Red Hat Enterprise Linux 10tomcatNot affected
Red Hat Enterprise Linux 10tomcat-admin-webappsNot affected
Red Hat Enterprise Linux 10tomcat-docs-webappNot affected
Red Hat Enterprise Linux 10tomcat-el-5.0-apiNot affected
Red Hat Enterprise Linux 10tomcat-jsp-3.1-apiNot affected
Red Hat Enterprise Linux 10tomcat-libNot affected
Red Hat Enterprise Linux 10tomcat-servlet-6.0-apiNot affected
Red Hat Enterprise Linux 10tomcat-webappsNot affected
Red Hat Enterprise Linux 10tomcat9Fixed1:9.0.87-5.el10_0.1RHSA-2025:11332
Red Hat Enterprise Linux 10tomcat9-admin-webappsFixed1:9.0.87-5.el10_0.1RHSA-2025:11332
Red Hat Enterprise Linux 10tomcat9-docs-webappFixed1:9.0.87-5.el10_0.1RHSA-2025:11332
Red Hat Enterprise Linux 10tomcat9-el-3.0-apiFixed1:9.0.87-5.el10_0.1RHSA-2025:11332
Red Hat Enterprise Linux 10tomcat9-jsp-2.3-apiFixed1:9.0.87-5.el10_0.1RHSA-2025:11332
Red Hat Enterprise Linux 10tomcat9-libFixed1:9.0.87-5.el10_0.1RHSA-2025:11332
Red Hat Enterprise Linux 10tomcat9-servlet-4.0-apiFixed1:9.0.87-5.el10_0.1RHSA-2025:11332
Red Hat Enterprise Linux 10tomcat9-webappsFixed1:9.0.87-5.el10_0.1RHSA-2025:11332
Red Hat Enterprise Linux 9pki-servlet-4.0-apiFix pending
Affected
Red Hat Enterprise Linux 9pki-servlet-engineFix pending
Affected
Red Hat Enterprise Linux 9tomcatFixed1:9.0.87-2.el9_5.1RHSA-2025:3645
Red Hat Enterprise Linux 9tomcat-admin-webappsFixed1:9.0.87-2.el9_5.1RHSA-2025:3645
Red Hat Enterprise Linux 9tomcat-docs-webappFixed1:9.0.87-2.el9_5.1RHSA-2025:3645
Red Hat Enterprise Linux 9tomcat-el-3.0-apiFixed1:9.0.87-2.el9_5.1RHSA-2025:3645
Red Hat Enterprise Linux 9tomcat-jsp-2.3-apiFixed1:9.0.87-2.el9_5.1RHSA-2025:3645
Red Hat Enterprise Linux 9tomcat-libFixed1:9.0.87-2.el9_5.1RHSA-2025:3645
Red Hat Enterprise Linux 9tomcat-servlet-4.0-apiFixed1:9.0.87-2.el9_5.1RHSA-2025:3645
Red Hat Enterprise Linux 9tomcat-webappsFixed1:9.0.87-2.el9_5.1RHSA-2025:3645
Red Hat Enterprise Linux 8pki-servlet-4.0-apiWill not fix
Will not fix
Red Hat Enterprise Linux 8pki-servlet-engineWill not fix
Will not fix
Red Hat Enterprise Linux 8tomcatFixed1:9.0.87-1.el8_10.3RHSA-2025:3683
Red Hat Enterprise Linux 8tomcat-admin-webappsFixed1:9.0.87-1.el8_10.3RHSA-2025:3683
Red Hat Enterprise Linux 8tomcat-docs-webappFixed1:9.0.87-1.el8_10.3RHSA-2025:3683
Red Hat Enterprise Linux 8tomcat-el-3.0-apiFixed1:9.0.87-1.el8_10.3RHSA-2025:3683
Red Hat Enterprise Linux 8tomcat-jsp-2.3-apiFixed1:9.0.87-1.el8_10.3RHSA-2025:3683
Red Hat Enterprise Linux 8tomcat-libFixed1:9.0.87-1.el8_10.3RHSA-2025:3683
Red Hat Enterprise Linux 8tomcat-servlet-4.0-apiFixed1:9.0.87-1.el8_10.3RHSA-2025:3683
Red Hat Enterprise Linux 8tomcat-webappsFixed1:9.0.87-1.el8_10.3RHSA-2025:3683
Red Hat Enterprise Linux 7tomcatNot affected
Red Hat Enterprise Linux 7tomcat-admin-webappsNot affected
Red Hat Enterprise Linux 7tomcat-docs-webappNot affected
Red Hat Enterprise Linux 7tomcat-el-2.2-apiNot affected
Red Hat Enterprise Linux 7tomcat-javadocNot affected
Red Hat Enterprise Linux 7tomcat-jsp-2.2-apiNot affected
Red Hat Enterprise Linux 7tomcat-jsvcNot affected
Red Hat Enterprise Linux 7tomcat-libNot affected
Red Hat Enterprise Linux 7tomcat-servlet-3.0-apiNot affected
Red Hat Enterprise Linux 7tomcat-webappsNot affected
Red Hat Enterprise Linux 6tomcat6Not affected
Red Hat Enterprise Linux 6tomcat6-admin-webappsNot affected
Red Hat Enterprise Linux 6tomcat6-docs-webappNot affected
Red Hat Enterprise Linux 6tomcat6-el-2.1-apiNot affected
Red Hat Enterprise Linux 6tomcat6-javadocNot affected
Red Hat Enterprise Linux 6tomcat6-jsp-2.1-apiNot affected
Red Hat Enterprise Linux 6tomcat6-libNot affected
Red Hat Enterprise Linux 6tomcat6-log4jNot affected
Red Hat Enterprise Linux 6tomcat6-servlet-2.5-apiNot affected
Red Hat Enterprise Linux 6tomcat6-webappsNot affected
AlmaLinux 10tomcat9Fixed1:9.0.87-5.el10_0.1ALSA-2025:11332
AlmaLinux 10tomcat9-admin-webappsFixed1:9.0.87-5.el10_0.1ALSA-2025:11332
AlmaLinux 10tomcat9-docs-webappFixed1:9.0.87-5.el10_0.1ALSA-2025:11332
AlmaLinux 10tomcat9-el-3.0-apiFixed1:9.0.87-5.el10_0.1ALSA-2025:11332
AlmaLinux 10tomcat9-jsp-2.3-apiFixed1:9.0.87-5.el10_0.1ALSA-2025:11332
AlmaLinux 10tomcat9-libFixed1:9.0.87-5.el10_0.1ALSA-2025:11332
AlmaLinux 10tomcat9-servlet-4.0-apiFixed1:9.0.87-5.el10_0.1ALSA-2025:11332
AlmaLinux 10tomcat9-webappsFixed1:9.0.87-5.el10_0.1ALSA-2025:11332
AlmaLinux 9tomcatFixed1:9.0.87-2.el9_5.1ALSA-2025:11335
AlmaLinux 9tomcat-admin-webappsFixed1:9.0.87-3.el9_6.1ALSA-2025:3645
AlmaLinux 9tomcat-docs-webappFixed1:9.0.87-3.el9_6.1ALSA-2025:3645
AlmaLinux 9tomcat-el-3.0-apiFixed1:9.0.87-3.el9_6.1ALSA-2025:3645
AlmaLinux 9tomcat-jsp-2.3-apiFixed1:9.0.87-3.el9_6.1ALSA-2025:3645
AlmaLinux 9tomcat-libFixed1:9.0.87-3.el9_6.1ALSA-2025:3645
AlmaLinux 9tomcat-servlet-4.0-apiFixed1:9.0.87-3.el9_6.1ALSA-2025:3645
AlmaLinux 9tomcat-webappsFixed1:9.0.87-3.el9_6.1ALSA-2025:3645
AlmaLinux 8tomcatFixed1:9.0.87-1.el8_10.3ALSA-2025:11333
AlmaLinux 8tomcat-admin-webappsFixed1:9.0.87-1.el8_10.3ALSA-2025:11333
AlmaLinux 8tomcat-docs-webappFixed1:9.0.87-1.el8_10.4ALSA-2025:3683
AlmaLinux 8tomcat-el-3.0-apiFixed1:9.0.87-1.el8_10.3ALSA-2025:11333
AlmaLinux 8tomcat-jsp-2.3-apiFixed1:9.0.87-1.el8_10.3ALSA-2025:11333
AlmaLinux 8tomcat-libFixed1:9.0.87-1.el8_10.4ALSA-2025:3683
AlmaLinux 8tomcat-servlet-4.0-apiFixed1:9.0.87-1.el8_10.4ALSA-2025:3683
AlmaLinux 8tomcat-webappsFixed1:9.0.87-1.el8_10.4ALSA-2025:3683
Rocky Linux 9tomcatFixed1:9.0.87-2.el9_5.1RLSA-2025:3645
Rocky Linux 8tomcatFixed1:9.0.87-1.el8_10.3RLSA-2025:3683
Maven libraryorg.apache.tomcat.embed:tomcat-embed-coreFixed9.0.98GHSA-5j33-cvvr-w245
Maven libraryorg.apache.tomcat:tomcat-catalinaFixed10.1.34GHSA-5j33-cvvr-w245

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.