samqdemocorp-mend / box_mojito

https://github.com/box/mojito.git
Apache License 2.0
0 stars 0 forks source link

spring-data-rest-webmvc-2.4.4.RELEASE.jar: 2 vulnerabilities (highest severity is: 9.3) reachable #31

Open mend-for-github-com[bot] opened 8 months ago

mend-for-github-com[bot] commented 8 months ago
Vulnerable Library - spring-data-rest-webmvc-2.4.4.RELEASE.jar

Spring Data REST - WebMVC

Library home page: http://www.spring.io/spring-data

Path to dependency file: /webapp/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/data/spring-data-rest-webmvc/2.4.4.RELEASE/spring-data-rest-webmvc-2.4.4.RELEASE.jar

Found in HEAD commit: d4cbd8181219f9a6ad9908c6f748847b1efae670

Vulnerabilities

CVE Severity CVSS Exploit Maturity EPSS Dependency Type Fixed in (spring-data-rest-webmvc version) Remediation Possible** Reachability
CVE-2021-22047 Medium 6.9 Not Defined 0.1% spring-data-rest-webmvc-2.4.4.RELEASE.jar Direct 3.4.14

Reachable

CVE-2017-8046 Critical 9.3 High 49.3% spring-data-rest-webmvc-2.4.4.RELEASE.jar Direct 2.6.7.RELEASE

Unreachable

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

Details

CVE-2021-22047 ### Vulnerable Library - spring-data-rest-webmvc-2.4.4.RELEASE.jar

Spring Data REST - WebMVC

Library home page: http://www.spring.io/spring-data

Path to dependency file: /webapp/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/data/spring-data-rest-webmvc/2.4.4.RELEASE/spring-data-rest-webmvc-2.4.4.RELEASE.jar

Dependency Hierarchy: - :x: **spring-data-rest-webmvc-2.4.4.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: d4cbd8181219f9a6ad9908c6f748847b1efae670

Found in base branch: main

### Reachability Analysis This vulnerability is potentially reachable ``` com.box.l10n.mojito.rest.images.ImageWS (Application) -> ❌ org.springframework.data.rest.webmvc.BasePathAwareHandlerMapping (Vulnerable Component) ```

### Vulnerability Details

In Spring Data REST versions 3.4.0 - 3.4.13, 3.5.0 - 3.5.5, and older unsupported versions, HTTP resources implemented by custom controllers using a configured base API path and a controller type-level request mapping are additionally exposed under URIs that can potentially be exposed for unauthorized access depending on the Spring Security configuration.

Publish Date: 2021-10-28

URL: CVE-2021-22047

### Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

### CVSS 4 Score Details (6.9)

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

For more information on CVSS4 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://tanzu.vmware.com/security/cve-2021-22047

Release Date: 2021-10-28

Fix Resolution: 3.4.14

In order to enable automatic remediation, please create workflow rules

CVE-2017-8046 ### Vulnerable Library - spring-data-rest-webmvc-2.4.4.RELEASE.jar

Spring Data REST - WebMVC

Library home page: http://www.spring.io/spring-data

Path to dependency file: /webapp/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/data/spring-data-rest-webmvc/2.4.4.RELEASE/spring-data-rest-webmvc-2.4.4.RELEASE.jar

Dependency Hierarchy: - :x: **spring-data-rest-webmvc-2.4.4.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: d4cbd8181219f9a6ad9908c6f748847b1efae670

Found in base branch: main

### Reachability Analysis

The vulnerable code is unreachable

### Vulnerability Details

Malicious PATCH requests submitted to servers using Spring Data REST versions prior to 2.6.9 (Ingalls SR9), versions prior to 3.0.1 (Kay SR1) and Spring Boot versions prior to 1.5.9, 2.0 M6 can use specially crafted JSON data to run arbitrary Java code.

Publish Date: 2018-01-04

URL: CVE-2017-8046

### Threat Assessment

Exploit Maturity: High

EPSS: 49.3%

### CVSS 4 Score Details (9.3)

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

For more information on CVSS4 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-8046

Release Date: 2018-01-04

Fix Resolution: 2.6.7.RELEASE

In order to enable automatic remediation, please create workflow rules


In order to enable automatic remediation for this issue, please create workflow rules