CVE-2024-56337: Apache Tomcat: RCE due to TOCTOU issue in JSP compilation - CVE-2024-50379 mitigation was incomplete
Noroxi assessment
Priority: Plan (action score 42/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 8.9% (FIRST EPSS); higher than 95.2% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- According to CISA the attack is automatable: targets can be found by mass scanning.
- Fixed version: tomcat9 (AlmaLinux:10) 1:9.0.87-5.el10_0.1; tomcat9-admin-webapps (AlmaLinux:10) 1:9.0.87-5.el10_0.1; tomcat9-docs-webapp (AlmaLinux:10) 1:9.0.87-5.el10_0.1.
Add it to your regular patch cycle. Upgrade to tomcat9 (AlmaLinux:10) 1:9.0.87-5.el10_0.1; tomcat9-admin-webapps (AlmaLinux:10) 1:9.0.87-5.el10_0.1; tomcat9-docs-webapp (AlmaLinux:10) 1:9.0.87-5.el10_0.1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- BDU:2024-11586
- GHSA-27hp-xhwr-wr2m
- ALSA-2025:11332
- ALSA-2025:11333
- ALSA-2025:11335
- DLA-4017-1
- DSA-5845-1
- openSUSE-SU-2025:14896-1
- openSUSE-SU-2025:14897-1
- RHSA-2025:11332
- RHSA-2025:11333
- RHSA-2025:11334
- RHSA-2025:11335
- RHSA-2025:11381
- RHSA-2025:11382
- RHSA-2025:4521
- RHSA-2025:7497
- RLSA-2025:11332
- RLSA-2025:11333
- RLSA-2025:11335
- Published
- Dec 20, 2024
- Updated
- Jun 17, 2026
- EPSS
- 8.9% · 95th percentile
- CWE
- CWE-367
Report tools
Action score
42
Plan
Add it to your regular patch cycle.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 3 / 30 · 8.9%
CISA SSVC decision
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| apache | tomcat | cpe:2.3:a:apache:tomcat |
| netapp | bootstrap os | cpe:2.3:o:netapp:bootstrap_os |
| netapp | hci compute node | cpe:2.3:h:netapp:hci_compute_node |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- apache tomcat9.0.0 and later · before 9.0.98
- apache tomcat10.1.0 and later · before 10.1.34
- apache tomcat11.0.0 and later · before 11.0.2
- netapp bootstrap osall versions
Versions reported by the vendor
Affected version ranges reported by the assigning authority (apache). Independent of NVD's CPE analysis and usually ahead of it.
Apache Software Foundation Apache Tomcat
- 11.0.0-M1 and later · up to and including 11.0.1affected · semver
- 10.1.0-M1 and later · up to and including 10.1.33affected · semver
- 9.0.0.M1 and later · up to and including 9.0.97affected · semver
- 8.5.0 and later · up to and including 8.5.100affected · semver
- 3 and later · before 8.5.0unknown · semver
- 10.0.0-M1 and later · up to and including 10.0.27unknown · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:10 | tomcat9 | before 1:9.0.87-5.el10_0.1 | 1:9.0.87-5.el10_0.1 |
| AlmaLinux:10 | tomcat9-admin-webapps | before 1:9.0.87-5.el10_0.1 | 1:9.0.87-5.el10_0.1 |
| AlmaLinux:10 | tomcat9-docs-webapp | before 1:9.0.87-5.el10_0.1 | 1:9.0.87-5.el10_0.1 |
| AlmaLinux:10 | tomcat9-el-3.0-api | before 1:9.0.87-5.el10_0.1 | 1:9.0.87-5.el10_0.1 |
| AlmaLinux:10 | tomcat9-jsp-2.3-api | before 1:9.0.87-5.el10_0.1 | 1:9.0.87-5.el10_0.1 |
| AlmaLinux:10 | tomcat9-lib | before 1:9.0.87-5.el10_0.1 | 1:9.0.87-5.el10_0.1 |
| AlmaLinux:10 | tomcat9-servlet-4.0-api | before 1:9.0.87-5.el10_0.1 | 1:9.0.87-5.el10_0.1 |
| AlmaLinux:10 | tomcat9-webapps | before 1:9.0.87-5.el10_0.1 | 1:9.0.87-5.el10_0.1 |
| AlmaLinux:8 | tomcat | before 1:9.0.87-1.el8_10.4 | 1:9.0.87-1.el8_10.4 |
| AlmaLinux:8 | tomcat-admin-webapps | before 1:9.0.87-1.el8_10.4 | 1:9.0.87-1.el8_10.4 |
| AlmaLinux:8 | tomcat-docs-webapp | before 1:9.0.87-1.el8_10.4 | 1:9.0.87-1.el8_10.4 |
| AlmaLinux:8 | tomcat-el-3.0-api | before 1:9.0.87-1.el8_10.4 | 1:9.0.87-1.el8_10.4 |
| AlmaLinux:8 | tomcat-jsp-2.3-api | before 1:9.0.87-1.el8_10.4 | 1:9.0.87-1.el8_10.4 |
| AlmaLinux:8 | tomcat-lib | before 1:9.0.87-1.el8_10.4 | 1:9.0.87-1.el8_10.4 |
| AlmaLinux:8 | tomcat-servlet-4.0-api | before 1:9.0.87-1.el8_10.4 | 1:9.0.87-1.el8_10.4 |
| AlmaLinux:8 | tomcat-webapps | before 1:9.0.87-1.el8_10.4 | 1:9.0.87-1.el8_10.4 |
| AlmaLinux:9 | tomcat | before 1:9.0.87-3.el9_6.1 | 1:9.0.87-3.el9_6.1 |
| AlmaLinux:9 | tomcat-admin-webapps | before 1:9.0.87-3.el9_6.1 | 1:9.0.87-3.el9_6.1 |
| AlmaLinux:9 | tomcat-docs-webapp | before 1:9.0.87-3.el9_6.1 | 1:9.0.87-3.el9_6.1 |
| AlmaLinux:9 | tomcat-el-3.0-api | before 1:9.0.87-3.el9_6.1 | 1:9.0.87-3.el9_6.1 |
| AlmaLinux:9 | tomcat-jsp-2.3-api | before 1:9.0.87-3.el9_6.1 | 1:9.0.87-3.el9_6.1 |
| AlmaLinux:9 | tomcat-lib | before 1:9.0.87-3.el9_6.1 | 1:9.0.87-3.el9_6.1 |
| AlmaLinux:9 | tomcat-servlet-4.0-api | before 1:9.0.87-3.el9_6.1 | 1:9.0.87-3.el9_6.1 |
| AlmaLinux:9 | tomcat-webapps | before 1:9.0.87-3.el9_6.1 | 1:9.0.87-3.el9_6.1 |
+96
Same product
apache: all recordsOther highest-scoring records for the same primary product.
- CVE-2025-24813Apache Tomcat: Potential RCE and/or information disclosure and/or information corruption with partial PUTKEV99Now
- CVE-2016-8735Remote code execution is possible with Apache Tomcat before 6.0.48, 7.x before 7.0.73, 8.x before 8.0.39, 8.5.x before 8.5.7, and 9.x beforeKEV96Now
- CVE-2017-12617When running Apache Tomcat versions 9.0.0.M1 to 9.0.0, 8.5.0 to 8.5.22, 8.0.0.RC1 to 8.0.46 and 7.0.0 to 7.0.81 with HTTP PUTs enabled (e.g.KEV92Now
Published before and after this one in the same product
- ← EarlierCVE-2024-50379Dec 17, 2024 · Apache Tomcat: RCE due to TOCTOU issue in JSP compilation49Plan
- ← EarlierCVE-2024-54677Dec 17, 2024 · Apache Tomcat: DoS in examples web application22Monitor
- Later →CVE-2025-31650Apr 28, 2025 · Apache Tomcat: DoS via malformed HTTP/2 PRIORITY_UPDATE frame48Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:tomcat | 1:9.0.87-1.el8_10.4 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:tomcat-admin-webapps | 1:9.0.87-1.el8_10.4 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:tomcat-docs-webapp | 1:9.0.87-1.el8_10.4 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:tomcat-el-3.0-api | 1:9.0.87-1.el8_10.4 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:tomcat9 | 1:9.0.87-5.el10_0.1 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:tomcat9-admin-webapps | 1:9.0.87-5.el10_0.1 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:tomcat9-docs-webapp | 1:9.0.87-5.el10_0.1 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:tomcat9-el-3.0-api | 1:9.0.87-5.el10_0.1 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:tomcat9-jsp-2.3-api | 1:9.0.87-5.el10_0.1 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:tomcat9-lib | 1:9.0.87-5.el10_0.1 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:tomcat9-servlet-4.0-api | 1:9.0.87-5.el10_0.1 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:tomcat9-webapps | 1:9.0.87-5.el10_0.1 · AlmaLinux:10 | Package registry (OSV) |
| debian:tomcat10 | 10.1.34-0+deb12u1 · Debian:12 | Package registry (OSV) |
| debian:tomcat9 | 9.0.70-2 · Debian:12 | Package registry (OSV) |
| Maven:org.apache.tomcat:tomcat-catalina | 10.1.34 | Package registry (OSV) |
| Maven:org.apache.tomcat:tomcat-catalina | 11.0.2 | Package registry (OSV) |
| Maven:org.apache.tomcat:tomcat-embed-core | 9.0.98 | Package registry (OSV) |
| Maven:org.apache.tomcat.embed:tomcat-embed-core | 10.1.34 | Package registry (OSV) |
| Maven:org.apache.tomcat.embed:tomcat-embed-core | 11.0.2 | Package registry (OSV) |
| Maven:org.apache.tomcat.embed:tomcat-embed-core | 9.0.98 | Package registry (OSV) |
| opensuse:tomcat | 9.0.98-150200.74.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:tomcat10 | 10.1.34-150200.5.31.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| red hat:tomcat | 1:9.0.87-1.el8_10.4 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:tomcat-admin-webapps | 1:9.0.87-1.el8_10.4 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:tomcat-docs-webapp | 1:9.0.87-1.el8_10.4 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:tomcat-el-3.0-api | 1:9.0.87-1.el8_10.4 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:tomcat9 | 1:9.0.87-5.el10_0.1 · Red Hat:enterprise_linux:10.0 | Package registry (OSV) |
| red hat:tomcat9-admin-webapps | 1:9.0.87-5.el10_0.1 · Red Hat:enterprise_linux:10.0 | Package registry (OSV) |
| red hat:tomcat9-docs-webapp | 1:9.0.87-5.el10_0.1 · Red Hat:enterprise_linux:10.0 | Package registry (OSV) |
| red hat:tomcat9-el-3.0-api | 1:9.0.87-5.el10_0.1 · Red Hat:enterprise_linux:10.0 | Package registry (OSV) |
+8
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2024-503793 days apartApache Tomcat: RCE due to TOCTOU issue in JSP compilation49Plan
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-367 · Time-of-check Time-of-use (TOCTOU) Race ConditionCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (3 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.