
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
- Severity
- Medium · CVSS 5.9
CVSS: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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | tomcat9 | sid | 9.0.122-1 | fixed |
| Debian | tomcat9 | forky | 9.0.122-1 | fixed |
| Debian | tomcat9 | trixie | 9.0.95-1 | fixed |
| Debian | tomcat9 | bookworm | 9.0.70-2 | fixed |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Ubuntu | tomcat7 | pro | 7.0.64-1 | vulnerable |
| Ubuntu | tomcat7 | pro | 7.0.68-1 | vulnerable |
| Ubuntu | tomcat7 | pro | 7.0.68-1ubuntu0.1 | vulnerable |
| Ubuntu | tomcat7 | pro | 7.0.68-1ubuntu0.3 | vulnerable |
| Ubuntu | tomcat7 | pro | 7.0.68-1ubuntu0.4 | vulnerable |
| Ubuntu | tomcat7 | pro | 7.0.68-1ubuntu0.4+esm1 | vulnerable |
| Ubuntu | tomcat7 | pro | 7.0.68-1ubuntu0.4+esm2 | vulnerable |
| Ubuntu | tomcat7 | pro | 7.0.68-1ubuntu0.4+esm3 | vulnerable |
| Ubuntu | tomcat7 | pro | 7.0.68-1ubuntu0.4+esm4 | vulnerable |
| Ubuntu | tomcat8 | pro | 8.5.21-1ubuntu1 | vulnerable |
| Ubuntu | tomcat8 | pro | 8.5.29-1 | vulnerable |
| Ubuntu | tomcat8 | pro | 8.5.30-1 | vulnerable |
| Ubuntu | tomcat8 | pro | 8.5.30-1ubuntu1 | vulnerable |
| Ubuntu | tomcat8 | pro | 8.5.30-1ubuntu1.2 | vulnerable |
| Ubuntu | tomcat8 | pro | 8.5.30-1ubuntu1.3 | vulnerable |
| Ubuntu | tomcat8 | pro | 8.5.30-1ubuntu1.4 | vulnerable |
| Ubuntu | tomcat8 | pro | 8.5.39-1ubuntu1~18.04.1 | vulnerable |
| Ubuntu | tomcat8 | pro | 8.5.39-1ubuntu1~18.04.2 | vulnerable |
| Ubuntu | tomcat8 | pro | 8.5.39-1ubuntu1~18.04.3 | vulnerable |
| Ubuntu | tomcat8 | pro | 8.5.39-1ubuntu1~18.04.3+esm1 | vulnerable |
| Ubuntu | tomcat8 | pro | 8.5.39-1ubuntu1~18.04.3+esm2 | vulnerable |
| Ubuntu | tomcat8 | pro | 8.5.39-1ubuntu1~18.04.3+esm3 | vulnerable |
| Ubuntu | tomcat8 | pro | 8.5.39-1ubuntu1~18.04.3+esm4 | vulnerable |
| Ubuntu | tomcat8 | pro | 8.5.39-1ubuntu1~18.04.3+esm5 | vulnerable |
| Ubuntu | tomcat8 | pro | 8.5.39-1ubuntu1~18.04.3+esm6 | vulnerable |
| Ubuntu | tomcat9 | pro | 9.0.24-1 | vulnerable |
| Ubuntu | tomcat9 | pro | 9.0.27-1 | vulnerable |
| Ubuntu | tomcat9 | pro | 9.0.31-1 | vulnerable |
| Ubuntu | tomcat9 | pro | 9.0.31-1ubuntu0.1 | vulnerable |
| Ubuntu | tomcat9 | pro | 9.0.31-1ubuntu0.2 | vulnerable |
| Ubuntu | tomcat9 | pro | 9.0.31-1ubuntu0.3 | vulnerable |
| Ubuntu | tomcat9 | pro | 9.0.31-1ubuntu0.4 | vulnerable |
| Ubuntu | tomcat9 | pro | 9.0.31-1ubuntu0.5 | vulnerable |
| Ubuntu | tomcat9 | pro | 9.0.31-1ubuntu0.6 | vulnerable |
| Ubuntu | tomcat9 | pro | 9.0.31-1ubuntu0.7 | vulnerable |
| Ubuntu | tomcat9 | pro | 9.0.31-1ubuntu0.8 | vulnerable |
| Ubuntu | tomcat9 | pro | 9.0.31-1ubuntu0.9 | vulnerable |
| Ubuntu | tomcat9 | pro | 9.0.31-1ubuntu0.9+esm1 | vulnerable |
| Ubuntu | tomcat9 | pro | 9.0.31-1ubuntu0.9+esm2 | vulnerable |
| Ubuntu | tomcat9 | pro | 9.0.31-1ubuntu0.9+esm3 | vulnerable |
| Suse | tomcat | linux enterprise module for web and scripting 15 sp2 | 9.0.36-3.21.1 | fixed |
| Suse | tomcat | linux enterprise high performance computing 15 sp1-espos | 9.0.36-4.58.1 | fixed |
| Suse | tomcat | linux enterprise high performance computing 15 sp1-ltss | 9.0.36-4.58.1 | fixed |
| Suse | tomcat | linux enterprise server 15 sp1-bcl | 9.0.36-4.58.1 | fixed |
| Suse | tomcat | linux enterprise server 15 sp1-ltss | 9.0.36-4.58.1 | fixed |
| Suse | tomcat | linux enterprise server for sap applications 15 sp1 | 9.0.36-4.58.1 | fixed |
| Suse | tomcat | manager proxy 4.0 | 9.0.36-4.58.1 | fixed |
| Suse | tomcat | manager retail branch server 4.0 | 9.0.36-4.58.1 | fixed |
| Suse | tomcat | manager server 4.0 | 9.0.36-4.58.1 | fixed |
| Suse | tomcat | enterprise storage 6 | 9.0.36-4.58.1 | fixed |
| Suse | tomcat | linux enterprise server 12 sp5 | 9.0.36-3.61.1 | fixed |
| Suse | tomcat | linux enterprise server for sap applications 12 sp5 | 9.0.36-3.61.1 | fixed |
| Opensuse | tomcat | leap 15.2 | 9.0.36-lp152.2.19.1 | fixed |
| Suse | tomcat | linux enterprise high performance computing 15-espos | 9.0.36-3.79.1 | fixed |
| Suse | tomcat | linux enterprise high performance computing 15-ltss | 9.0.36-3.79.1 | fixed |
| Suse | tomcat | linux enterprise server 15-ltss | 9.0.36-3.79.1 | fixed |
| Suse | tomcat | linux enterprise server for sap applications 15 | 9.0.36-3.79.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | tomcat9 | source | sid | 9.0.40-1 | unimportant | Not reported | Not reported |
| Debian | tomcat9 | source | forky | 9.0.40-1 | unimportant | Not reported | Not reported |
| Debian | tomcat9 | source | trixie | 9.0.40-1 | unimportant | Not reported | Not reported |
| Debian | tomcat9 | source | bookworm | 9.0.40-1 | unimportant | Not reported | Not reported |
| Suse | tomcat | rpm | linux enterprise module for web and scripting 15 sp2 | 9.0.36-3.21.1 | Not reported | SUSE-SU-2021:0531-1 | Not reported |
| Suse | tomcat | rpm | linux enterprise high performance computing 15 sp1-espos | 9.0.36-4.58.1 | Not reported | SUSE-SU-2021:1009-1 | Not reported |
| Suse | tomcat | rpm | linux enterprise high performance computing 15 sp1-ltss | 9.0.36-4.58.1 | Not reported | SUSE-SU-2021:1009-1 | Not reported |
| Suse | tomcat | rpm | linux enterprise server 15 sp1-bcl | 9.0.36-4.58.1 | Not reported | SUSE-SU-2021:1009-1 | Not reported |
| Suse | tomcat | rpm | linux enterprise server 15 sp1-ltss | 9.0.36-4.58.1 | Not reported | SUSE-SU-2021:1009-1 | Not reported |
| Suse | tomcat | rpm | linux enterprise server for sap applications 15 sp1 | 9.0.36-4.58.1 | Not reported | SUSE-SU-2021:1009-1 | Not reported |
| Suse | tomcat | rpm | manager proxy 4.0 | 9.0.36-4.58.1 | Not reported | SUSE-SU-2021:1009-1 | Not reported |
| Suse | tomcat | rpm | manager retail branch server 4.0 | 9.0.36-4.58.1 | Not reported | SUSE-SU-2021:1009-1 | Not reported |
| Suse | tomcat | rpm | manager server 4.0 | 9.0.36-4.58.1 | Not reported | SUSE-SU-2021:1009-1 | Not reported |
| Suse | tomcat | rpm | enterprise storage 6 | 9.0.36-4.58.1 | Not reported | SUSE-SU-2021:1009-1 | Not reported |
| Suse | tomcat | rpm | linux enterprise server 12 sp5 | 9.0.36-3.61.1 | Not reported | SUSE-SU-2021:0530-1 | Not reported |
| Suse | tomcat | rpm | linux enterprise server for sap applications 12 sp5 | 9.0.36-3.61.1 | Not reported | SUSE-SU-2021:0530-1 | Not reported |
| Opensuse | tomcat | rpm | leap 15.2 | 9.0.36-lp152.2.19.1 | Not reported | OPENSUSE-SU-2021:0330-1 | Not reported |
| Suse | tomcat | rpm | linux enterprise high performance computing 15-espos | 9.0.36-3.79.1 | Not reported | SUSE-SU-2021:0989-1 | Not reported |
| Suse | tomcat | rpm | linux enterprise high performance computing 15-ltss | 9.0.36-3.79.1 | Not reported | SUSE-SU-2021:0989-1 | Not reported |
| Suse | tomcat | rpm | linux enterprise server 15-ltss | 9.0.36-3.79.1 | Not reported | SUSE-SU-2021:0989-1 | Not reported |
| Suse | tomcat | rpm | linux enterprise server for sap applications 15 | 9.0.36-3.79.1 | Not reported | SUSE-SU-2021:0989-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libtomcat9-java]Fixed
Source package: [tomcat9]
Details (2)
9.0.70-2· all · bookwormFixed · Fixed:
9.0.40-1nvd · tomcat9 · debian · bookworm; nvd · tomcat9 · debian · 12
9.0.70-2· all · bookwormFixed · Fixed:
9.0.40-1nvd · tomcat9 · debian · bookworm; nvd · tomcat9 · debian · 12
[Debian 13 (Trixie)]
- [libtomcat9-java]Fixed
Source package: [tomcat9]
Details (2)
9.0.95-1· all · trixieFixed · Fixed:
9.0.40-1nvd · tomcat9 · debian · 13
9.0.95-1· all · trixieFixed · Fixed:
9.0.40-1nvd · tomcat9 · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2021_0530-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2021-24122]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-24122]
- [https://osv.dev/vulnerability/DLA-2594-1]
- [https://osv.dev/vulnerability/SUSE-SU-2021:0530-1]
- [https://osv.dev/vulnerability/SUSE-SU-2021:0531-1]
- [https://osv.dev/vulnerability/SUSE-SU-2021:0989-1]
- [https://osv.dev/vulnerability/SUSE-SU-2021:1009-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-24122]
- [https://osv.dev/vulnerability/openSUSE-SU-2021:0330-1]
- [https://security-tracker.debian.org/tracker/CVE-2021-24122]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-24122.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2021/wid-sec-w-2023-2465.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]