Skip to content
Noroxi
NVD / CVE Program· CNA apache

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.

CriticalCVSS 9.8 · v3.1—No exploit Fix available
Published
Dec 20, 2024
Updated
Jun 17, 2026
EPSS
8.9% · 95th percentile

Report tools

JSON

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.

Follow CVE-2024-56337

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

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 help

Affected 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.

VendorProduct
apachetomcat
netappbootstrap os
netapphci 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.

EcosystemPackageAffected rangeFix
AlmaLinux:10tomcat9before 1:9.0.87-5.el10_0.11:9.0.87-5.el10_0.1
AlmaLinux:10tomcat9-admin-webappsbefore 1:9.0.87-5.el10_0.11:9.0.87-5.el10_0.1
AlmaLinux:10tomcat9-docs-webappbefore 1:9.0.87-5.el10_0.11:9.0.87-5.el10_0.1
AlmaLinux:10tomcat9-el-3.0-apibefore 1:9.0.87-5.el10_0.11:9.0.87-5.el10_0.1
AlmaLinux:10tomcat9-jsp-2.3-apibefore 1:9.0.87-5.el10_0.11:9.0.87-5.el10_0.1
AlmaLinux:10tomcat9-libbefore 1:9.0.87-5.el10_0.11:9.0.87-5.el10_0.1
AlmaLinux:10tomcat9-servlet-4.0-apibefore 1:9.0.87-5.el10_0.11:9.0.87-5.el10_0.1
AlmaLinux:10tomcat9-webappsbefore 1:9.0.87-5.el10_0.11:9.0.87-5.el10_0.1
AlmaLinux:8tomcatbefore 1:9.0.87-1.el8_10.41:9.0.87-1.el8_10.4
AlmaLinux:8tomcat-admin-webappsbefore 1:9.0.87-1.el8_10.41:9.0.87-1.el8_10.4
AlmaLinux:8tomcat-docs-webappbefore 1:9.0.87-1.el8_10.41:9.0.87-1.el8_10.4
AlmaLinux:8tomcat-el-3.0-apibefore 1:9.0.87-1.el8_10.41:9.0.87-1.el8_10.4
AlmaLinux:8tomcat-jsp-2.3-apibefore 1:9.0.87-1.el8_10.41:9.0.87-1.el8_10.4
AlmaLinux:8tomcat-libbefore 1:9.0.87-1.el8_10.41:9.0.87-1.el8_10.4
AlmaLinux:8tomcat-servlet-4.0-apibefore 1:9.0.87-1.el8_10.41:9.0.87-1.el8_10.4
AlmaLinux:8tomcat-webappsbefore 1:9.0.87-1.el8_10.41:9.0.87-1.el8_10.4
AlmaLinux:9tomcatbefore 1:9.0.87-3.el9_6.11:9.0.87-3.el9_6.1
AlmaLinux:9tomcat-admin-webappsbefore 1:9.0.87-3.el9_6.11:9.0.87-3.el9_6.1
AlmaLinux:9tomcat-docs-webappbefore 1:9.0.87-3.el9_6.11:9.0.87-3.el9_6.1
AlmaLinux:9tomcat-el-3.0-apibefore 1:9.0.87-3.el9_6.11:9.0.87-3.el9_6.1
AlmaLinux:9tomcat-jsp-2.3-apibefore 1:9.0.87-3.el9_6.11:9.0.87-3.el9_6.1
AlmaLinux:9tomcat-libbefore 1:9.0.87-3.el9_6.11:9.0.87-3.el9_6.1
AlmaLinux:9tomcat-servlet-4.0-apibefore 1:9.0.87-3.el9_6.11:9.0.87-3.el9_6.1
AlmaLinux:9tomcat-webappsbefore 1:9.0.87-3.el9_6.11:9.0.87-3.el9_6.1

+96

Other highest-scoring records for the same primary product.

  • CVE-2025-24813Apache Tomcat: Potential RCE and/or information disclosure and/or information corruption with partial PUTKEV
    99Now
  • 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 beforeKEV
    96Now
  • 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.KEV
    92Now

Published before and after this one in the same product

  • ← EarlierCVE-2024-50379Dec 17, 2024 · Apache Tomcat: RCE due to TOCTOU issue in JSP compilation
    49Plan
  • ← EarlierCVE-2024-54677Dec 17, 2024 · Apache Tomcat: DoS in examples web application
    22Monitor
  • Later →CVE-2025-31650Apr 28, 2025 · Apache Tomcat: DoS via malformed HTTP/2 PRIORITY_UPDATE frame
    48Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
almalinux:tomcat1:9.0.87-1.el8_10.4 · AlmaLinux:8Package registry (OSV)
almalinux:tomcat-admin-webapps1:9.0.87-1.el8_10.4 · AlmaLinux:8Package registry (OSV)
almalinux:tomcat-docs-webapp1:9.0.87-1.el8_10.4 · AlmaLinux:8Package registry (OSV)
almalinux:tomcat-el-3.0-api1:9.0.87-1.el8_10.4 · AlmaLinux:8Package registry (OSV)
almalinux:tomcat91:9.0.87-5.el10_0.1 · AlmaLinux:10Package registry (OSV)
almalinux:tomcat9-admin-webapps1:9.0.87-5.el10_0.1 · AlmaLinux:10Package registry (OSV)
almalinux:tomcat9-docs-webapp1:9.0.87-5.el10_0.1 · AlmaLinux:10Package registry (OSV)
almalinux:tomcat9-el-3.0-api1:9.0.87-5.el10_0.1 · AlmaLinux:10Package registry (OSV)
almalinux:tomcat9-jsp-2.3-api1:9.0.87-5.el10_0.1 · AlmaLinux:10Package registry (OSV)
almalinux:tomcat9-lib1:9.0.87-5.el10_0.1 · AlmaLinux:10Package registry (OSV)
almalinux:tomcat9-servlet-4.0-api1:9.0.87-5.el10_0.1 · AlmaLinux:10Package registry (OSV)
almalinux:tomcat9-webapps1:9.0.87-5.el10_0.1 · AlmaLinux:10Package registry (OSV)
debian:tomcat1010.1.34-0+deb12u1 · Debian:12Package registry (OSV)
debian:tomcat99.0.70-2 · Debian:12Package registry (OSV)
Maven:org.apache.tomcat:tomcat-catalina10.1.34Package registry (OSV)
Maven:org.apache.tomcat:tomcat-catalina11.0.2Package registry (OSV)
Maven:org.apache.tomcat:tomcat-embed-core9.0.98Package registry (OSV)
Maven:org.apache.tomcat.embed:tomcat-embed-core10.1.34Package registry (OSV)
Maven:org.apache.tomcat.embed:tomcat-embed-core11.0.2Package registry (OSV)
Maven:org.apache.tomcat.embed:tomcat-embed-core9.0.98Package registry (OSV)
opensuse:tomcat9.0.98-150200.74.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:tomcat1010.1.34-150200.5.31.1 · openSUSE:Leap 15.6Package registry (OSV)
red hat:tomcat1:9.0.87-1.el8_10.4 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:tomcat-admin-webapps1:9.0.87-1.el8_10.4 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:tomcat-docs-webapp1:9.0.87-1.el8_10.4 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:tomcat-el-3.0-api1:9.0.87-1.el8_10.4 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:tomcat91:9.0.87-5.el10_0.1 · Red Hat:enterprise_linux:10.0Package registry (OSV)
red hat:tomcat9-admin-webapps1:9.0.87-5.el10_0.1 · Red Hat:enterprise_linux:10.0Package registry (OSV)
red hat:tomcat9-docs-webapp1:9.0.87-5.el10_0.1 · Red Hat:enterprise_linux:10.0Package registry (OSV)
red hat:tomcat9-el-3.0-api1:9.0.87-5.el10_0.1 · Red Hat:enterprise_linux:10.0Package 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.

EPSS, last 120 days

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.

Finders, 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 compilation
    49Plan

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

CVSS 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

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records