CVE-2024-50379
Apache Tomcat: RCE due to TOCTOU issue in JSP compilation
02 Description
Apache Tomcat: RCE due to TOCTOU issue in JSP compilation
03 Exploitation and scoring
- Exploitation
- Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
- SSVC decision
- ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
- AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 31.82% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 98.2% of scored records. A rank, not a probability.
- NVD base score
- 9.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2024-12-17 12:34Z1 YR AGO
- Last updated
- 2025-11-03 20:45Z11 MO AGO
- Reserved
- 2024-10-23
- Assigning CNA
- apache
- Record state
- PUBLISHED
- Severity
- Critical (CVSS 9.8)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-367Time-of-check Time-of-use (TOCTOU) Race ConditionBase
- Data version
- 5.2
- Document digest
- dcbc7c03649c58f105c5048464f13ba4192b451211d0ff33c30aff8bdb1df957
05 Affected products
06 References
- lists.apache.orghttps://lists.apache.org/thread/y6lj6q1xnp822g6ro70tn19sgtjmr80r
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/12/17/4
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/12/18/2
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20250103-0003/
- lists.debian.orghttps://lists.debian.org/debian-lts-announce/2025/01/msg00009.html
07 Fixed in
AlmaLinux 8
- tomcat Fixed
A version is affected if any line below covers it.
- Affected before 1:9.0.87-1.el8_10.3
- Affected before 1:9.0.87-1.el8_10.4
- tomcat-admin-webapps Fixed
A version is affected if any line below covers it.
- Affected before 1:9.0.87-1.el8_10.3
- Affected before 1:9.0.87-1.el8_10.4
- tomcat-docs-webapp Fixed
A version is affected if any line below covers it.
- Affected before 1:9.0.87-1.el8_10.3
- Affected before 1:9.0.87-1.el8_10.4
- tomcat-el-3.0-api Fixed
A version is affected if any line below covers it.
- Affected before 1:9.0.87-1.el8_10.3
- Affected before 1:9.0.87-1.el8_10.4
- tomcat-jsp-2.3-api Fixed
A version is affected if any line below covers it.
- Affected before 1:9.0.87-1.el8_10.3
- Affected before 1:9.0.87-1.el8_10.4
- tomcat-lib Fixed
A version is affected if any line below covers it.
- Affected before 1:9.0.87-1.el8_10.3
- Affected before 1:9.0.87-1.el8_10.4
- tomcat-servlet-4.0-api Fixed
A version is affected if any line below covers it.
- Affected before 1:9.0.87-1.el8_10.3
- Affected before 1:9.0.87-1.el8_10.4
- tomcat-webapps Fixed
A version is affected if any line below covers it.
- Affected before 1:9.0.87-1.el8_10.3
- Affected before 1:9.0.87-1.el8_10.4
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
AlmaLinux 9
- tomcat Fixed
A version is affected if any line below covers it.
- Affected before 1:9.0.87-2.el9_5.1
- Affected before 1:9.0.87-3.el9_6.1
- tomcat-admin-webapps Fixed
A version is affected if any line below covers it.
- Affected before 1:9.0.87-2.el9_5.1
- Affected before 1:9.0.87-3.el9_6.1
- tomcat-docs-webapp Fixed
A version is affected if any line below covers it.
- Affected before 1:9.0.87-2.el9_5.1
- Affected before 1:9.0.87-3.el9_6.1
- tomcat-el-3.0-api Fixed
A version is affected if any line below covers it.
- Affected before 1:9.0.87-2.el9_5.1
- Affected before 1:9.0.87-3.el9_6.1
- tomcat-jsp-2.3-api Fixed
A version is affected if any line below covers it.
- Affected before 1:9.0.87-2.el9_5.1
- Affected before 1:9.0.87-3.el9_6.1
- tomcat-lib Fixed
A version is affected if any line below covers it.
- Affected before 1:9.0.87-2.el9_5.1
- Affected before 1:9.0.87-3.el9_6.1
- tomcat-servlet-4.0-api Fixed
A version is affected if any line below covers it.
- Affected before 1:9.0.87-2.el9_5.1
- Affected before 1:9.0.87-3.el9_6.1
- tomcat-webapps Fixed
A version is affected if any line below covers it.
- Affected before 1:9.0.87-2.el9_5.1
- Affected before 1:9.0.87-3.el9_6.1
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
AlmaLinux 10
- tomcat9 Fixed in 1:9.0.87-5.el10_0.1
- tomcat9-admin-webapps Fixed in 1:9.0.87-5.el10_0.1
- tomcat9-docs-webapp Fixed in 1:9.0.87-5.el10_0.1
- tomcat9-el-3.0-api Fixed in 1:9.0.87-5.el10_0.1
- tomcat9-jsp-2.3-api Fixed in 1:9.0.87-5.el10_0.1
- tomcat9-lib Fixed in 1:9.0.87-5.el10_0.1
- tomcat9-servlet-4.0-api Fixed in 1:9.0.87-5.el10_0.1
- tomcat9-webapps Fixed in 1:9.0.87-5.el10_0.1
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 8
- tomcat Fixed
A version is affected if any line below covers it.
- Affected before 1:9.0.87-1.el8_10.3
- Affected before 1:9.0.87-1.el8_10.4
- tomcat-admin-webapps Fixed
A version is affected if any line below covers it.
- Affected before 1:9.0.87-1.el8_10.3
- Affected before 1:9.0.87-1.el8_10.4
- tomcat-docs-webapp Fixed
A version is affected if any line below covers it.
- Affected before 1:9.0.87-1.el8_10.3
- Affected before 1:9.0.87-1.el8_10.4
- tomcat-el-3.0-api Fixed
A version is affected if any line below covers it.
- Affected before 1:9.0.87-1.el8_10.3
- Affected before 1:9.0.87-1.el8_10.4
- tomcat-jsp-2.3-api Fixed
A version is affected if any line below covers it.
- Affected before 1:9.0.87-1.el8_10.3
- Affected before 1:9.0.87-1.el8_10.4
- tomcat-lib Fixed
A version is affected if any line below covers it.
- Affected before 1:9.0.87-1.el8_10.3
- Affected before 1:9.0.87-1.el8_10.4
- tomcat-servlet-4.0-api Fixed
A version is affected if any line below covers it.
- Affected before 1:9.0.87-1.el8_10.3
- Affected before 1:9.0.87-1.el8_10.4
- tomcat-webapps Fixed
A version is affected if any line below covers it.
- Affected before 1:9.0.87-1.el8_10.3
- Affected before 1:9.0.87-1.el8_10.4
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 9
- tomcat Fixed
A version is affected if any line below covers it.
- Affected before 1:9.0.87-2.el9_5.1
- Affected before 1:9.0.87-3.el9_6.1
- tomcat-admin-webapps Fixed
A version is affected if any line below covers it.
- Affected before 1:9.0.87-2.el9_5.1
- Affected before 1:9.0.87-3.el9_6.1
- tomcat-docs-webapp Fixed
A version is affected if any line below covers it.
- Affected before 1:9.0.87-2.el9_5.1
- Affected before 1:9.0.87-3.el9_6.1
- tomcat-el-3.0-api Fixed
A version is affected if any line below covers it.
- Affected before 1:9.0.87-2.el9_5.1
- Affected before 1:9.0.87-3.el9_6.1
- tomcat-jsp-2.3-api Fixed
A version is affected if any line below covers it.
- Affected before 1:9.0.87-2.el9_5.1
- Affected before 1:9.0.87-3.el9_6.1
- tomcat-lib Fixed
A version is affected if any line below covers it.
- Affected before 1:9.0.87-2.el9_5.1
- Affected before 1:9.0.87-3.el9_6.1
- tomcat-servlet-4.0-api Fixed
A version is affected if any line below covers it.
- Affected before 1:9.0.87-2.el9_5.1
- Affected before 1:9.0.87-3.el9_6.1
- tomcat-webapps Fixed
A version is affected if any line below covers it.
- Affected before 1:9.0.87-2.el9_5.1
- Affected before 1:9.0.87-3.el9_6.1
Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 10
- tomcat9 Fixed in 1:9.0.87-5.el10_0.1
- tomcat9-admin-webapps Fixed in 1:9.0.87-5.el10_0.1
- tomcat9-docs-webapp Fixed in 1:9.0.87-5.el10_0.1
- tomcat9-el-3.0-api Fixed in 1:9.0.87-5.el10_0.1
- tomcat9-jsp-2.3-api Fixed in 1:9.0.87-5.el10_0.1
- tomcat9-lib Fixed in 1:9.0.87-5.el10_0.1
- tomcat9-servlet-4.0-api Fixed in 1:9.0.87-5.el10_0.1
- tomcat9-webapps Fixed in 1:9.0.87-5.el10_0.1
Derived from AlmaLinux 10. Partial coverage: only packages taken from AlmaLinux 10 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- tomcat10 Fixed in 10.1.34-0+deb12u1
- tomcat9 Fixed in 9.0.70-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- tomcat10 Fixed in 10.1.34-1
- tomcat9 Fixed in 9.0.70-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- tomcat10 Fixed in 10.1.34-1
- tomcat9 Fixed in 9.0.70-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- tomcat9 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 25.10
- tomcat9 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 26.04 LTS
- tomcat9 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- tomcat9 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 20.04 LTS
- tomcat9 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 22.04 LTS
- tomcat9 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 24.04 LTS
- tomcat10 Fixed in 10.1.16-1ubuntu0.1~esm3Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.