Permissions, privileges, and access controls in Apache Tomcat - CVE-2024-56337
Published: December 20, 2024
Apache Tomcat
Detailed vulnerability description
The vulnerability allows a remote attacker to compromise the affected system.
The mitigation bypass depends on the version of Java used on the system.
How to mitigate CVE-2024-56337
Update to the latest version of Apache Tomcat and follow the instructions below:
- 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)