Skip to main content
The Website Services team at NHS England are testing early designs to understand how you find information. Your views will help us check our ideas work. Sign up to take part in our user research.

Apache Releases Multiple Security Updates for Tomcat

Security updates addressing CVE-2024-56337 fully mitigate CVE-2024-50379

Report a cyber attack: call 0300 303 5222 or email [email protected]

Summary

Security updates addressing CVE-2024-56337 fully mitigate CVE-2024-50379


Affected platforms

The following platforms are known to be affected:

Threat details

Proof-of-concept exploit for CVE-2024-50379

A public proof-of-concept exploit is available for CVE-2024-50379. Exploitation of CVE-2024-50379 and CVE-2024-56337 is considered more likely.


Introduction

The Apache Software Foundation has released two security bulletins addressing critical vulnerabilities in Apache Tomcat. Tomcat is an open-source implementation of the Jakarta EE platform that provides a 'pure Java' HTTP web server environment.

On 17 December 2024, Apache issued a security bulletin addressing CVE-2024-50379, which is a 'Time-of check Time-of-use (TOCTOU) Race Condition' vulnerability with a CVSSv3 score of 9.8. If exploited, an unauthenticated attacker could achieve remote code execution (RCE) if the default servlet is enabled for write operations (non-default configuration) on case-insensitive file systems.

On 20 December 2024, Apache issued a second security bulletin advising that mitigation of CVE-2024-50379 was incomplete and assigned CVE-2024-56337 to address the issue. Apache advise additional mitigation steps may be required to fully remediate CVE-2024-56337, depending on the Java version used with Tomcat. 


Remediation advice

Affected organisations are strongly encouraged to review the Apache Security Bulletin for CVE-2024-56337 and apply the relevant updates and mitigations as soon as practicable.

Note: Depending on which Java version is used with Tomcat, additional mitigation steps may be required to fully remediate CVE-2024-56337. These are detailed below.


Remediation steps

Type Step
Patch

Update Apache Tomcat to:

  • version 11.0.2 or later
  • version 10.1.34 or later
  • version 9.0.98 or later

https://lists.apache.org/thread/b2b9qrgjrz1kvo4ym8y2wkfdvwoq6qbp
Action

Java 8 or Java 11

  • The system property sun.io.useCanonCaches must be explicitly set to false (it defaults to true)

Java 17

  • The system property sun.io.useCanonCaches, if set, must be set to false (it defaults to false)

Java 21 and higher

  • No further configuration is required (the system property and the problematic cache have been removed)

https://lists.apache.org/thread/b2b9qrgjrz1kvo4ym8y2wkfdvwoq6qbp


CVE Vulnerabilities

Last edited: 24 December 2024 11:35 am