CVE-2021-24122

Updated: 2026-02-27 00:11:42.784723

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.


Links NIST CIRCL RHEL Ubuntu

Severity

Severity Score
CVSS Version 2.x MEDIUM 4.3
CVSS Version 3.x MEDIUM 5.9

Status

OS name Project name Version Score Severity Status Errata Last updated

Statement

CentOS 7 ELS tomcat 7.0.76 5.9 MEDIUM Ignored 2024-04-09 11:13:24 Ignored due to low severity
Debian 10 ELS tomcat9 9.0.31 5.9 MEDIUM Ignored 2025-10-11 00:18:42 Ignored due to low severity
Ubuntu 16.04 ELS tomcat7 7.0.68-1 5.9 MEDIUM Ignored 2022-05-27 05:37:23 Ignored due to low severity
Ubuntu 18.04 ELS tomcat9 9.0.16-3 5.9 MEDIUM Ignored 2023-07-05 05:06:50 Ignored due to low severity
Ubuntu 18.04 ELS tomcat8 8.5.39-1 5.9 MEDIUM Released CLSA-2025:1748282295 2025-05-27 03:58:19 Ignored due to low severity