CVE-2024-56337
published critical CVSS 3.1 · 9.8Apache Tomcat: RCE due to TOCTOU issue in JSP compilation - CVE-2024-50379 mitigation was incomplete
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache Tomcat11.0.0-M1 through 11.0.1 (affected · semver) · 10.1.0-M1 through 10.1.33 (affected · semver) · 9.0.0.M1 through 9.0.97 (affected · semver) · 8.5.0 through 8.5.100 (affected · semver) · 3 to < 8.5.0 (unknown · semver) · 10.0.0-M1 through 10.0.27 (unknown · semver) · Other versions: unaffected | Version-specific | Not stated | apache |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2TOMCAT9-2025-015 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-813 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-814 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | tomcat9 | Advisory build | 1:9.0.87-5.el10_0.1 | ALSA-2025:11332 |
| Debian | bookworm | tomcat10 | Advisory build | 10.1.34-0+deb12u1 | DSA-5845-1 |
| Oracle Linux | 10 | tomcat9aarch64 | Advisory build | 1:9.0.87-5.el10_0.1 | ELSA-2025-11332 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-10 | tomcatnoarch | Advisory build | 1:10.1.36-1.el10_0 | RHSA-2025:7497 |
| AlmaLinux | 10 | tomcat9-admin-webapps | Advisory build | 1:9.0.87-5.el10_0.1 | ALSA-2025:11332 |
| AlmaLinux | 10 | tomcat9-docs-webapp | Advisory build | 1:9.0.87-5.el10_0.1 | ALSA-2025:11332 |
| AlmaLinux | 10 | tomcat9-el-3.0-api | Advisory build | 1:9.0.87-5.el10_0.1 | ALSA-2025:11332 |
| AlmaLinux | 10 | tomcat9-jsp-2.3-api | Advisory build | 1:9.0.87-5.el10_0.1 | ALSA-2025:11332 |
| AlmaLinux | 10 | tomcat9-lib | Advisory build | 1:9.0.87-5.el10_0.1 | ALSA-2025:11332 |
| AlmaLinux | 10 | tomcat9-servlet-4.0-api | Advisory build | 1:9.0.87-5.el10_0.1 | ALSA-2025:11332 |
| AlmaLinux | 10 | tomcat9-webapps | Advisory build | 1:9.0.87-5.el10_0.1 | ALSA-2025:11332 |
| AlmaLinux | 8 | tomcat | Advisory build | 1:9.0.87-1.el8_10.4 | ALSA-2025:11333 |
| AlmaLinux | 8 | tomcat-admin-webapps | Advisory build | 1:9.0.87-1.el8_10.4 | ALSA-2025:11333 |
| AlmaLinux | 8 | tomcat-docs-webapp | Advisory build | 1:9.0.87-1.el8_10.4 | ALSA-2025:11333 |
| AlmaLinux | 8 | tomcat-el-3.0-api | Advisory build | 1:9.0.87-1.el8_10.4 | ALSA-2025:11333 |
| AlmaLinux | 8 | tomcat-jsp-2.3-api | Advisory build | 1:9.0.87-1.el8_10.4 | ALSA-2025:11333 |
| AlmaLinux | 8 | tomcat-lib | Advisory build | 1:9.0.87-1.el8_10.4 | ALSA-2025:11333 |
| AlmaLinux | 8 | tomcat-servlet-4.0-api | Advisory build | 1:9.0.87-1.el8_10.4 | ALSA-2025:11333 |
| AlmaLinux | 8 | tomcat-webapps | Advisory build | 1:9.0.87-1.el8_10.4 | ALSA-2025:11333 |
| AlmaLinux | 9 | tomcat | Advisory build | 1:9.0.87-3.el9_6.1 | ALSA-2025:11335 |
| AlmaLinux | 9 | tomcat-admin-webapps | Advisory build | 1:9.0.87-3.el9_6.1 | ALSA-2025:11335 |
| AlmaLinux | 9 | tomcat-docs-webapp | Advisory build | 1:9.0.87-3.el9_6.1 | ALSA-2025:11335 |
| AlmaLinux | 9 | tomcat-el-3.0-api | Advisory build | 1:9.0.87-3.el9_6.1 | ALSA-2025:11335 |
| AlmaLinux | 9 | tomcat-jsp-2.3-api | Advisory build | 1:9.0.87-3.el9_6.1 | ALSA-2025:11335 |
| AlmaLinux | 9 | tomcat-lib | Advisory build | 1:9.0.87-3.el9_6.1 | ALSA-2025:11335 |
| AlmaLinux | 9 | tomcat-servlet-4.0-api | Advisory build | 1:9.0.87-3.el9_6.1 | ALSA-2025:11335 |
| AlmaLinux | 9 | tomcat-webapps | Advisory build | 1:9.0.87-3.el9_6.1 | ALSA-2025:11335 |
| Debian | bullseye | tomcat9 | Advisory build | 9.0.43-2~deb11u11 | DLA-4017-1 |
| Oracle Linux | 10 | tomcat9x86_64 | Advisory build | 1:9.0.87-5.el10_0.1 | ELSA-2025-11332 |
| Oracle Linux | 10 | tomcat9-admin-webappsaarch64 | Advisory build | 1:9.0.87-5.el10_0.1 | ELSA-2025-11332 |
| Oracle Linux | 10 | tomcat9-admin-webappsx86_64 | Advisory build | 1:9.0.87-5.el10_0.1 | ELSA-2025-11332 |
| Oracle Linux | 10 | tomcat9-docs-webappaarch64 | Advisory build | 1:9.0.87-5.el10_0.1 | ELSA-2025-11332 |
| Oracle Linux | 10 | tomcat9-docs-webappx86_64 | Advisory build | 1:9.0.87-5.el10_0.1 | ELSA-2025-11332 |
| Oracle Linux | 10 | tomcat9-el-3.0-apiaarch64 | Advisory build | 1:9.0.87-5.el10_0.1 | ELSA-2025-11332 |
| Oracle Linux | 10 | tomcat9-el-3.0-apix86_64 | Advisory build | 1:9.0.87-5.el10_0.1 | ELSA-2025-11332 |
| Oracle Linux | 10 | tomcat9-jsp-2.3-apiaarch64 | Advisory build | 1:9.0.87-5.el10_0.1 | ELSA-2025-11332 |
| Oracle Linux | 10 | tomcat9-jsp-2.3-apix86_64 | Advisory build | 1:9.0.87-5.el10_0.1 | ELSA-2025-11332 |
| Oracle Linux | 10 | tomcat9-libaarch64 | Advisory build | 1:9.0.87-5.el10_0.1 | ELSA-2025-11332 |
| Oracle Linux | 10 | tomcat9-libx86_64 | Advisory build | 1:9.0.87-5.el10_0.1 | ELSA-2025-11332 |
| Oracle Linux | 10 | tomcat9-servlet-4.0-apiaarch64 | Advisory build | 1:9.0.87-5.el10_0.1 | ELSA-2025-11332 |
| Oracle Linux | 10 | tomcat9-servlet-4.0-apix86_64 | Advisory build | 1:9.0.87-5.el10_0.1 | ELSA-2025-11332 |
| Oracle Linux | 10 | tomcat9-webappsaarch64 | Advisory build | 1:9.0.87-5.el10_0.1 | ELSA-2025-11332 |
| Oracle Linux | 10 | tomcat9-webappsx86_64 | Advisory build | 1:9.0.87-5.el10_0.1 | ELSA-2025-11332 |
| Oracle Linux | 8 | tomcataarch64 | Advisory build | 1:9.0.87-1.el8_10.4 | ELSA-2025-11333 |
| Oracle Linux | 8 | tomcatx86_64 | Advisory build | 1:9.0.87-1.el8_10.4 | ELSA-2025-11333 |
| Oracle Linux | 8 | tomcat-admin-webappsaarch64 | Advisory build | 1:9.0.87-1.el8_10.4 | ELSA-2025-11333 |
| Oracle Linux | 8 | tomcat-admin-webappsx86_64 | Advisory build | 1:9.0.87-1.el8_10.4 | ELSA-2025-11333 |
| Oracle Linux | 8 | tomcat-docs-webappaarch64 | Advisory build | 1:9.0.87-1.el8_10.4 | ELSA-2025-11333 |
| Oracle Linux | 8 | tomcat-docs-webappx86_64 | Advisory build | 1:9.0.87-1.el8_10.4 | ELSA-2025-11333 |
| Oracle Linux | 8 | tomcat-el-3.0-apiaarch64 | Advisory build | 1:9.0.87-1.el8_10.4 | ELSA-2025-11333 |
| Oracle Linux | 8 | tomcat-el-3.0-apix86_64 | Advisory build | 1:9.0.87-1.el8_10.4 | ELSA-2025-11333 |
| Oracle Linux | 8 | tomcat-jsp-2.3-apiaarch64 | Advisory build | 1:9.0.87-1.el8_10.4 | ELSA-2025-11333 |
| Oracle Linux | 8 | tomcat-jsp-2.3-apix86_64 | Advisory build | 1:9.0.87-1.el8_10.4 | ELSA-2025-11333 |
| Oracle Linux | 8 | tomcat-libaarch64 | Advisory build | 1:9.0.87-1.el8_10.4 | ELSA-2025-11333 |
| Oracle Linux | 8 | tomcat-libx86_64 | Advisory build | 1:9.0.87-1.el8_10.4 | ELSA-2025-11333 |
| Oracle Linux | 8 | tomcat-servlet-4.0-apiaarch64 | Advisory build | 1:9.0.87-1.el8_10.4 | ELSA-2025-11333 |
| Oracle Linux | 8 | tomcat-servlet-4.0-apix86_64 | Advisory build | 1:9.0.87-1.el8_10.4 | ELSA-2025-11333 |
| Oracle Linux | 8 | tomcat-webappsaarch64 | Advisory build | 1:9.0.87-1.el8_10.4 | ELSA-2025-11333 |
| Oracle Linux | 8 | tomcat-webappsx86_64 | Advisory build | 1:9.0.87-1.el8_10.4 | ELSA-2025-11333 |
| Oracle Linux | 9 | tomcataarch64 | Advisory build | 1:9.0.87-3.el9_6.1 | ELSA-2025-11335 |
| Oracle Linux | 9 | tomcatx86_64 | Advisory build | 1:9.0.87-3.el9_6.1 | ELSA-2025-11335 |
| Oracle Linux | 9 | tomcat-admin-webappsaarch64 | Advisory build | 1:9.0.87-3.el9_6.1 | ELSA-2025-11335 |
| Oracle Linux | 9 | tomcat-admin-webappsx86_64 | Advisory build | 1:9.0.87-3.el9_6.1 | ELSA-2025-11335 |
| Oracle Linux | 9 | tomcat-docs-webappaarch64 | Advisory build | 1:9.0.87-3.el9_6.1 | ELSA-2025-11335 |
| Oracle Linux | 9 | tomcat-docs-webappx86_64 | Advisory build | 1:9.0.87-3.el9_6.1 | ELSA-2025-11335 |
| Oracle Linux | 9 | tomcat-el-3.0-apiaarch64 | Advisory build | 1:9.0.87-3.el9_6.1 | ELSA-2025-11335 |
| Oracle Linux | 9 | tomcat-el-3.0-apix86_64 | Advisory build | 1:9.0.87-3.el9_6.1 | ELSA-2025-11335 |
| Oracle Linux | 9 | tomcat-jsp-2.3-apiaarch64 | Advisory build | 1:9.0.87-3.el9_6.1 | ELSA-2025-11335 |
| Oracle Linux | 9 | tomcat-jsp-2.3-apix86_64 | Advisory build | 1:9.0.87-3.el9_6.1 | ELSA-2025-11335 |
| Oracle Linux | 9 | tomcat-libaarch64 | Advisory build | 1:9.0.87-3.el9_6.1 | ELSA-2025-11335 |
| Oracle Linux | 9 | tomcat-libx86_64 | Advisory build | 1:9.0.87-3.el9_6.1 | ELSA-2025-11335 |
| Oracle Linux | 9 | tomcat-servlet-4.0-apiaarch64 | Advisory build | 1:9.0.87-3.el9_6.1 | ELSA-2025-11335 |
| Oracle Linux | 9 | tomcat-servlet-4.0-apix86_64 | Advisory build | 1:9.0.87-3.el9_6.1 | ELSA-2025-11335 |
| Oracle Linux | 9 | tomcat-webappsaarch64 | Advisory build | 1:9.0.87-3.el9_6.1 | ELSA-2025-11335 |
| Oracle Linux | 9 | tomcat-webappsx86_64 | Advisory build | 1:9.0.87-3.el9_6.1 | ELSA-2025-11335 |
| Red Hat Enterprise Linux | RHEL-10 | tomcatsrc | Advisory build | 1:10.1.36-1.el10_0 | RHSA-2025:7497 |
| Red Hat Enterprise Linux | RHEL-10 | tomcat-admin-webappsnoarch | Advisory build | 1:10.1.36-1.el10_0 | RHSA-2025:7497 |
| Red Hat Enterprise Linux | RHEL-10 | tomcat-docs-webappnoarch | Advisory build | 1:10.1.36-1.el10_0 | RHSA-2025:7497 |
| Red Hat Enterprise Linux | RHEL-10 | tomcat-el-5.0-apinoarch | Advisory build | 1:10.1.36-1.el10_0 | RHSA-2025:7497 |
| Red Hat Enterprise Linux | RHEL-10 | tomcat-jsp-3.1-apinoarch | Advisory build | 1:10.1.36-1.el10_0 | RHSA-2025:7497 |
| Red Hat Enterprise Linux | RHEL-10 | tomcat-libnoarch | Advisory build | 1:10.1.36-1.el10_0 | RHSA-2025:7497 |
| Red Hat Enterprise Linux | RHEL-10 | tomcat-servlet-6.0-apinoarch | Advisory build | 1:10.1.36-1.el10_0 | RHSA-2025:7497 |
| Red Hat Enterprise Linux | RHEL-10 | tomcat-webappsnoarch | Advisory build | 1:10.1.36-1.el10_0 | RHSA-2025:7497 |
| Red Hat Enterprise Linux | RHEL-10 | tomcat9noarch | Advisory build | 1:9.0.87-5.el10_0.1 | RHSA-2025:11332 |
| Red Hat Enterprise Linux | RHEL-10 | tomcat9src | Advisory build | 1:9.0.87-5.el10_0.1 | RHSA-2025:11332 |
| Red Hat Enterprise Linux | RHEL-10 | tomcat9-admin-webappsnoarch | Advisory build | 1:9.0.87-5.el10_0.1 | RHSA-2025:11332 |
| Red Hat Enterprise Linux | RHEL-10 | tomcat9-docs-webappnoarch | Advisory build | 1:9.0.87-5.el10_0.1 | RHSA-2025:11332 |
| Red Hat Enterprise Linux | RHEL-10 | tomcat9-el-3.0-apinoarch | Advisory build | 1:9.0.87-5.el10_0.1 | RHSA-2025:11332 |
| Red Hat Enterprise Linux | RHEL-10 | tomcat9-jsp-2.3-apinoarch | Advisory build | 1:9.0.87-5.el10_0.1 | RHSA-2025:11332 |
| Red Hat Enterprise Linux | RHEL-10 | tomcat9-libnoarch | Advisory build | 1:9.0.87-5.el10_0.1 | RHSA-2025:11332 |
| Red Hat Enterprise Linux | RHEL-10 | tomcat9-servlet-4.0-apinoarch | Advisory build | 1:9.0.87-5.el10_0.1 | RHSA-2025:11332 |
| Red Hat Enterprise Linux | RHEL-10 | tomcat9-webappsnoarch | Advisory build | 1:9.0.87-5.el10_0.1 | RHSA-2025:11332 |
| Red Hat Enterprise Linux | RHEL-8 | tomcatnoarch | Advisory build | 1:9.0.87-1.el8_10.4 | RHSA-2025:11333 |
| Red Hat Enterprise Linux | RHEL-8 | tomcatnoarch | Advisory build | 1:9.0.87-1.el8_8.5 | RHSA-2025:11382 |
| Red Hat Enterprise Linux | RHEL-8 | tomcatsrc | Advisory build | 1:9.0.87-1.el8_10.4 | RHSA-2025:11333 |
| Red Hat Enterprise Linux | RHEL-8 | tomcatsrc | Advisory build | 1:9.0.87-1.el8_8.5 | RHSA-2025:11382 |
| Red Hat Enterprise Linux | RHEL-8 | tomcat-admin-webappsnoarch | Advisory build | 1:9.0.87-1.el8_10.4 | RHSA-2025:11333 |
| Red Hat Enterprise Linux | RHEL-8 | tomcat-admin-webappsnoarch | Advisory build | 1:9.0.87-1.el8_8.5 | RHSA-2025:11382 |
| Red Hat Enterprise Linux | RHEL-8 | tomcat-docs-webappnoarch | Advisory build | 1:9.0.87-1.el8_10.4 | RHSA-2025:11333 |
| Red Hat Enterprise Linux | RHEL-8 | tomcat-docs-webappnoarch | Advisory build | 1:9.0.87-1.el8_8.5 | RHSA-2025:11382 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Tomcat | 11.0.0-M1 through 11.0.1 (affected · semver)10.1.0-M1 through 10.1.33 (affected · semver)9.0.0.M1 through 9.0.97 (affected · semver)8.5.0 through 8.5.100 (affected · semver)3 to < 8.5.0 (unknown · semver)10.0.0-M1 through 10.0.27 (unknown · semver)Default: unaffected | apache · cna |
Weaknesses
1- CWE-367 CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
References
4Provider assertions
3apache · cna
Apache Tomcat: RCE due to TOCTOU issue in JSP compilation - CVE-2024-50379 mitigation was incomplete
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 960dd62b3200b34e2d6c1f49084282884cdf840a6cc2d9c9f98426717acb630c
- Ingested
- 23 Sep 2026, 08:31:43 UTC
- Source record
- Official CVE record