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.65.jar
Core Tomcat implementation
Library home page: https://tomcat.apache.org/
Path to dependency file: /api/pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/9.0.65/tomcat-embed-core-9.0.65.jar
Dependency Hierarchy: - spring-boot-starter-web-2.7.2.jar (Root Library) - spring-boot-starter-tomcat-2.7.2.jar - :x: **tomcat-embed-core-9.0.65.jar** (Vulnerable Library)
Found in HEAD commit: 0765ba873f399c526db4b36eac3a6fd43f9b4e44
Found in base branch: master
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.7.6
Step up your Open Source Security Game with Mend here