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-22118 (High) detected in spring-web-5.3.5.jar - autoclosed #194

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

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

CVE-2021-22118 - High Severity Vulnerability

Vulnerable Library - spring-web-5.3.5.jar

Spring Web

Library home page: https://github.com/spring-projects/spring-framework

Path to dependency file: symphony-java-toolkit/demos/demo-bot/pom.xml

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

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

Found in HEAD commit: 9a8de1c802c32be1b14345e1a3967c4eac78979b

Found in base branch: master

Vulnerability Details

In Spring Framework, versions 5.2.x prior to 5.2.15 and versions 5.3.x prior to 5.3.7, a WebFlux application is vulnerable to a privilege escalation: by (re)creating the temporary storage directory, a locally authenticated malicious user can read or modify files that have been uploaded to the WebFlux application, or overwrite arbitrary files with multipart request data.

Publish Date: 2021-05-27

URL: CVE-2021-22118

CVSS 3 Score Details (7.8)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: Low - Privileges Required: Low - 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://tanzu.vmware.com/security/cve-2021-22118

Release Date: 2021-05-27

Fix Resolution: org.springframework:spring-web:5.2.15,5.3.7

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

:heavy_check_mark: This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.