amaybaum-dev / verademo

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

spring-context-5.2.7.RELEASE.jar: 1 vulnerabilities (highest severity is: 5.3) reachable - autoclosed #31

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

dev-mend-for-github-com[bot] commented 1 year ago
Vulnerable Library - spring-context-5.2.7.RELEASE.jar

Spring Context

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

Path to dependency file: /app/pom.xml

Path to vulnerable library: /WEB-INF/lib/spring-context-5.2.7.RELEASE.jar,/home/wss-scanner/.m2/repository/org/springframework/spring-context/5.2.7.RELEASE/spring-context-5.2.7.RELEASE.jar

Vulnerabilities

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

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

Details

CVE-2022-22968 ### Vulnerable Library - spring-context-5.2.7.RELEASE.jar

Spring Context

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

Path to dependency file: /app/pom.xml

Path to vulnerable library: /WEB-INF/lib/spring-context-5.2.7.RELEASE.jar,/home/wss-scanner/.m2/repository/org/springframework/spring-context/5.2.7.RELEASE/spring-context-5.2.7.RELEASE.jar

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

Found in base branch: main

### Reachability Analysis

This vulnerability is potentially used ``` com.veracode.verademo.controller.ResetController (Application) -> org.springframework.web.servlet.mvc.support.RedirectAttributesModelMap (Extension) -> ❌ org.springframework.validation.DataBinder (Vulnerable Component) ```

### Vulnerability Details

In Spring Framework versions 5.3.0 - 5.3.18, 5.2.0 - 5.2.20, and older unsupported versions, the patterns for disallowedFields on a DataBinder are case sensitive which means a field is not effectively protected unless it is listed with both upper and lower case for the first character of the field, including upper and lower case for the first character of all nested fields within the property path.

Publish Date: 2022-04-14

URL: CVE-2022-22968

### CVSS 3 Score Details (5.3)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - 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-2022-22968

Release Date: 2022-04-14

Fix Resolution: 5.2.21.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.