CVE-2021-24122 (Medium) detected in tomcat-embed-core-8.5.57.jar
Opened this issue · 0 comments
CVE-2021-24122 - Medium Severity Vulnerability
Vulnerable Library - tomcat-embed-core-8.5.57.jar
Core Tomcat implementation
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/8.5.57/tomcat-embed-core-8.5.57.jar
Dependency Hierarchy:
- core-3.10.0.jar (Root Library)
- spring-boot-starter-web-1.5.22.RELEASE.jar
- spring-boot-starter-tomcat-1.5.22.RELEASE.jar
- ❌ tomcat-embed-core-8.5.57.jar (Vulnerable Library)
- spring-boot-starter-tomcat-1.5.22.RELEASE.jar
- spring-boot-starter-web-1.5.22.RELEASE.jar
Found in HEAD commit: a4c7eb2860f348a25abfeda41c6fa93ee1b8a2b6
Found in base branch: master
Vulnerability Details
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.
Publish Date: 2021-01-14
URL: CVE-2021-24122
CVSS 3 Score Details (5.9)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: High
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: High
- Integrity Impact: None
- Availability Impact: None
Suggested Fix
Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24122
Release Date: 2021-01-14
Fix Resolution (org.apache.tomcat.embed:tomcat-embed-core): 8.5.60
Direct dependency fix Resolution (com.capitalone.dashboard:core): 4.0.1
Step up your Open Source Security Game with Mend here