amaybaum-dev / verademo

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

spring-core-5.2.7.RELEASE.jar: 3 vulnerabilities (highest severity is: 5.3) reachable - autoclosed #22

Closed dev-mend-for-github-com[bot] closed 10 months ago

dev-mend-for-github-com[bot] commented 1 year ago
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: /home/wss-scanner/.m2/repository/org/springframework/spring-core/5.2.7.RELEASE/spring-core-5.2.7.RELEASE.jar,/WEB-INF/lib/spring-core-5.2.7.RELEASE.jar

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (spring-core version) Remediation Possible** Reachability
CVE-2022-22970 Medium 5.3 spring-core-5.2.7.RELEASE.jar Direct 5.2.22.RELEASE

CVE-2021-22060 Medium 4.3 spring-core-5.2.7.RELEASE.jar Direct 5.2.19.RELEASE
CVE-2021-22096 Medium 4.3 spring-core-5.2.7.RELEASE.jar Direct 5.2.18.RELEASE

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2022-22970 ### 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: /home/wss-scanner/.m2/repository/org/springframework/spring-core/5.2.7.RELEASE/spring-core-5.2.7.RELEASE.jar,/WEB-INF/lib/spring-core-5.2.7.RELEASE.jar

Dependency Hierarchy: - :x: **spring-core-5.2.7.RELEASE.jar** (Vulnerable Library)

Found in base branch: main

### Reachability Analysis

This vulnerability is potentially used ``` com.veracode.verademo.Application (Application) -> org.springframework.boot.SpringApplication (Extension) -> org.springframework.boot.BeanDefinitionLoader (Extension) -> org.springframework.context.annotation.ClassPathBeanDefinitionScanner (Extension) -> org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider (Extension) -> ❌ org.springframework.core.annotation.AnnotationUtils (Vulnerable Component) ```

### 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: 5.2.22.RELEASE

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2021-22060 ### 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: /home/wss-scanner/.m2/repository/org/springframework/spring-core/5.2.7.RELEASE/spring-core-5.2.7.RELEASE.jar,/WEB-INF/lib/spring-core-5.2.7.RELEASE.jar

Dependency Hierarchy: - :x: **spring-core-5.2.7.RELEASE.jar** (Vulnerable Library)

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

Release Date: 2022-01-10

Fix Resolution: 5.2.19.RELEASE

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2021-22096 ### 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: /home/wss-scanner/.m2/repository/org/springframework/spring-core/5.2.7.RELEASE/spring-core-5.2.7.RELEASE.jar,/WEB-INF/lib/spring-core-5.2.7.RELEASE.jar

Dependency Hierarchy: - :x: **spring-core-5.2.7.RELEASE.jar** (Vulnerable Library)

Found in base branch: main

### Reachability Analysis

This vulnerability is potentially used ``` com.veracode.verademo.utils.Utils (Application) -> org.springframework.http.HttpHeaders (Extension) -> org.springframework.http.MediaType (Extension) -> ❌ org.springframework.util.MimeType (Vulnerable Component) ```

### Vulnerability Details

In Spring Framework versions 5.3.0 - 5.3.10, 5.2.0 - 5.2.17, and older unsupported versions, it is possible for a user to provide malicious input to cause the insertion of additional log entries.

Publish Date: 2021-10-28

URL: CVE-2021-22096

### 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://tanzu.vmware.com/security/cve-2021-22096

Release Date: 2021-10-28

Fix Resolution: 5.2.18.RELEASE

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

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

dev-mend-for-github-com[bot] commented 10 months ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.