Tim-sandbox / petclinic-rest

Apache License 2.0
0 stars 0 forks source link

CVE-2021-22118 (High) detected in spring-web-5.3.3.jar #4

Open mend-for-github-com[bot] opened 3 years ago

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

CVE-2021-22118 - High Severity Vulnerability

Vulnerable Library - spring-web-5.3.3.jar

Spring Web

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

Path to dependency file: /pom.xml

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

Dependency Hierarchy: - spring-boot-starter-web-2.4.2.jar (Root Library) - :x: **spring-web-5.3.3.jar** (Vulnerable Library)

Found in HEAD commit: 338ae0024bb25a8bbd720eae5b5fbae3875c4bf3

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.3.7

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-web): 2.4.6


:rescue_worker_helmet: Automatic Remediation is available for this issue