Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-beans/5.3.9/spring-beans-5.3.9.jar,/home/wss-scanner/.m2/repository/org/springframework/spring-beans/5.3.9/spring-beans-5.3.9.jar
A Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via data binding. The specific exploit requires the application to run on Tomcat as a WAR deployment. If the application is deployed as a Spring Boot executable jar, i.e. the default, it is not vulnerable to the exploit. However, the nature of the vulnerability is more general, and there may be other ways to exploit it.
Mend Note: Converted from WS-2022-0107, on 2022-11-07.
CVE-2022-22965 - Critical Severity Vulnerability
Vulnerable Library - spring-beans-5.3.9.jar
Spring Beans
Library home page: https://spring.io/projects/spring-framework
Path to dependency file: /docker/pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-beans/5.3.9/spring-beans-5.3.9.jar,/home/wss-scanner/.m2/repository/org/springframework/spring-beans/5.3.9/spring-beans-5.3.9.jar
Dependency Hierarchy: - spring-boot-starter-validation-2.5.4.jar (Root Library) - spring-boot-starter-2.5.4.jar - spring-boot-2.5.4.jar - spring-context-5.3.9.jar - :x: **spring-beans-5.3.9.jar** (Vulnerable Library)
Found in base branch: develop
Vulnerability Details
A Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via data binding. The specific exploit requires the application to run on Tomcat as a WAR deployment. If the application is deployed as a Spring Boot executable jar, i.e. the default, it is not vulnerable to the exploit. However, the nature of the vulnerability is more general, and there may be other ways to exploit it. Mend Note: Converted from WS-2022-0107, on 2022-11-07.
Publish Date: 2022-04-01
URL: CVE-2022-22965
CVSS 3 Score Details (9.8)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://spring.io/blog/2022/03/31/spring-framework-rce-early-announcement
Release Date: 2022-04-01
Fix Resolution (org.springframework:spring-beans): 5.3.18
Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-validation): 2.5.12
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.