CVE-2024-50379
published critical CVSS 3.1 · 9.8Apache Tomcat: RCE due to TOCTOU issue in JSP compilation
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 | 8 | tomcataarch64 | Advisory build | 1:9.0.87-1.el8_10.3 | ELSA-2025-3683 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-10 | tomcat9noarch | Advisory build | 1:9.0.87-5.el10_0.1 | RHSA-2025:11332 |
| 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.3 | ALSA-2025:3683 |
| 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.3 | ALSA-2025:3683 |
| 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.3 | ALSA-2025:3683 |
| 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.3 | ALSA-2025:3683 |
| 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.3 | ALSA-2025:3683 |
| 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.3 | ALSA-2025:3683 |
| 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.3 | ALSA-2025:3683 |
| 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.3 | ALSA-2025:3683 |
| 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-2.el9_5.1 | ALSA-2025:3645 |
| 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-2.el9_5.1 | ALSA-2025:3645 |
| 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-2.el9_5.1 | ALSA-2025:3645 |
| 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-2.el9_5.1 | ALSA-2025:3645 |
| 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-2.el9_5.1 | ALSA-2025:3645 |
| 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-2.el9_5.1 | ALSA-2025:3645 |
| 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-2.el9_5.1 | ALSA-2025:3645 |
| 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-2.el9_5.1 | ALSA-2025:3645 |
| 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 | 8 | tomcatx86_64 | Advisory build | 1:9.0.87-1.el8_10.3 | ELSA-2025-3683 |
| Oracle Linux | 8 | tomcat-admin-webappsaarch64 | Advisory build | 1:9.0.87-1.el8_10.3 | ELSA-2025-3683 |
| Oracle Linux | 8 | tomcat-admin-webappsx86_64 | Advisory build | 1:9.0.87-1.el8_10.3 | ELSA-2025-3683 |
| Oracle Linux | 8 | tomcat-docs-webappaarch64 | Advisory build | 1:9.0.87-1.el8_10.3 | ELSA-2025-3683 |
| Oracle Linux | 8 | tomcat-docs-webappx86_64 | Advisory build | 1:9.0.87-1.el8_10.3 | ELSA-2025-3683 |
| Oracle Linux | 8 | tomcat-el-3.0-apiaarch64 | Advisory build | 1:9.0.87-1.el8_10.3 | ELSA-2025-3683 |
| Oracle Linux | 8 | tomcat-el-3.0-apix86_64 | Advisory build | 1:9.0.87-1.el8_10.3 | ELSA-2025-3683 |
| Oracle Linux | 8 | tomcat-jsp-2.3-apiaarch64 | Advisory build | 1:9.0.87-1.el8_10.3 | ELSA-2025-3683 |
| Oracle Linux | 8 | tomcat-jsp-2.3-apix86_64 | Advisory build | 1:9.0.87-1.el8_10.3 | ELSA-2025-3683 |
| Oracle Linux | 8 | tomcat-libaarch64 | Advisory build | 1:9.0.87-1.el8_10.3 | ELSA-2025-3683 |
| Oracle Linux | 8 | tomcat-libx86_64 | Advisory build | 1:9.0.87-1.el8_10.3 | ELSA-2025-3683 |
| Oracle Linux | 8 | tomcat-servlet-4.0-apiaarch64 | Advisory build | 1:9.0.87-1.el8_10.3 | ELSA-2025-3683 |
| Oracle Linux | 8 | tomcat-servlet-4.0-apix86_64 | Advisory build | 1:9.0.87-1.el8_10.3 | ELSA-2025-3683 |
| Oracle Linux | 8 | tomcat-webappsaarch64 | Advisory build | 1:9.0.87-1.el8_10.3 | ELSA-2025-3683 |
| Oracle Linux | 8 | tomcat-webappsx86_64 | Advisory build | 1:9.0.87-1.el8_10.3 | ELSA-2025-3683 |
| Oracle Linux | 9 | tomcataarch64 | Advisory build | 1:9.0.87-2.el9_5.1 | ELSA-2025-3645 |
| Oracle Linux | 9 | tomcatx86_64 | Advisory build | 1:9.0.87-2.el9_5.1 | ELSA-2025-3645 |
| Oracle Linux | 9 | tomcat-admin-webappsaarch64 | Advisory build | 1:9.0.87-2.el9_5.1 | ELSA-2025-3645 |
| Oracle Linux | 9 | tomcat-admin-webappsx86_64 | Advisory build | 1:9.0.87-2.el9_5.1 | ELSA-2025-3645 |
| Oracle Linux | 9 | tomcat-docs-webappaarch64 | Advisory build | 1:9.0.87-2.el9_5.1 | ELSA-2025-3645 |
| Oracle Linux | 9 | tomcat-docs-webappx86_64 | Advisory build | 1:9.0.87-2.el9_5.1 | ELSA-2025-3645 |
| Oracle Linux | 9 | tomcat-el-3.0-apiaarch64 | Advisory build | 1:9.0.87-2.el9_5.1 | ELSA-2025-3645 |
| Oracle Linux | 9 | tomcat-el-3.0-apix86_64 | Advisory build | 1:9.0.87-2.el9_5.1 | ELSA-2025-3645 |
| Oracle Linux | 9 | tomcat-jsp-2.3-apiaarch64 | Advisory build | 1:9.0.87-2.el9_5.1 | ELSA-2025-3645 |
| Oracle Linux | 9 | tomcat-jsp-2.3-apix86_64 | Advisory build | 1:9.0.87-2.el9_5.1 | ELSA-2025-3645 |
| Oracle Linux | 9 | tomcat-libaarch64 | Advisory build | 1:9.0.87-2.el9_5.1 | ELSA-2025-3645 |
| Oracle Linux | 9 | tomcat-libx86_64 | Advisory build | 1:9.0.87-2.el9_5.1 | ELSA-2025-3645 |
| Oracle Linux | 9 | tomcat-servlet-4.0-apiaarch64 | Advisory build | 1:9.0.87-2.el9_5.1 | ELSA-2025-3645 |
| Oracle Linux | 9 | tomcat-servlet-4.0-apix86_64 | Advisory build | 1:9.0.87-2.el9_5.1 | ELSA-2025-3645 |
| Oracle Linux | 9 | tomcat-webappsaarch64 | Advisory build | 1:9.0.87-2.el9_5.1 | ELSA-2025-3645 |
| Oracle Linux | 9 | tomcat-webappsx86_64 | Advisory build | 1:9.0.87-2.el9_5.1 | ELSA-2025-3645 |
| 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.3 | RHSA-2025:3683 |
| Red Hat Enterprise Linux | RHEL-8 | tomcatnoarch | Advisory build | 1:9.0.87-1.el8_8.4 | RHSA-2025:3684 |
| Red Hat Enterprise Linux | RHEL-8 | tomcatsrc | Advisory build | 1:9.0.87-1.el8_10.3 | RHSA-2025:3683 |
| Red Hat Enterprise Linux | RHEL-8 | tomcatsrc | Advisory build | 1:9.0.87-1.el8_8.4 | RHSA-2025:3684 |
| Red Hat Enterprise Linux | RHEL-8 | tomcat-admin-webappsnoarch | Advisory build | 1:9.0.87-1.el8_10.3 | RHSA-2025:3683 |
| Red Hat Enterprise Linux | RHEL-8 | tomcat-admin-webappsnoarch | Advisory build | 1:9.0.87-1.el8_8.4 | RHSA-2025:3684 |
| Red Hat Enterprise Linux | RHEL-8 | tomcat-docs-webappnoarch | Advisory build | 1:9.0.87-1.el8_10.3 | RHSA-2025:3683 |
| Red Hat Enterprise Linux | RHEL-8 | tomcat-docs-webappnoarch | Advisory build | 1:9.0.87-1.el8_8.4 | RHSA-2025:3684 |
| Red Hat Enterprise Linux | RHEL-8 | tomcat-el-3.0-apinoarch | Advisory build | 1:9.0.87-1.el8_10.3 | RHSA-2025:3683 |
| Red Hat Enterprise Linux | RHEL-8 | tomcat-el-3.0-apinoarch | Advisory build | 1:9.0.87-1.el8_8.4 | RHSA-2025:3684 |
| Red Hat Enterprise Linux | RHEL-8 | tomcat-jsp-2.3-apinoarch | Advisory build | 1:9.0.87-1.el8_10.3 | RHSA-2025:3683 |
| Red Hat Enterprise Linux | RHEL-8 | tomcat-jsp-2.3-apinoarch | Advisory build | 1:9.0.87-1.el8_8.4 | RHSA-2025:3684 |
| Red Hat Enterprise Linux | RHEL-8 | tomcat-libnoarch | Advisory build | 1:9.0.87-1.el8_10.3 | RHSA-2025:3683 |
| Red Hat Enterprise Linux | RHEL-8 | tomcat-libnoarch | Advisory build | 1:9.0.87-1.el8_8.4 | RHSA-2025:3684 |
| Red Hat Enterprise Linux | RHEL-8 | tomcat-servlet-4.0-apinoarch | Advisory build | 1:9.0.87-1.el8_10.3 | RHSA-2025:3683 |
| Red Hat Enterprise Linux | RHEL-8 | tomcat-servlet-4.0-apinoarch | Advisory build | 1:9.0.87-1.el8_8.4 | RHSA-2025:3684 |
| Red Hat Enterprise Linux | RHEL-8 | tomcat-webappsnoarch | Advisory build | 1:9.0.87-1.el8_10.3 | RHSA-2025:3683 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
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
5- http://www.openwall.com/lists/oss-security/2024/12/17/4
- http://www.openwall.com/lists/oss-security/2024/12/18/2
- https://lists.apache.org/thread/y6lj6q1xnp822g6ro70tn19sgtjmr80r
- https://lists.debian.org/debian-lts-announce/2025/01/msg00009.html
- https://security.netapp.com/advisory/ntap-20250103-0003/
Provider assertions
3apache · cna
Apache Tomcat: RCE due to TOCTOU issue in JSP compilation
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a41bd838f1322f3d86cdfa727e9fe2906ff3a32da98b8bde72caaadf008da371
- Ingested
- 04 Nov 2026, 00:37:14 UTC
- Source record
- Official CVE record