Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2024-56337 — bootstrap-os

🔴 CVSS 9.8 — Critical ✅ No Known Exploit CWE-367 NVD
9.8
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

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

Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability in Apache Tomcat.

This issue affects Apache Tomcat: from 11.0.0 through 11.0.1, from 10.1.0 through 10.1.33, from 9.0.0 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.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

  • Attack vector: Network — reachable from anywhere that can route to the service.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: None — an unauthenticated stranger can try it.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: High — total loss, or loss the attacker controls.
  • Integrity impact: High — total loss, or loss the attacker controls.
  • Availability impact: High — total loss, or loss the attacker controls.

Weakness class

CVE-2024-56337 is classified as CWE-367: Time-of-check Time-of-use Race Condition. The state checked and the state acted upon can differ, because it may change between the two steps.

Affected software

CVE-2024-56337 is recorded against 5 packages.

  • bootstrap-os
  • org.apache.tomcat.embed:tomcat-embed-core (from 9.0.0.M1 up to 9.0.98)
  • org.apache.tomcat:tomcat-catalina (from 10.1.0-M1 up to 10.1.34)
  • org.apache.tomcat:tomcat-embed-core (from 9.0.0.M1 up to 9.0.98)
  • tomcat

Timeline and source

Published on 20 December 2024 and last revised on 17 June 2026. No public exploit is currently recorded for this entry. Record sourced from NVD.

References

lists.apache.org
www.cve.org
lists.debian.org
security.netapp.com

Other advisories for this package

bootstrap-os has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-367: Time-of-check Time-of-use Race Condition) in other software:

CVE-2024-56337 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity CRITICAL
CVSS Score 9.8
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE CWE-367
Public Exploit ✅ No
Source NVD
Published 2024-12-20
Updated 2026-08-20
Modified 2026-06-17
Fix URL N/A

Affected Packages

Software From version Fixed in
bootstrap-os
org.apache.tomcat:tomcat-catalina 10.1.0-M1 10.1.34
org.apache.tomcat:tomcat-embed-core 9.0.0.M1 9.0.98
org.apache.tomcat.embed:tomcat-embed-core 9.0.0.M1 9.0.98
tomcat

Similar Threats

Exploit Protection

Are you running bootstrap-os?

CVE-2024-56337 carries CVSS 9.8 Critical rating. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.

Check My Site For CVE-2024-56337 →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2024