CVE catalog

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 J

[CVE catalog]

Severity
Medium · CVSS 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Published
Updated
Source
[NVD] · [CVE record]
EPSS
22.85% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiantomcat9sid9.0.122-1fixed
Debiantomcat9forky9.0.122-1fixed
Debiantomcat9trixie9.0.95-1fixed
Debiantomcat9bookworm9.0.70-2fixed
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
Ubuntutomcat7pro7.0.64-1vulnerable
Ubuntutomcat7pro7.0.68-1vulnerable
Ubuntutomcat7pro7.0.68-1ubuntu0.1vulnerable
Ubuntutomcat7pro7.0.68-1ubuntu0.3vulnerable
Ubuntutomcat7pro7.0.68-1ubuntu0.4vulnerable
Ubuntutomcat7pro7.0.68-1ubuntu0.4+esm1vulnerable
Ubuntutomcat7pro7.0.68-1ubuntu0.4+esm2vulnerable
Ubuntutomcat7pro7.0.68-1ubuntu0.4+esm3vulnerable
Ubuntutomcat7pro7.0.68-1ubuntu0.4+esm4vulnerable
Ubuntutomcat8pro8.5.21-1ubuntu1vulnerable
Ubuntutomcat8pro8.5.29-1vulnerable
Ubuntutomcat8pro8.5.30-1vulnerable
Ubuntutomcat8pro8.5.30-1ubuntu1vulnerable
Ubuntutomcat8pro8.5.30-1ubuntu1.2vulnerable
Ubuntutomcat8pro8.5.30-1ubuntu1.3vulnerable
Ubuntutomcat8pro8.5.30-1ubuntu1.4vulnerable
Ubuntutomcat8pro8.5.39-1ubuntu1~18.04.1vulnerable
Ubuntutomcat8pro8.5.39-1ubuntu1~18.04.2vulnerable
Ubuntutomcat8pro8.5.39-1ubuntu1~18.04.3vulnerable
Ubuntutomcat8pro8.5.39-1ubuntu1~18.04.3+esm1vulnerable
Ubuntutomcat8pro8.5.39-1ubuntu1~18.04.3+esm2vulnerable
Ubuntutomcat8pro8.5.39-1ubuntu1~18.04.3+esm3vulnerable
Ubuntutomcat8pro8.5.39-1ubuntu1~18.04.3+esm4vulnerable
Ubuntutomcat8pro8.5.39-1ubuntu1~18.04.3+esm5vulnerable
Ubuntutomcat8pro8.5.39-1ubuntu1~18.04.3+esm6vulnerable
Ubuntutomcat9pro9.0.24-1vulnerable
Ubuntutomcat9pro9.0.27-1vulnerable
Ubuntutomcat9pro9.0.31-1vulnerable
Ubuntutomcat9pro9.0.31-1ubuntu0.1vulnerable
Ubuntutomcat9pro9.0.31-1ubuntu0.2vulnerable
Ubuntutomcat9pro9.0.31-1ubuntu0.3vulnerable
Ubuntutomcat9pro9.0.31-1ubuntu0.4vulnerable
Ubuntutomcat9pro9.0.31-1ubuntu0.5vulnerable
Ubuntutomcat9pro9.0.31-1ubuntu0.6vulnerable
Ubuntutomcat9pro9.0.31-1ubuntu0.7vulnerable
Ubuntutomcat9pro9.0.31-1ubuntu0.8vulnerable
Ubuntutomcat9pro9.0.31-1ubuntu0.9vulnerable
Ubuntutomcat9pro9.0.31-1ubuntu0.9+esm1vulnerable
Ubuntutomcat9pro9.0.31-1ubuntu0.9+esm2vulnerable
Ubuntutomcat9pro9.0.31-1ubuntu0.9+esm3vulnerable
Susetomcatlinux enterprise module for web and scripting 15 sp29.0.36-3.21.1fixed
Susetomcatlinux enterprise high performance computing 15 sp1-espos9.0.36-4.58.1fixed
Susetomcatlinux enterprise high performance computing 15 sp1-ltss9.0.36-4.58.1fixed
Susetomcatlinux enterprise server 15 sp1-bcl9.0.36-4.58.1fixed
Susetomcatlinux enterprise server 15 sp1-ltss9.0.36-4.58.1fixed
Susetomcatlinux enterprise server for sap applications 15 sp19.0.36-4.58.1fixed
Susetomcatmanager proxy 4.09.0.36-4.58.1fixed
Susetomcatmanager retail branch server 4.09.0.36-4.58.1fixed
Susetomcatmanager server 4.09.0.36-4.58.1fixed
Susetomcatenterprise storage 69.0.36-4.58.1fixed
Susetomcatlinux enterprise server 12 sp59.0.36-3.61.1fixed
Susetomcatlinux enterprise server for sap applications 12 sp59.0.36-3.61.1fixed
Opensusetomcatleap 15.29.0.36-lp152.2.19.1fixed
Susetomcatlinux enterprise high performance computing 15-espos9.0.36-3.79.1fixed
Susetomcatlinux enterprise high performance computing 15-ltss9.0.36-3.79.1fixed
Susetomcatlinux enterprise server 15-ltss9.0.36-3.79.1fixed
Susetomcatlinux enterprise server for sap applications 159.0.36-3.79.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiantomcat9sourcesid9.0.40-1unimportantNot reportedNot reported
Debiantomcat9sourceforky9.0.40-1unimportantNot reportedNot reported
Debiantomcat9sourcetrixie9.0.40-1unimportantNot reportedNot reported
Debiantomcat9sourcebookworm9.0.40-1unimportantNot reportedNot reported
Susetomcatrpmlinux enterprise module for web and scripting 15 sp29.0.36-3.21.1Not reportedSUSE-SU-2021:0531-1Not reported
Susetomcatrpmlinux enterprise high performance computing 15 sp1-espos9.0.36-4.58.1Not reportedSUSE-SU-2021:1009-1Not reported
Susetomcatrpmlinux enterprise high performance computing 15 sp1-ltss9.0.36-4.58.1Not reportedSUSE-SU-2021:1009-1Not reported
Susetomcatrpmlinux enterprise server 15 sp1-bcl9.0.36-4.58.1Not reportedSUSE-SU-2021:1009-1Not reported
Susetomcatrpmlinux enterprise server 15 sp1-ltss9.0.36-4.58.1Not reportedSUSE-SU-2021:1009-1Not reported
Susetomcatrpmlinux enterprise server for sap applications 15 sp19.0.36-4.58.1Not reportedSUSE-SU-2021:1009-1Not reported
Susetomcatrpmmanager proxy 4.09.0.36-4.58.1Not reportedSUSE-SU-2021:1009-1Not reported
Susetomcatrpmmanager retail branch server 4.09.0.36-4.58.1Not reportedSUSE-SU-2021:1009-1Not reported
Susetomcatrpmmanager server 4.09.0.36-4.58.1Not reportedSUSE-SU-2021:1009-1Not reported
Susetomcatrpmenterprise storage 69.0.36-4.58.1Not reportedSUSE-SU-2021:1009-1Not reported
Susetomcatrpmlinux enterprise server 12 sp59.0.36-3.61.1Not reportedSUSE-SU-2021:0530-1Not reported
Susetomcatrpmlinux enterprise server for sap applications 12 sp59.0.36-3.61.1Not reportedSUSE-SU-2021:0530-1Not reported
Opensusetomcatrpmleap 15.29.0.36-lp152.2.19.1Not reportedOPENSUSE-SU-2021:0330-1Not reported
Susetomcatrpmlinux enterprise high performance computing 15-espos9.0.36-3.79.1Not reportedSUSE-SU-2021:0989-1Not reported
Susetomcatrpmlinux enterprise high performance computing 15-ltss9.0.36-3.79.1Not reportedSUSE-SU-2021:0989-1Not reported
Susetomcatrpmlinux enterprise server 15-ltss9.0.36-3.79.1Not reportedSUSE-SU-2021:0989-1Not reported
Susetomcatrpmlinux enterprise server for sap applications 159.0.36-3.79.1Not reportedSUSE-SU-2021:0989-1Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [tomcat9]

    Details (2)
    • 9.0.70-2 · all · bookworm

      Fixed · Fixed: 9.0.40-1

      nvd · tomcat9 · debian · bookworm; nvd · tomcat9 · debian · 12

    • 9.0.70-2 · all · bookworm

      Fixed · Fixed: 9.0.40-1

      nvd · tomcat9 · debian · bookworm; nvd · tomcat9 · debian · 12

[Debian 13 (Trixie)]

  • Source package: [tomcat9]

    Details (2)
    • 9.0.95-1 · all · trixie

      Fixed · Fixed: 9.0.40-1

      nvd · tomcat9 · debian · 13

    • 9.0.95-1 · all · trixie

      Fixed · Fixed: 9.0.40-1

      nvd · tomcat9 · debian · 13

Observed:

References