Apache Tomcat case-folding JSP compilation race
Concurrent resource reads and writes were not serialized, so differently cased paths that resolve to one file on a case-insensitive filesystem could race Tomcat's resource metadata and let content uploaded through the default servlet be compiled as JSP.
- Product
- Apache Tomcat Default Servlet and JSP compiler
- Vendor
- Apache Software Foundation
- Affected
- 11.0.0-M1 through 11.0.1; 10.1.0-M1 through 10.1.33; 9.0.0.M1 through 9.0.97; EOL 8.5.0 through 8.5.100 is also known to be affected
- Fixed in
- 11.0.2, 10.1.34, and 9.0.98, plus the CVE-2024-56337 Java canonical-cache configuration where required
- Weakness
- CWE-367
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 17 Dec 2024
Classified as
References
Related CVEs
- CVE-2025-24813critical 9.82025
Apache Tomcat partial PUT path-equivalence RCE
Tomcat derived partial-PUT temporary filenames from the request path by replacing separators with dots, allowing a predictable file collision that can place attacker-controlled serialized bytes where file-backed session persistence later deserializes them.
- CVE-2023-46604critical 9.82023
Apache ActiveMQ OpenWire reflective class instantiation RCE
The OpenWire protocol marshaller rebuilds an exception by reflectively instantiating an attacker-named class with an attacker-supplied string, so a crafted frame can construct a gadget class and run code on the broker.
- CVE-2022-42889critical 9.82022
Text4Shell: default script lookup in string interpolation
A string-interpolation helper enables every built-in lookup by default, including one that evaluates scripts, so untrusted input containing an interpolation reference runs code.
- CVE-2021-44228critical 10.02021
Log4Shell: JNDI lookup in logged input (CVE-2021-44228)
A string logged by Log4j with message lookups enabled can carry a JNDI reference, making the logger resolve an attacker-controlled name through JNDI and load a remote class. Nicknamed Log4Shell (Log4j plus shell), it scored a perfect 10.0, was reported by Chen Zhaojun of Alibaba Cloud, and became one of the most widely exploited vulnerabilities ever.