Closed mend-for-github-com[bot] closed 8 months ago
:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.
:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.
CVE-2021-24122 - Medium Severity Vulnerability
Vulnerable Libraries - tomcat-embed-core-9.0.37.jar, tomcat-embed-core-9.0.39.jar, tomcat-embed-core-9.0.38.jar
tomcat-embed-core-9.0.37.jar
Core Tomcat implementation
Library home page: https://tomcat.apache.org/
Path to dependency file: /g11n-ws/modules/md-service-authen/build.gradle
Path to vulnerable library: /canner/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-core/9.0.37/c3f788de87f17eb57a9e7083736c1820fcbc1046/tomcat-embed-core-9.0.37.jar
Dependency Hierarchy: - :x: **tomcat-embed-core-9.0.37.jar** (Vulnerable Library)
tomcat-embed-core-9.0.39.jar
Core Tomcat implementation
Library home page: https://tomcat.apache.org/
Path to dependency file: /g11n-ws/vip-manager-l10n/build.gradle
Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-core/9.0.39/d82e926b31f06e96fccf552e41f1b8b1615d96dc/tomcat-embed-core-9.0.39.jar,/canner/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-core/9.0.39/d82e926b31f06e96fccf552e41f1b8b1615d96dc/tomcat-embed-core-9.0.39.jar
Dependency Hierarchy: - :x: **tomcat-embed-core-9.0.39.jar** (Vulnerable Library)
tomcat-embed-core-9.0.38.jar
Core Tomcat implementation
Path to dependency file: /g11n-ws/modules/md-restful-api-db/build.gradle
Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-core/9.0.38/368aac73f9274896fa8cccf20f4799533629471c/tomcat-embed-core-9.0.38.jar
Dependency Hierarchy: - spring-boot-starter-web-2.3.4.RELEASE.jar (Root Library) - spring-boot-starter-tomcat-2.3.4.RELEASE.jar - :x: **tomcat-embed-core-9.0.38.jar** (Vulnerable Library)
Found in HEAD commit: 2bb883ae0b199f3e432621e91d0f801cfc406a89
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
For more information on CVSS3 Scores, click here.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): 9.0.40
Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-web): 2.3.7.RELEASE