finos / spring-bot

Spring Boot + Java Integration for Symphony/Teams Chat Platform Bots and Apps
https://springbot.finos.org
Apache License 2.0
60 stars 35 forks source link

CVE-2022-22965 (High) detected in spring-beans-5.3.10.jar #320

Closed mend-for-github-com[bot] closed 2 years ago

mend-for-github-com[bot] commented 2 years ago

CVE-2022-22965 - High Severity Vulnerability

Vulnerable Library - spring-beans-5.3.10.jar

Spring Beans

Path to dependency file: /tools/reminder-bot/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-beans/5.3.10/spring-beans-5.3.10.jar,/home/wss-scanner/.m2/repository/org/springframework/spring-beans/5.3.10/spring-beans-5.3.10.jar,/home/wss-scanner/.m2/repository/org/springframework/spring-beans/5.3.10/spring-beans-5.3.10.jar,/home/wss-scanner/.m2/repository/org/springframework/spring-beans/5.3.10/spring-beans-5.3.10.jar,/home/wss-scanner/.m2/repository/org/springframework/spring-beans/5.3.10/spring-beans-5.3.10.jar,/home/wss-scanner/.m2/repository/org/springframework/spring-beans/5.3.10/spring-beans-5.3.10.jar,/home/wss-scanner/.m2/repository/org/springframework/spring-beans/5.3.10/spring-beans-5.3.10.jar,/home/wss-scanner/.m2/repository/org/springframework/spring-beans/5.3.10/spring-beans-5.3.10.jar,/home/wss-scanner/.m2/repository/org/springframework/spring-beans/5.3.10/spring-beans-5.3.10.jar,/home/wss-scanner/.m2/repository/org/springframework/spring-beans/5.3.10/spring-beans-5.3.10.jar

Dependency Hierarchy: - spring-boot-starter-json-2.5.5.jar (Root Library) - spring-web-5.3.10.jar - :x: **spring-beans-5.3.10.jar** (Vulnerable Library)

Found in HEAD commit: 3da9e0f849079934eb92135cec1f523e22bdc1ad

Found in base branch: spring-bot-master

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.

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.2.20.RELEASE,5.3.18