Apache Tomcat information disclosure
Apache Software Foundation Apache Tomcat
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.apache.tomcat.embed:tomcat-embed-core Maven |
|
|
Apache Software Foundation Apache Tomcat
| Product | Affected | Fixed in |
|---|---|---|
| org.apache.tomcat.embed:tomcat-embed-core Maven |
|
|
When serving resources from a network location using the NTFS file system, Apache Tomcat versions 10.0.0-M1 to 10.0.0-M9, 9.0.0.M1 to 9.0.39, 8.5.0 to 8.5.59 and 7.0.0 to 7.0.106 were susceptible to JSP source code disclosure in some configurations. The root cause was the unexpected behaviour of the JRE API File.getCanonicalPath() which in turn was caused by the inconsistent behaviour of the Windows API (FindFirstFileW) in some circumstances.
From the CVE record · apache
Apache Tomcat can disclose JSP source code in some configurations when serving resources from a network location using NTFS. A requester may be able to view that source; the input does not specify authentication requirements or user interaction.
Check Apache Tomcat installations in the affected 10.0.0-M1–M9, 9.0.0.M1–9.0.39, 8.5.0–8.5.59, or 7.0.0–7.0.106 ranges, including affected Maven tomcat-embed-core packages.