When serving resources from a network location using the NTFS file system it
was possible to bypass security constraints and/or view the source code for
JSPs 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
(CVE-2021-24122).
- https://bugs.mageia.org/show_bug.cgi?id=28093
- https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.40
- https://www.openwall.com/lists/oss-security/2021/01/14/1
- https://www.cve.org/CVERecord?id=CVE-2021-24122
- 7/core/tomcat-9.0.39-1.1.mga7
Get the latest Linux and open source security news straight to your inbox.