ADVISORIES

Vulnerability

CVE-2021-24122

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.

16 advisories report this vulnerability, across 8 ecosystems.

Advisories in Debian

  • DEBIAN-CVE-2021-24122

    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…

    CVE-2021-24122 Debian Updated 9 October 2026
  • DLA-2594-1

    tomcat8 - security update

    CVE-2021-24122CVE-2021-25122CVE-2021-25329 Debian Updated 20 November 2026

References