Vulnerabilities · 2021 · Apache
CVE-2021-24122
Apache Tomcat vulnerability
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.
Affected products
Tomcat, Debian Linux, Agile Plm. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Apache Tomcat runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- lists.apache.org/thread.html/r1595889b083e05986f42b944dc43060d6b083022260b6ea64d2cec52%40% · Vendor Advisory
- www.openwall.com/lists/oss-security/2021/01/14/1 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2021/03/msg00018.html · Third Party Advisory
- security.netapp.com/advisory/ntap-20210212-0008/ · Third Party Advisory
- www.oracle.com//security-alerts/cpujul2021.html · Third Party Advisory
- lists.apache.org/thread.html/r1595889b083e05986f42b944dc43060d6b083022260b6ea64d2cec52%40%
- lists.apache.org/thread.html/r7382e1e35b9bc7c8f320b90ad77e74c13172d08034e20c18000fe710%40%
- lists.apache.org/thread.html/r776c64337495bf28b7d5597268114a888e3fad6045c40a0da0c66d4d%40%
- nvd.nist.gov/vuln/detail/CVE-2021-24122
- cve.org/CVERecord?id=CVE-2021-24122
More vulnerabilities in Apache products
CVE-2026-47340CVE-2026-44930CVE-2026-44618CVE-2026-44417CVE-2026-42357CVE-2026-41280CVE-2026-32967CVE-2026-32966All 2,699
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.