CVE-2024-56337
Fixed in a distro release EPSS 9%CVSS 9.8
Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability in Apache Tomcat. 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. The mitigation for CVE-2024-50379 was incomplete. Users running Tomcat on a case insensitive file system with the default servlet write enabled (readonly initialisation parameter set to the non-default value of false) may need additional configuration to fully mitigate CVE-2024-50379 depending on which version of Java they are using with Tomcat: - running on Java 8 or Java 11: the system property sun.io.useCanonCaches must be explicitly set to false (it defaults to true) - running on Java 17: the system property sun.io.useCanonCaches, if set, must be set to false (it defaults to false) - running on Java 21 onwards: no further configuration is required (the system property and the problematic cache have been removed) Tomcat 11.0.3, 10.1.35 and 9.0.99 onwards will include checks that sun.io.useCanonCaches is set appropriately before allowing the default servlet to be write enabled on a case insensitive file system. Tomcat will also set sun.io.useCanonCaches to false by default where it can.
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:tomcat-catalina | 11.0.2 |
| Maven | org.apache.tomcat:tomcat-catalina | 10.1.34 |
| Maven | org.apache.tomcat:tomcat-embed-core | 9.0.98 |
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-admin-webapps | 1:9.0.87-1.el8_10.4 |
| AlmaLinux 8 | tomcat-docs-webapp | 1:9.0.87-1.el8_10.4 |
| AlmaLinux 8 | tomcat-el-3.0-api | 1:9.0.87-1.el8_10.4 |
| AlmaLinux 8 | tomcat-jsp-2.3-api | 1:9.0.87-1.el8_10.4 |
| 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.4 |
| 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-admin-webapps | 1:9.0.87-3.el9_6.1 |
| AlmaLinux 9 | tomcat-docs-webapp | 1:9.0.87-3.el9_6.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-lib | 1:9.0.87-3.el9_6.1 |
| AlmaLinux 9 | tomcat-servlet-4.0-api | 1:9.0.87-3.el9_6.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 | tomcat | 1:10.1.36-1.el10_0 |
| Red Hat Enterprise Linux 10.0 | tomcat-admin-webapps | 1:10.1.36-1.el10_0 |
| Red Hat Enterprise Linux 10.0 | tomcat-docs-webapp | 1:10.1.36-1.el10_0 |
| Red Hat Enterprise Linux 10.0 | tomcat-el-5.0-api | 1:10.1.36-1.el10_0 |
| Red Hat Enterprise Linux 10.0 | tomcat-jsp-3.1-api | 1:10.1.36-1.el10_0 |
| Red Hat Enterprise Linux 10.0 | tomcat-lib | 1:10.1.36-1.el10_0 |
| Red Hat Enterprise Linux 10.0 | tomcat-servlet-6.0-api | 1:10.1.36-1.el10_0 |
| Red Hat Enterprise Linux 10.0 | tomcat-webapps | 1:10.1.36-1.el10_0 |
| 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.4 |
| Red Hat Enterprise Linux 8 | tomcat-admin-webapps | 1:9.0.87-1.el8_10.4 |
| Red Hat Enterprise Linux 8 | tomcat-docs-webapp | 1:9.0.87-1.el8_10.4 |
| Red Hat Enterprise Linux 8 | tomcat-el-3.0-api | 1:9.0.87-1.el8_10.4 |
| Red Hat Enterprise Linux 8 | tomcat-jsp-2.3-api | 1:9.0.87-1.el8_10.4 |
| Red Hat Enterprise Linux 8 | tomcat-lib | 1:9.0.87-1.el8_10.4 |
| Red Hat Enterprise Linux 8 | tomcat-servlet-4.0-api | 1:9.0.87-1.el8_10.4 |
| Red Hat Enterprise Linux 8 | tomcat-webapps | 1:9.0.87-1.el8_10.4 |
| Red Hat Enterprise Linux 9 | tomcat | 1:9.0.87-3.el9_6.1 |
| Red Hat Enterprise Linux 9 | tomcat-admin-webapps | 1:9.0.87-3.el9_6.1 |
| Red Hat Enterprise Linux 9 | tomcat-docs-webapp | 1:9.0.87-3.el9_6.1 |
| Red Hat Enterprise Linux 9 | tomcat-el-3.0-api | 1:9.0.87-3.el9_6.1 |
| Red Hat Enterprise Linux 9 | tomcat-jsp-2.3-api | 1:9.0.87-3.el9_6.1 |
| Red Hat Enterprise Linux 9 | tomcat-lib | 1:9.0.87-3.el9_6.1 |
| Red Hat Enterprise Linux 9 | tomcat-servlet-4.0-api | 1:9.0.87-3.el9_6.1 |
| Red Hat Enterprise Linux 9 | tomcat-webapps | 1:9.0.87-3.el9_6.1 |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat | 0:9.0.87-11.redhat_00010.1.el7jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat | 0:9.0.87-11.redhat_00010.1.el8jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat | 0:9.0.87-11.redhat_00010.1.el9jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-admin-webapps | 0:9.0.87-11.redhat_00010.1.el7jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-admin-webapps | 0:9.0.87-11.redhat_00010.1.el8jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-admin-webapps | 0:9.0.87-11.redhat_00010.1.el9jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-docs-webapp | 0:9.0.87-11.redhat_00010.1.el9jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-docs-webapp | 0:9.0.87-11.redhat_00010.1.el7jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-docs-webapp | 0:9.0.87-11.redhat_00010.1.el8jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-el-3.0-api | 0:9.0.87-11.redhat_00010.1.el8jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-el-3.0-api | 0:9.0.87-11.redhat_00010.1.el7jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-el-3.0-api | 0:9.0.87-11.redhat_00010.1.el9jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-java-jdk11 | 0:9.0.87-11.redhat_00010.1.el7jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-java-jdk8 | 0:9.0.87-11.redhat_00010.1.el7jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-javadoc | 0:9.0.87-11.redhat_00010.1.el8jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-javadoc | 0:9.0.87-11.redhat_00010.1.el9jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-javadoc | 0:9.0.87-11.redhat_00010.1.el7jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-jsp-2.3-api | 0:9.0.87-11.redhat_00010.1.el8jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-jsp-2.3-api | 0:9.0.87-11.redhat_00010.1.el9jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-jsp-2.3-api | 0:9.0.87-11.redhat_00010.1.el7jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-lib | 0:9.0.87-11.redhat_00010.1.el9jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-lib | 0:9.0.87-11.redhat_00010.1.el8jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-lib | 0:9.0.87-11.redhat_00010.1.el7jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-selinux | 0:9.0.87-11.redhat_00010.1.el8jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-selinux | 0:9.0.87-11.redhat_00010.1.el9jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-selinux | 0:9.0.87-11.redhat_00010.1.el7jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-servlet-4.0-api | 0:9.0.87-11.redhat_00010.1.el8jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-servlet-4.0-api | 0:9.0.87-11.redhat_00010.1.el9jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-servlet-4.0-api | 0:9.0.87-11.redhat_00010.1.el7jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-webapps | 0:9.0.87-11.redhat_00010.1.el7jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-webapps | 0:9.0.87-11.redhat_00010.1.el8jws |
| Red Hat jboss enterprise web server 5.8 | jws5-tomcat-webapps | 0:9.0.87-11.redhat_00010.1.el9jws |
| Red Hat rhel e4s 8.8 | tomcat | 1:9.0.87-1.el8_8.5 |
| Red Hat rhel e4s 8.8 | tomcat-admin-webapps | 1:9.0.87-1.el8_8.5 |
| Red Hat rhel e4s 8.8 | tomcat-docs-webapp | 1:9.0.87-1.el8_8.5 |
| Red Hat rhel e4s 8.8 | tomcat-el-3.0-api | 1:9.0.87-1.el8_8.5 |
| Red Hat rhel e4s 8.8 | tomcat-jsp-2.3-api | 1:9.0.87-1.el8_8.5 |
| Red Hat rhel e4s 8.8 | tomcat-lib | 1:9.0.87-1.el8_8.5 |
| Red Hat rhel e4s 8.8 | tomcat-servlet-4.0-api | 1:9.0.87-1.el8_8.5 |
| Red Hat rhel e4s 8.8 | tomcat-webapps | 1:9.0.87-1.el8_8.5 |
| Red Hat rhel e4s 9.2 | tomcat | 1:9.0.87-1.el9_2.4 |
| Red Hat rhel e4s 9.2 | tomcat-admin-webapps | 1:9.0.87-1.el9_2.4 |
| Red Hat rhel e4s 9.2 | tomcat-docs-webapp | 1:9.0.87-1.el9_2.4 |
| Red Hat rhel e4s 9.2 | tomcat-el-3.0-api | 1:9.0.87-1.el9_2.4 |
| Red Hat rhel e4s 9.2 | tomcat-jsp-2.3-api | 1:9.0.87-1.el9_2.4 |
| Red Hat rhel e4s 9.2 | tomcat-lib | 1:9.0.87-1.el9_2.4 |
| Red Hat rhel e4s 9.2 | tomcat-servlet-4.0-api | 1:9.0.87-1.el9_2.4 |
| Red Hat rhel e4s 9.2 | tomcat-webapps | 1:9.0.87-1.el9_2.4 |
| Red Hat rhel eus 9.4 | tomcat | 1:9.0.87-1.el9_4.4 |
| Red Hat rhel eus 9.4 | tomcat-admin-webapps | 1:9.0.87-1.el9_4.4 |
| Red Hat rhel eus 9.4 | tomcat-docs-webapp | 1:9.0.87-1.el9_4.4 |
| Red Hat rhel eus 9.4 | tomcat-el-3.0-api | 1:9.0.87-1.el9_4.4 |
| Red Hat rhel eus 9.4 | tomcat-jsp-2.3-api | 1:9.0.87-1.el9_4.4 |
| Red Hat rhel eus 9.4 | tomcat-lib | 1:9.0.87-1.el9_4.4 |
| Red Hat rhel eus 9.4 | tomcat-servlet-4.0-api | 1:9.0.87-1.el9_4.4 |
| Red Hat rhel eus 9.4 | tomcat-webapps | 1:9.0.87-1.el9_4.4 |
| Red Hat rhel tus 8.8 | tomcat | 1:9.0.87-1.el8_8.5 |
| Red Hat rhel tus 8.8 | tomcat-admin-webapps | 1:9.0.87-1.el8_8.5 |
| Red Hat rhel tus 8.8 | tomcat-docs-webapp | 1:9.0.87-1.el8_8.5 |
| Red Hat rhel tus 8.8 | tomcat-el-3.0-api | 1:9.0.87-1.el8_8.5 |
| Red Hat rhel tus 8.8 | tomcat-jsp-2.3-api | 1:9.0.87-1.el8_8.5 |
| Red Hat rhel tus 8.8 | tomcat-lib | 1:9.0.87-1.el8_8.5 |
| Red Hat rhel tus 8.8 | tomcat-servlet-4.0-api | 1:9.0.87-1.el8_8.5 |
| Red Hat rhel tus 8.8 | tomcat-webapps | 1:9.0.87-1.el8_8.5 |
| Rocky Linux 10 | tomcat9 | 1:9.0.87-5.el10_0.1 |
| Rocky Linux 8 | tomcat | 1:9.0.87-1.el8_10.4 |
| Rocky Linux 9 | tomcat | 1:9.0.87-3.el9_6.1 |
| SUSE Enterprise Storage 7.1 | tomcat | 9.0.98-150200.74.1 |
| SUSE Enterprise Storage 7.1 | tomcat | 9.0.102-150200.78.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | tomcat | 9.0.98-150200.74.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | tomcat | 9.0.102-150200.78.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | tomcat | 9.0.102-150200.78.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 SP4-LTSS | tomcat | 9.0.102-150200.78.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 | tomcat | 9.0.102-150200.78.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-ESPOS | tomcat10 | 10.1.39-150200.5.36.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | tomcat | 9.0.102-150200.78.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 High Performance Computing 15 SP5-LTSS | tomcat10 | 10.1.39-150200.5.36.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 | tomcat | 9.0.102-150200.78.1 |
| SUSE Linux Enterprise Module for Web and Scripting 15 SP6 | tomcat10 | 10.1.39-150200.5.36.1 |
| SUSE Linux Enterprise Module for Web and Scripting 15 SP6 | tomcat10 | 10.1.34-150200.5.31.1 |
| SUSE Linux Enterprise Server 15 SP3-LTSS | tomcat | 9.0.98-150200.74.1 |
| SUSE Linux Enterprise Server 15 SP3-LTSS | tomcat | 9.0.102-150200.78.1 |
| SUSE Linux Enterprise Server 15 SP4-LTSS | tomcat | 9.0.98-150200.74.1 |
| SUSE Linux Enterprise Server 15 SP4-LTSS | tomcat | 9.0.102-150200.78.1 |
| SUSE Linux Enterprise Server 15 SP5-LTSS | tomcat | 9.0.102-150200.78.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 15 SP5-LTSS | tomcat10 | 10.1.39-150200.5.36.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | tomcat | 9.0.102-150200.78.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 SP4 | tomcat | 9.0.102-150200.78.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 | tomcat | 9.0.102-150200.78.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | tomcat10 | 10.1.39-150200.5.36.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.102-150200.78.1 |
| SUSE Manager Server 4.3 | tomcat | 9.0.98-150200.74.1 |
| Ubuntu 24.04 LTS | tomcat10 | no fix |
| Ubuntu Pro 16.04 LTS | tomcat8 | no fix |
| Ubuntu Pro 18.04 LTS | tomcat8 | 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 |
| 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.102-150200.78.1 |
| openSUSE Leap 15.6 | tomcat | 9.0.98-150200.74.1 |
| openSUSE Leap 15.6 | tomcat10 | 10.1.39-150200.5.36.1 |
| openSUSE Leap 15.6 | tomcat10 | 10.1.34-150200.5.31.1 |
| openSUSE Tumbleweed | tomcat | 9.0.99-1.1 |
| openSUSE Tumbleweed | tomcat10 | 10.1.35-1.1 |