daniel-brown-ws-test / verademo

A deliberately insecure Java web application
MIT License
0 stars 0 forks source link

CVE-2021-22060 (Medium) detected in spring-core-5.2.7.RELEASE.jar #229

Open whitesource-app-bolt-danbrown[bot] opened 2 years ago

whitesource-app-bolt-danbrown[bot] commented 2 years ago

CVE-2021-22060 - Medium Severity Vulnerability

Vulnerable Library - spring-core-5.2.7.RELEASE.jar

Spring Core

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

Path to dependency file: /app/pom.xml

Path to vulnerable library: /C:/Users/DanielBrown/.m2/repository/org/springframework/spring-core/5.2.7.RELEASE/spring-core-5.2.7.RELEASE.jar

Dependency Hierarchy: - spring-boot-starter-web-2.3.1.RELEASE.jar (Root Library) - spring-boot-starter-2.3.1.RELEASE.jar - :x: **spring-core-5.2.7.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: 3f927c4704a4b5f8c1f0a78b5569f9a0931229d6

Found in base branch: main

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