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.
Published:Jan 14, 2021
Last Modified:Aug 25, 2026
EPS:Jan 14, 2021
EPSS Score:0.22852
CVSS Score:5.9
Affected Products
Vendor
Product
Action
Vendor
Apache
Product
Tomcat
Apache
Tomcat
Vendor
Debian
Product
Debian Linux
Debian
Debian Linux
Vendor
Oracle
Product
Agile Product Lifecycle Management
Oracle
Agile Product Lifecycle Management
Vendor
Redhat
Product
Jboss Enterprise Web Server
Redhat
Jboss Enterprise Web Server
Vendor
Redhat
Product
Jboss Fuse
Redhat
Jboss Fuse
Vendor
Redhat
Product
Openshift Application Runtimes
Redhat
Openshift Application Runtimes
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
