Name | CVE-2021-24122 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2594-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
tomcat9 (PTS) | bullseye (security), bullseye | 9.0.43-2~deb11u10 | fixed |
bookworm | 9.0.70-2 | fixed | |
sid, trixie | 9.0.95-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
tomcat7 | source | (unstable) | (unfixed) | unimportant | ||
tomcat8 | source | stretch | 8.5.54-0+deb9u6 | DLA-2594-1 | ||
tomcat8 | source | (unstable) | (unfixed) | unimportant | ||
tomcat9 | source | (unstable) | 9.0.40-1 | unimportant |
https://github.com/apache/tomcat/commit/935fc5582dc25ae10bab6f9d5629ff8d996cb533 (9.0.40)
https://github.com/apache/tomcat/commit/920dddbdb981f92e8d5872a4bb126a10af5ca8a9 (8.5.60)
https://github.com/apache/tomcat/commit/800b03140e640f8892f27021e681645e8e320177 (7.0.107)
Issue when erving resources from a network location using the NTFS file system.