Tim-sandbox / petclinic-rest

Apache License 2.0
0 stars 0 forks source link

CVE-2021-22060 (Medium) detected in spring-web-5.3.3.jar #22

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

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

CVE-2021-22060 - Medium 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.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-web): 5.3.14

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


:rescue_worker_helmet: Automatic Remediation is available for this issue