betterPeleg / WebGoat

WebGoat is a deliberately insecure application
https://webgoat.github.io/WebGoat/
Other
0 stars 0 forks source link

CVE-2021-22060 (Medium) detected in spring-web-5.3.4.jar, spring-core-5.3.4.jar #89

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 Libraries - spring-web-5.3.4.jar, spring-core-5.3.4.jar

spring-web-5.3.4.jar

Spring Web

Library home page: https://spring.io/projects/spring-framework

Path to dependency file: /webgoat-integration-tests/pom.xml

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

Dependency Hierarchy: - webwolf-8.2.1-SNAPSHOT.jar (Root Library) - spring-boot-starter-web-2.4.3.jar - :x: **spring-web-5.3.4.jar** (Vulnerable Library)

spring-core-5.3.4.jar

Spring Core

Library home page: https://spring.io/projects/spring-framework

Path to dependency file: /webgoat-server/pom.xml

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

Dependency Hierarchy: - spring-boot-devtools-2.4.3.jar (Root Library) - spring-boot-2.4.3.jar - :x: **spring-core-5.3.4.jar** (Vulnerable Library)

Found in HEAD commit: 3f40aaa55b2c1a3432a061c27496ea82f484838a

Found in base branch: develop

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-07

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://spring.io/security/cve-2021-22060

Release Date: 2022-01-07

Fix Resolution (org.springframework:spring-core): 5.3.14

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


:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.