CVE-2024-50379
Fixed in a distro release EPSS 32%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 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.
Products: Apache Software Foundation Apache Tomcat
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| Maven | org.apache.tomcat.embed:tomcat-embed-core | 11.0.2 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | 10.1.34 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | 9.0.98 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | no fix |
| Maven | org.apache.tomcat:tomcat-catalina | 11.0.2 |
| Maven | org.apache.tomcat:tomcat-catalina | 10.1.34 |
| Maven | org.apache.tomcat:tomcat-catalina | 9.0.98 |
| Maven | org.apache.tomcat:tomcat-catalina | no fix |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux 10 | tomcat9 | 1:9.0.87-5.el10_0.1 |
| AlmaLinux 10 | tomcat9-admin-webapps | 1:9.0.87-5.el10_0.1 |
| AlmaLinux 10 | tomcat9-docs-webapp | 1:9.0.87-5.el10_0.1 |
| AlmaLinux 10 | tomcat9-el-3.0-api | 1:9.0.87-5.el10_0.1 |
| AlmaLinux 10 | tomcat9-jsp-2.3-api | 1:9.0.87-5.el10_0.1 |
| AlmaLinux 10 | tomcat9-lib | 1:9.0.87-5.el10_0.1 |
| AlmaLinux 10 | tomcat9-servlet-4.0-api | 1:9.0.87-5.el10_0.1 |
| AlmaLinux 10 | tomcat9-webapps | 1:9.0.87-5.el10_0.1 |
| AlmaLinux 8 | tomcat | 1:9.0.87-1.el8_10.4 |
| AlmaLinux 8 | tomcat | 1:9.0.87-1.el8_10.3 |
| AlmaLinux 8 | tomcat-admin-webapps | 1:9.0.87-1.el8_10.4 |
| AlmaLinux 8 | tomcat-admin-webapps | 1:9.0.87-1.el8_10.3 |
| AlmaLinux 8 | tomcat-docs-webapp | 1:9.0.87-1.el8_10.4 |
| AlmaLinux 8 | tomcat-docs-webapp | 1:9.0.87-1.el8_10.3 |
| AlmaLinux 8 | tomcat-el-3.0-api | 1:9.0.87-1.el8_10.4 |
| AlmaLinux 8 | tomcat-el-3.0-api | 1:9.0.87-1.el8_10.3 |
| AlmaLinux 8 | tomcat-jsp-2.3-api | 1:9.0.87-1.el8_10.4 |
| AlmaLinux 8 | tomcat-jsp-2.3-api | 1:9.0.87-1.el8_10.3 |
| AlmaLinux 8 | tomcat-lib | 1:9.0.87-1.el8_10.3 |
| AlmaLinux 8 | tomcat-lib | 1:9.0.87-1.el8_10.4 |
| AlmaLinux 8 | tomcat-servlet-4.0-api | 1:9.0.87-1.el8_10.3 |
| AlmaLinux 8 | tomcat-servlet-4.0-api | 1:9.0.87-1.el8_10.4 |
| AlmaLinux 8 | tomcat-webapps | 1:9.0.87-1.el8_10.3 |
| AlmaLinux 8 | tomcat-webapps | 1:9.0.87-1.el8_10.4 |
| AlmaLinux 9 | tomcat | 1:9.0.87-3.el9_6.1 |
| AlmaLinux 9 | tomcat | 1:9.0.87-2.el9_5.1 |
| AlmaLinux 9 | tomcat-admin-webapps | 1:9.0.87-3.el9_6.1 |
| AlmaLinux 9 | tomcat-admin-webapps | 1:9.0.87-2.el9_5.1 |
| AlmaLinux 9 | tomcat-docs-webapp | 1:9.0.87-3.el9_6.1 |
| AlmaLinux 9 | tomcat-docs-webapp | 1:9.0.87-2.el9_5.1 |
| AlmaLinux 9 | tomcat-el-3.0-api | 1:9.0.87-2.el9_5.1 |
| AlmaLinux 9 | tomcat-el-3.0-api | 1:9.0.87-3.el9_6.1 |
| AlmaLinux 9 | tomcat-jsp-2.3-api | 1:9.0.87-3.el9_6.1 |
| AlmaLinux 9 | tomcat-jsp-2.3-api | 1:9.0.87-2.el9_5.1 |
| AlmaLinux 9 | tomcat-lib | 1:9.0.87-3.el9_6.1 |
| AlmaLinux 9 | tomcat-lib | 1:9.0.87-2.el9_5.1 |
| AlmaLinux 9 | tomcat-servlet-4.0-api | 1:9.0.87-3.el9_6.1 |
| AlmaLinux 9 | tomcat-servlet-4.0-api | 1:9.0.87-2.el9_5.1 |
| AlmaLinux 9 | tomcat-webapps | 1:9.0.87-2.el9_5.1 |
| AlmaLinux 9 | tomcat-webapps | 1:9.0.87-3.el9_6.1 |
| Chainguard | camunda-zeebe | 8.6.6-r2 |
| Chainguard | camunda-zeebe-compat | 8.6.6-r2 |
| Chainguard | thingsboard | 3.9-r1 |
| Chainguard | thingsboard-tb-js-executor | 3.9-r1 |
| Chainguard | thingsboard-tb-mqtt-transport | 3.9-r1 |
| Chainguard | thingsboard-tb-node | 3.9-r1 |
| Chainguard | thingsboard-tb-web-ui | 3.9-r1 |
| Debian 11 | tomcat9 | 9.0.43-2~deb11u11 |
| Debian 12 | tomcat10 | 10.1.34-0+deb12u1 |
| Debian 12 | tomcat9 | 9.0.70-2 |
| Debian 13 | tomcat10 | 10.1.34-1 |
| Debian 13 | tomcat9 | 9.0.70-2 |
| Debian 14 | tomcat10 | 10.1.34-1 |
| Debian 14 | tomcat9 | 9.0.70-2 |
| Red Hat Enterprise Linux 10.0 | tomcat9 | 1:9.0.87-5.el10_0.1 |
| Red Hat Enterprise Linux 10.0 | tomcat9-admin-webapps | 1:9.0.87-5.el10_0.1 |
| Red Hat Enterprise Linux 10.0 | tomcat9-docs-webapp | 1:9.0.87-5.el10_0.1 |
| Red Hat Enterprise Linux 10.0 | tomcat9-el-3.0-api | 1:9.0.87-5.el10_0.1 |
| Red Hat Enterprise Linux 10.0 | tomcat9-jsp-2.3-api | 1:9.0.87-5.el10_0.1 |
| Red Hat Enterprise Linux 10.0 | tomcat9-lib | 1:9.0.87-5.el10_0.1 |
| Red Hat Enterprise Linux 10.0 | tomcat9-servlet-4.0-api | 1:9.0.87-5.el10_0.1 |
| Red Hat Enterprise Linux 10.0 | tomcat9-webapps | 1:9.0.87-5.el10_0.1 |
| Red Hat Enterprise Linux 8 | tomcat | 1:9.0.87-1.el8_10.3 |
| Red Hat Enterprise Linux 8 | tomcat-admin-webapps | 1:9.0.87-1.el8_10.3 |
| Red Hat Enterprise Linux 8 | tomcat-docs-webapp | 1:9.0.87-1.el8_10.3 |
| Red Hat Enterprise Linux 8 | tomcat-el-3.0-api | 1:9.0.87-1.el8_10.3 |
| Red Hat Enterprise Linux 8 | tomcat-jsp-2.3-api | 1:9.0.87-1.el8_10.3 |
| Red Hat Enterprise Linux 8 | tomcat-lib | 1:9.0.87-1.el8_10.3 |
| Red Hat Enterprise Linux 8 | tomcat-servlet-4.0-api | 1:9.0.87-1.el8_10.3 |
| Red Hat Enterprise Linux 8 | tomcat-webapps | 1:9.0.87-1.el8_10.3 |
| Red Hat Enterprise Linux 9 | tomcat | 1:9.0.87-2.el9_5.1 |
| Red Hat Enterprise Linux 9 | tomcat-admin-webapps | 1:9.0.87-2.el9_5.1 |
| Red Hat Enterprise Linux 9 | tomcat-docs-webapp | 1:9.0.87-2.el9_5.1 |
| Red Hat Enterprise Linux 9 | tomcat-el-3.0-api | 1:9.0.87-2.el9_5.1 |
| Red Hat Enterprise Linux 9 | tomcat-jsp-2.3-api | 1:9.0.87-2.el9_5.1 |
| Red Hat Enterprise Linux 9 | tomcat-lib | 1:9.0.87-2.el9_5.1 |
| Red Hat Enterprise Linux 9 | tomcat-servlet-4.0-api | 1:9.0.87-2.el9_5.1 |
| Red Hat Enterprise Linux 9 | tomcat-webapps | 1:9.0.87-2.el9_5.1 |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat | 0:9.0.87-6.redhat_00006.1.el9jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat | 0:9.0.87-6.redhat_00006.1.el7jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat | 0:9.0.87-6.redhat_00006.1.el8jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-admin-webapps | 0:9.0.87-6.redhat_00006.1.el7jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-admin-webapps | 0:9.0.87-6.redhat_00006.1.el8jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-admin-webapps | 0:9.0.87-6.redhat_00006.1.el9jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-docs-webapp | 0:9.0.87-6.redhat_00006.1.el8jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-docs-webapp | 0:9.0.87-6.redhat_00006.1.el9jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-docs-webapp | 0:9.0.87-6.redhat_00006.1.el7jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-el-3.0-api | 0:9.0.87-6.redhat_00006.1.el7jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-el-3.0-api | 0:9.0.87-6.redhat_00006.1.el8jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-el-3.0-api | 0:9.0.87-6.redhat_00006.1.el9jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-java-jdk11 | 0:9.0.87-6.redhat_00006.1.el7jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-java-jdk8 | 0:9.0.87-6.redhat_00006.1.el7jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-javadoc | 0:9.0.87-6.redhat_00006.1.el7jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-javadoc | 0:9.0.87-6.redhat_00006.1.el8jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-javadoc | 0:9.0.87-6.redhat_00006.1.el9jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-jsp-2.3-api | 0:9.0.87-6.redhat_00006.1.el8jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-jsp-2.3-api | 0:9.0.87-6.redhat_00006.1.el9jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-jsp-2.3-api | 0:9.0.87-6.redhat_00006.1.el7jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-lib | 0:9.0.87-6.redhat_00006.1.el8jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-lib | 0:9.0.87-6.redhat_00006.1.el7jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-lib | 0:9.0.87-6.redhat_00006.1.el9jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-selinux | 0:9.0.87-6.redhat_00006.1.el7jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-selinux | 0:9.0.87-6.redhat_00006.1.el8jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-selinux | 0:9.0.87-6.redhat_00006.1.el9jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-servlet-4.0-api | 0:9.0.87-6.redhat_00006.1.el7jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-servlet-4.0-api | 0:9.0.87-6.redhat_00006.1.el9jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-servlet-4.0-api | 0:9.0.87-6.redhat_00006.1.el8jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-webapps | 0:9.0.87-6.redhat_00006.1.el7jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-webapps | 0:9.0.87-6.redhat_00006.1.el9jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-webapps | 0:9.0.87-6.redhat_00006.1.el8jws |
| Red Hat jboss enterprise web server 6.0 | jws6-tomcat | 0:10.1.8-15.redhat_00022.1.el8jws |
| Red Hat jboss enterprise web server 6.0 | jws6-tomcat | 0:10.1.8-15.redhat_00022.1.el9jws |
| Red Hat jboss enterprise web server 6.0 | jws6-tomcat-admin-webapps | 0:10.1.8-15.redhat_00022.1.el8jws |
| Red Hat jboss enterprise web server 6.0 | jws6-tomcat-admin-webapps | 0:10.1.8-15.redhat_00022.1.el9jws |
| Red Hat jboss enterprise web server 6.0 | jws6-tomcat-docs-webapp | 0:10.1.8-15.redhat_00022.1.el9jws |
| Red Hat jboss enterprise web server 6.0 | jws6-tomcat-docs-webapp | 0:10.1.8-15.redhat_00022.1.el8jws |
| Red Hat jboss enterprise web server 6.0 | jws6-tomcat-el-5.0-api | 0:10.1.8-15.redhat_00022.1.el9jws |
| Red Hat jboss enterprise web server 6.0 | jws6-tomcat-el-5.0-api | 0:10.1.8-15.redhat_00022.1.el8jws |
| Red Hat jboss enterprise web server 6.0 | jws6-tomcat-javadoc | 0:10.1.8-15.redhat_00022.1.el9jws |
| Red Hat jboss enterprise web server 6.0 | jws6-tomcat-javadoc | 0:10.1.8-15.redhat_00022.1.el8jws |
| Red Hat jboss enterprise web server 6.0 | jws6-tomcat-jsp-3.1-api | 0:10.1.8-15.redhat_00022.1.el9jws |
| Red Hat jboss enterprise web server 6.0 | jws6-tomcat-jsp-3.1-api | 0:10.1.8-15.redhat_00022.1.el8jws |
| Red Hat jboss enterprise web server 6.0 | jws6-tomcat-lib | 0:10.1.8-15.redhat_00022.1.el9jws |
| Red Hat jboss enterprise web server 6.0 | jws6-tomcat-lib | 0:10.1.8-15.redhat_00022.1.el8jws |
| Red Hat jboss enterprise web server 6.0 | jws6-tomcat-selinux | 0:10.1.8-15.redhat_00022.1.el8jws |
| Red Hat jboss enterprise web server 6.0 | jws6-tomcat-selinux | 0:10.1.8-15.redhat_00022.1.el9jws |
| Red Hat jboss enterprise web server 6.0 | jws6-tomcat-servlet-6.0-api | 0:10.1.8-15.redhat_00022.1.el8jws |
| Red Hat jboss enterprise web server 6.0 | jws6-tomcat-servlet-6.0-api | 0:10.1.8-15.redhat_00022.1.el9jws |
| Red Hat jboss enterprise web server 6.0 | jws6-tomcat-webapps | 0:10.1.8-15.redhat_00022.1.el8jws |
| Red Hat jboss enterprise web server 6.0 | jws6-tomcat-webapps | 0:10.1.8-15.redhat_00022.1.el9jws |
| Red Hat rhel eus 8.8 | tomcat | 1:9.0.87-1.el8_8.4 |
| Red Hat rhel eus 8.8 | tomcat-admin-webapps | 1:9.0.87-1.el8_8.4 |
| Red Hat rhel eus 8.8 | tomcat-docs-webapp | 1:9.0.87-1.el8_8.4 |
| Red Hat rhel eus 8.8 | tomcat-el-3.0-api | 1:9.0.87-1.el8_8.4 |
| Red Hat rhel eus 8.8 | tomcat-jsp-2.3-api | 1:9.0.87-1.el8_8.4 |
| Red Hat rhel eus 8.8 | tomcat-lib | 1:9.0.87-1.el8_8.4 |
| Red Hat rhel eus 8.8 | tomcat-servlet-4.0-api | 1:9.0.87-1.el8_8.4 |
| Red Hat rhel eus 8.8 | tomcat-webapps | 1:9.0.87-1.el8_8.4 |
| Red Hat rhel eus 9.2 | pki-servlet-4.0-api | 1:9.0.50-1.el9_2.2 |
| Red Hat rhel eus 9.2 | pki-servlet-engine | 1:9.0.50-1.el9_2.2 |
| Red Hat rhel eus 9.2 | tomcat | 1:9.0.87-1.el9_2.3 |
| Red Hat rhel eus 9.2 | tomcat-admin-webapps | 1:9.0.87-1.el9_2.3 |
| Red Hat rhel eus 9.2 | tomcat-docs-webapp | 1:9.0.87-1.el9_2.3 |
| Red Hat rhel eus 9.2 | tomcat-el-3.0-api | 1:9.0.87-1.el9_2.3 |
| Red Hat rhel eus 9.2 | tomcat-jsp-2.3-api | 1:9.0.87-1.el9_2.3 |
| Red Hat rhel eus 9.2 | tomcat-lib | 1:9.0.87-1.el9_2.3 |
| Red Hat rhel eus 9.2 | tomcat-servlet-4.0-api | 1:9.0.87-1.el9_2.3 |
| Red Hat rhel eus 9.2 | tomcat-webapps | 1:9.0.87-1.el9_2.3 |
| Red Hat rhel eus 9.4 | tomcat | 1:9.0.87-1.el9_4.3 |
| Red Hat rhel eus 9.4 | tomcat-admin-webapps | 1:9.0.87-1.el9_4.3 |
| Red Hat rhel eus 9.4 | tomcat-docs-webapp | 1:9.0.87-1.el9_4.3 |
| Red Hat rhel eus 9.4 | tomcat-el-3.0-api | 1:9.0.87-1.el9_4.3 |
| Red Hat rhel eus 9.4 | tomcat-jsp-2.3-api | 1:9.0.87-1.el9_4.3 |
| Red Hat rhel eus 9.4 | tomcat-lib | 1:9.0.87-1.el9_4.3 |
| Red Hat rhel eus 9.4 | tomcat-servlet-4.0-api | 1:9.0.87-1.el9_4.3 |
| Red Hat rhel eus 9.4 | tomcat-webapps | 1:9.0.87-1.el9_4.3 |
| Rocky Linux 8 | tomcat | 1:9.0.87-1.el8_10.3 |
| Rocky Linux 9 | tomcat | 1:9.0.87-2.el9_5.1 |
| SUSE Enterprise Storage 7.1 | tomcat | 9.0.98-150200.74.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | tomcat | 9.0.98-150200.74.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | tomcat | 9.0.98-150200.74.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | tomcat | 9.0.98-150200.74.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | tomcat | 9.0.98-150200.74.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | tomcat10 | 10.1.34-150200.5.31.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | tomcat | 9.0.98-150200.74.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | tomcat10 | 10.1.34-150200.5.31.1 |
| SUSE Linux Enterprise Module for Web and Scripting 15 SP6 | tomcat | 9.0.98-150200.74.1 |
| SUSE Linux Enterprise Module for Web and Scripting 15 SP6 | tomcat10 | 10.1.34-150200.5.31.1 |
| SUSE Linux Enterprise Server 12 SP5-LTSS | tomcat | 9.0.36-3.136.1 |
| SUSE Linux Enterprise Server 12 SP5-LTSS | tomcat | 9.0.115-3.160.1 |
| SUSE Linux Enterprise Server 15 SP3-LTSS | tomcat | 9.0.98-150200.74.1 |
| SUSE Linux Enterprise Server 15 SP4-LTSS | tomcat | 9.0.98-150200.74.1 |
| SUSE Linux Enterprise Server 15 SP5-LTSS | tomcat | 9.0.98-150200.74.1 |
| SUSE Linux Enterprise Server 15 SP5-LTSS | tomcat10 | 10.1.34-150200.5.31.1 |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | tomcat | 9.0.36-3.136.1 |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | tomcat | 9.0.115-3.160.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | tomcat | 9.0.98-150200.74.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | tomcat | 9.0.98-150200.74.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | tomcat | 9.0.98-150200.74.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | tomcat10 | 10.1.34-150200.5.31.1 |
| SUSE Manager Server 4.3 | tomcat | 9.0.98-150200.74.1 |
| Ubuntu 24.04 LTS | tomcat9 | no fix |
| Ubuntu 25.10 | tomcat9 | no fix |
| Ubuntu 26.04 LTS | tomcat9 | no fix |
| Ubuntu Pro 18.04 LTS | tomcat9 | no fix |
| Ubuntu Pro 20.04 LTS | tomcat9 | no fix |
| Ubuntu Pro 22.04 LTS | tomcat9 | no fix |
| Ubuntu Pro 24.04 LTS | tomcat10 | 10.1.16-1ubuntu0.1~esm3 |
| Wolfi | thingsboard | 3.9-r1 |
| Wolfi | thingsboard-tb-js-executor | 3.9-r1 |
| Wolfi | thingsboard-tb-mqtt-transport | 3.9-r1 |
| Wolfi | thingsboard-tb-node | 3.9-r1 |
| Wolfi | thingsboard-tb-web-ui | 3.9-r1 |
| openSUSE Leap 15.6 | tomcat | 9.0.98-150200.74.1 |
| openSUSE Leap 15.6 | tomcat10 | 10.1.34-150200.5.31.1 |
| openSUSE Tumbleweed | tomcat | 9.0.98-1.1 |
| openSUSE Tumbleweed | tomcat10 | 10.1.34-1.1 |