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-2021-22060 (Medium) detected in spring-web-5.3.10.jar, spring-core-5.3.10.jar #323

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

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

CVE-2021-22060 - Medium Severity Vulnerability

Vulnerable Libraries - spring-web-5.3.10.jar, spring-core-5.3.10.jar

spring-web-5.3.10.jar

Spring Web

Path to dependency file: /demos/claim-bot/pom.xml

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

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

spring-core-5.3.10.jar

Spring Core

Path to dependency file: /libs/chat-workflow/pom.xml

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

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

Found in HEAD commit: 3da9e0f849079934eb92135cec1f523e22bdc1ad

Found in base branch: spring-bot-master

Vulnerability Details

In Spring Framework versions 5.3.0 - 5.3.13, 5.2.0 - 5.2.18, and older unsupported versions, it is possible for a user to provide malicious input to cause the insertion of additional log entries. This is a follow-up to CVE-2021-22096 that protects against additional types of input and in more places of the Spring Framework codebase.

Publish Date: 2022-01-10

URL: CVE-2021-22060

CVSS 3 Score Details (4.3)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: Low - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: Low - Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-6gf2-pvqw-37ph

Release Date: 2022-01-10

Fix Resolution: org.springframework:spring-core:5.2.19, 5.3.14; org.springframework:spring-web:5.2.19, 5.3.14