CVE-2021-24122
January 14, 2021
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 Packages
org.apache.tomcat.embed:tomcat-embed-core (JAVA):
Affected version(s) >=10.0.0-M1 <10.0.0-M10Fix Suggestion:
Update to version 10.0.0-M10org.apache.tomcat.embed:tomcat-embed-core (JAVA):
Affected version(s) >=7.0.0 <7.0.107Fix Suggestion:
Update to version 7.0.107org.apache.tomcat.embed:tomcat-embed-core (JAVA):
Affected version(s) >=9.0.1 <9.0.40Fix Suggestion:
Update to version 9.0.40org.apache.tomcat.embed:tomcat-embed-core (JAVA):
Affected version(s) >=8.5.0 <8.5.60Fix Suggestion:
Update to version 8.5.60Related ResourcesĀ (29)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.2
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.9
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
CVSS v2
Base Score:
4.3
Access Vector
NETWORK
Access Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
NONE
Availability Impact
NONE
Weakness Type (CWE)
EPSS
Base Score:
53.94