Read the docs
TI-2024-37298 Aliases CVE-2024-56337GHSA-27hp-xhwr-wr2m

Apache Tomcat: RCE due to TOCTOU issue in JSP compilation - CVE-2024-50379 mitigation was incomplete

Priority MEDIUM 60CWE-367Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 11 fixed, 3 without a fix

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.08969 95th percentileScored 2026-11-07
Fix Partial org.apache.tomcat:tomcat-catalina (Maven): 11.0.2, 10.1.34org.apache.tomcat:tomcat-embed-core (Maven): 9.0.98+1 more productRed Hat: 9 advisoriesRed Hat: 11 fixed, 3 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApacheApache Tomcat11.0.0-M1 – 11.0.1; 10.1.0-M1 – 10.1.33; 9.0.0.M1 – 9.0.97; 8.5.0 – 8.5.100—No fix listedCNA
—org.apache.tomcat:tomcat-catalina (Maven)11.0.0-M1 to before 11.0.211.0.2Patch availableGHSA-27hp-xhwr-wr2m
—org.apache.tomcat:tomcat-catalina (Maven)10.1.0-M1 to before 10.1.3410.1.34Patch availableGHSA-27hp-xhwr-wr2m
—org.apache.tomcat:tomcat-embed-core (Maven)9.0.0.M1 to before 9.0.989.0.98Patch availableGHSA-27hp-xhwr-wr2m
—org.apache.tomcat.embed:tomcat-embed-core (Maven)11.0.0-M1 to before 11.0.211.0.2Patch availableGHSA-27hp-xhwr-wr2m
—org.apache.tomcat.embed:tomcat-embed-core (Maven)10.1.0-M1 to before 10.1.3410.1.34Patch availableGHSA-27hp-xhwr-wr2m
—org.apache.tomcat.embed:tomcat-embed-core (Maven)9.0.0.M1 to before 9.0.989.0.98Patch availableGHSA-27hp-xhwr-wr2m
  • Apache Tomcat VendorApache Affected 11.0.0-M1 – 11.0.1; 10.1.0-M1 – 10.1.33; 9.0.0.M1 – 9.0.97; 8.5.0 – 8.5.100 Fixed in — No fix listed CNA
  • org.apache.tomcat:tomcat-catalina (Maven) Vendor— Affected 11.0.0-M1 to before 11.0.2 Fixed in 11.0.2 Patch available GHSA-27hp-xhwr-wr2m
  • org.apache.tomcat:tomcat-catalina (Maven) Vendor— Affected 10.1.0-M1 to before 10.1.34 Fixed in 10.1.34 Patch available GHSA-27hp-xhwr-wr2m
  • org.apache.tomcat:tomcat-embed-core (Maven) Vendor— Affected 9.0.0.M1 to before 9.0.98 Fixed in 9.0.98 Patch available GHSA-27hp-xhwr-wr2m
  • org.apache.tomcat.embed:tomcat-embed-core (Maven) Vendor— Affected 11.0.0-M1 to before 11.0.2 Fixed in 11.0.2 Patch available GHSA-27hp-xhwr-wr2m
  • org.apache.tomcat.embed:tomcat-embed-core (Maven) Vendor— Affected 10.1.0-M1 to before 10.1.34 Fixed in 10.1.34 Patch available GHSA-27hp-xhwr-wr2m
  • org.apache.tomcat.embed:tomcat-embed-core (Maven) Vendor— Affected 9.0.0.M1 to before 9.0.98 Fixed in 9.0.98 Patch available GHSA-27hp-xhwr-wr2m

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*9.0.0 to before 9.0.98; 10.1.0 to before 10.1.34; 11.0.0 to before 11.0.2VulnerableApache
cpe:2.3:o:netapp:bootstrap_os:-:*:*:*:*:*:*:*not specified by NVDVulnerableNetApp
cpe:2.3:h:netapp:hci_compute_node:-:*:*:*:*:*:*:*not specified by NVDRunning onNetApp
  • cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* Versions 9.0.0 to before 9.0.98; 10.1.0 to before 10.1.34; 11.0.0 to before 11.0.2 Vulnerable ·Apache
  • cpe:2.3:o:netapp:bootstrap_os:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
  • cpe:2.3:h:netapp:hci_compute_node:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·NetApp

Remediation

  • Fix · GHSA-27hp-xhwr-wr2m org.apache.tomcat:tomcat-catalina (Maven) Fixed in 11.0.2 Advisory →
  • Fix · GHSA-27hp-xhwr-wr2m org.apache.tomcat:tomcat-catalina (Maven) Fixed in 10.1.34 Advisory →
  • Fix · GHSA-27hp-xhwr-wr2m org.apache.tomcat:tomcat-embed-core (Maven) Fixed in 9.0.98 Advisory →
  • Fix · GHSA-27hp-xhwr-wr2m org.apache.tomcat.embed:tomcat-embed-core (Maven) Fixed in 11.0.2 Advisory →
  • Fix · GHSA-27hp-xhwr-wr2m org.apache.tomcat.embed:tomcat-embed-core (Maven) Fixed in 10.1.34 Advisory →
  • Fix · GHSA-27hp-xhwr-wr2m org.apache.tomcat.embed:tomcat-embed-core (Maven) Fixed in 9.0.98 Advisory →

Red Hat 9 advisories

  • RHSA-2025:11382 Released 2025-07-17 · Red Hat rating Important
    tomcat security update
    • Red Hat Enterprise Linux AppStream E4S (v.8.8) tomcat-1:9.0.87-1.el8_8.5, tomcat-admin-webapps-1:9.0.87-1.el8_8.5, tomcat-docs-webapp-1:9.0.87-1.el8_8.5 +5
    • Red Hat Enterprise Linux AppStream TUS (v.8.8) tomcat-1:9.0.87-1.el8_8.5, tomcat-admin-webapps-1:9.0.87-1.el8_8.5, tomcat-docs-webapp-1:9.0.87-1.el8_8.5 +5
  • RHSA-2025:11381 Released 2025-07-17 · Red Hat rating Important
    tomcat security update
    • Red Hat Enterprise Linux AppStream E4S (v.9.2) tomcat-1:9.0.87-1.el9_2.4, tomcat-admin-webapps-1:9.0.87-1.el9_2.4, tomcat-docs-webapp-1:9.0.87-1.el9_2.4 +5
  • RHSA-2025:11333 Released 2025-07-16 · Red Hat rating Important
    tomcat security update
    • Red Hat Enterprise Linux AppStream (v. 8) tomcat-1:9.0.87-1.el8_10.4, tomcat-admin-webapps-1:9.0.87-1.el8_10.4, tomcat-docs-webapp-1:9.0.87-1.el8_10.4 +5
Show 6 more Red Hat advisories
  • RHSA-2025:11335 Released 2025-07-16 · Red Hat rating Important
    tomcat security update
    • Red Hat Enterprise Linux AppStream (v. 9) tomcat-1:9.0.87-3.el9_6.1, tomcat-admin-webapps-1:9.0.87-3.el9_6.1, tomcat-docs-webapp-1:9.0.87-3.el9_6.1 +5
  • RHSA-2025:11334 Released 2025-07-16 · Red Hat rating Important
    tomcat security update
    • Red Hat Enterprise Linux AppStream EUS (v.9.4) tomcat-1:9.0.87-1.el9_4.4, tomcat-admin-webapps-1:9.0.87-1.el9_4.4, tomcat-docs-webapp-1:9.0.87-1.el9_4.4 +5
  • RHSA-2025:11332 Released 2025-07-16 · Red Hat rating Important
    tomcat9 security update
    • Red Hat Enterprise Linux AppStream (v. 10) tomcat9-1:9.0.87-5.el10_0.1, tomcat9-admin-webapps-1:9.0.87-5.el10_0.1, tomcat9-docs-webapp-1:9.0.87-5.el10_0.1 +5
  • RHSA-2025:7497 Released 2025-05-13 · Red Hat rating Moderate
    tomcat security update
    • Red Hat Enterprise Linux AppStream (v. 10) tomcat-1:10.1.36-1.el10_0, tomcat-admin-webapps-1:10.1.36-1.el10_0, tomcat-docs-webapp-1:10.1.36-1.el10_0 +5
  • RHSA-2025:4521 Released 2025-05-08 · Red Hat rating Important
    Red Hat JBoss Web Server 5.8.4 release and security update
    • Red Hat JBoss Web Server 5.8 for RHEL 7 Server jws5-tomcat-9.0.87-11.redhat_00010.1.el7jws, jws5-tomcat-admin-webapps-9.0.87-11.redhat_00010.1.el7jws, jws5-tomcat-docs-webapp-9.0.87-11.redhat_00010.1.el7jws +9
    • Red Hat JBoss Web Server 5.8 for RHEL 8 jws5-tomcat-9.0.87-11.redhat_00010.1.el8jws, jws5-tomcat-admin-webapps-9.0.87-11.redhat_00010.1.el8jws, jws5-tomcat-docs-webapp-9.0.87-11.redhat_00010.1.el8jws +7
    • Red Hat JBoss Web Server 5.8 for RHEL 9 jws5-tomcat-9.0.87-11.redhat_00010.1.el9jws, jws5-tomcat-admin-webapps-9.0.87-11.redhat_00010.1.el9jws, jws5-tomcat-docs-webapp-9.0.87-11.redhat_00010.1.el9jws +7
  • RHSA-2025:4522 Released 2025-05-08 · Red Hat rating Important
    Red Hat JBoss Web Server 5.8.4 release and security update
    • Red Hat JBoss Web Server 5

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 8AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 9AffectedNo fix planned: Will not fix
Red Hat JBoss Web Server 6AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux AppStream (v. 10)Fixed RHSA-2025:11332, RHSA-2025:7497
Red Hat Enterprise Linux AppStream (v. 8)Fixed RHSA-2025:11333
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2025:11335
Red Hat Enterprise Linux AppStream E4S (v.8.8)Fixed RHSA-2025:11382
Red Hat Enterprise Linux AppStream E4S (v.9.2)Fixed RHSA-2025:11381
Red Hat Enterprise Linux AppStream EUS (v.9.4)Fixed RHSA-2025:11334
Red Hat Enterprise Linux AppStream TUS (v.8.8)Fixed RHSA-2025:11382
Red Hat JBoss Web Server 5Fixed RHSA-2025:4522
Red Hat JBoss Web Server 5.8 for RHEL 7 ServerFixed RHSA-2025:4521
Red Hat JBoss Web Server 5.8 for RHEL 8Fixed RHSA-2025:4521
Red Hat JBoss Web Server 5.8 for RHEL 9Fixed RHSA-2025:4521
Not affected: 2 products
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-56337
  2. 2026-10-03 Alias added: GHSA-27hp-xhwr-wr2m

References

  • TI-2025-18529 Apache Tomcat: Potential RCE and/or information disclosure and/or information corruption with partial PUT KEVCVSS 3.1CRITICAL 10.0
  • TI-2020-01862 Improper privilege management in Apache Tomcat KEVCVSS 3.1CRITICAL 9.8
  • TI-2016-07192 Improper access control in Apache Tomcat KEVCVSS 3.1CRITICAL 9.8
  • TI-2017-09342 Unrestricted file upload in Apache Tomcat KEVCVSS 3.1HIGH 8.1
  • TI-2017-09340 Unrestricted file upload in Apache Tomcat KEVCVSS 3.1HIGH 8.1
  • TI-2026-26741 Apache Tomcat: Fix for CVE-2026-29146 allowed bypass of EncryptInterceptor KEVCVSS 3.1HIGH 7.5
See all 273 →

Sources