daniel-brown-ws-test / verademo

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

CVE-2022-22970 (Medium) detected in spring-beans-5.2.7.RELEASE.jar, spring-core-5.2.7.RELEASE.jar #352

Open whitesource-app-bolt-danbrown[bot] opened 1 year ago

whitesource-app-bolt-danbrown[bot] commented 1 year ago

CVE-2022-22970 - Medium Severity Vulnerability

Vulnerable Libraries - spring-beans-5.2.7.RELEASE.jar, spring-core-5.2.7.RELEASE.jar

spring-beans-5.2.7.RELEASE.jar

Spring Beans

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-beans/5.2.7.RELEASE/spring-beans-5.2.7.RELEASE.jar

Dependency Hierarchy: - spring-boot-starter-web-2.3.1.RELEASE.jar (Root Library) - spring-web-5.2.7.RELEASE.jar - :x: **spring-beans-5.2.7.RELEASE.jar** (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 prior to 5.3.20+ , 5.2.22+ and old unsupported versions, applications that handle file uploads are vulnerable to DoS attack if they rely on data binding to set a MultipartFile or javax.servlet.Part to a field in a model object.

Publish Date: 2022-05-12

URL: CVE-2022-22970

CVSS 3 Score Details (5.3)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: Low - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://tanzu.vmware.com/security/cve-2022-22970

Release Date: 2022-05-12

Fix Resolution: org.springframework:spring-beans:5.2.22,5.3.20;org.springframework:spring-core:5.2.22,5.3.20