Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-core/9.0.62/5cfba48171140b53d53f730633cc6310fa63e12/tomcat-embed-core-9.0.62.jar
The JsonErrorReportValve in Apache Tomcat 8.5.83, 9.0.40 to 9.0.68 and 10.1.0-M1 to 10.1.1 did not escape the type, message or description values. In some circumstances these are constructed from user provided data and it was therefore possible for users to supply values that invalidated or manipulated the JSON output.
Mend Note: After conducting further research, Mend has determined that versions 10.0.x of org.apache.tomcat:tomcat-catalina are vulnerable to CVE-2022-45143.
CVE-2022-45143 - High Severity Vulnerability
Vulnerable Library - tomcat-embed-core-9.0.62.jar
Core Tomcat implementation
Library home page: https://tomcat.apache.org/
Path to dependency file: /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.62/5cfba48171140b53d53f730633cc6310fa63e12/tomcat-embed-core-9.0.62.jar
Dependency Hierarchy: - spring-boot-starter-web-2.6.7.jar (Root Library) - spring-boot-starter-tomcat-2.6.7.jar - :x: **tomcat-embed-core-9.0.62.jar** (Vulnerable Library)
Found in HEAD commit: 221846a53b58bd81f8871124435f978a2f6903d3
Found in base branch: main
Vulnerability Details
The JsonErrorReportValve in Apache Tomcat 8.5.83, 9.0.40 to 9.0.68 and 10.1.0-M1 to 10.1.1 did not escape the type, message or description values. In some circumstances these are constructed from user provided data and it was therefore possible for users to supply values that invalidated or manipulated the JSON output. Mend Note: After conducting further research, Mend has determined that versions 10.0.x of org.apache.tomcat:tomcat-catalina are vulnerable to CVE-2022-45143.
Publish Date: 2023-01-03
URL: CVE-2022-45143
CVSS 3 Score Details (7.5)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: High - Availability Impact: None
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://github.com/advisories/GHSA-rq2w-37h9-vg94
Release Date: 2023-01-03
Fix Resolution (org.apache.tomcat.embed:tomcat-embed-core): 9.0.69
Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-web): 2.6.14
Step up your Open Source Security Game with Mend here