rpuigm / ecommercewebtemplate

E-Commerce Web Template
Apache License 2.0
0 stars 0 forks source link

spring-cloud-starter-openfeign-3.0.4.jar: 2 vulnerabilities (highest severity is: 7.5) - autoclosed #72

Closed mend-bolt-for-github[bot] closed 1 year ago

mend-bolt-for-github[bot] commented 1 year ago
Vulnerable Library - spring-cloud-starter-openfeign-3.0.4.jar

Path to dependency file: /ectemplate-service-oauth/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/cloud/spring-cloud-openfeign-core/3.0.4/spring-cloud-openfeign-core-3.0.4.jar

Found in HEAD commit: 7746b460bb9dead8c0e3e96243b929b4ce1023ce

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (spring-cloud-starter-openfeign version) Remediation Available
CVE-2021-22044 High 7.5 spring-cloud-openfeign-core-3.0.4.jar Transitive 3.0.5
CVE-2021-29425 Medium 4.8 commons-io-2.2.jar Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the section "Details" below to see if there is a version of transitive dependency where vulnerability is fixed.

Details

CVE-2021-22044 ### Vulnerable Library - spring-cloud-openfeign-core-3.0.4.jar

Spring Cloud OpenFeign Core

Library home page: https://spring.io/spring-cloud/spring-cloud-openfeign/spring-cloud-openfeign-core

Path to dependency file: /ectemplate-service-oauth/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/cloud/spring-cloud-openfeign-core/3.0.4/spring-cloud-openfeign-core-3.0.4.jar

Dependency Hierarchy: - spring-cloud-starter-openfeign-3.0.4.jar (Root Library) - :x: **spring-cloud-openfeign-core-3.0.4.jar** (Vulnerable Library)

Found in HEAD commit: 7746b460bb9dead8c0e3e96243b929b4ce1023ce

Found in base branch: main

### Vulnerability Details

In Spring Cloud OpenFeign 3.0.0 to 3.0.4, 2.2.0.RELEASE to 2.2.9.RELEASE, and older unsupported versions, applications using type-level `@RequestMapping`annotations over Feign client interfaces, can be involuntarily exposing endpoints corresponding to `@RequestMapping`-annotated interface methods.

Publish Date: 2021-10-28

URL: CVE-2021-22044

### CVSS 3 Score Details (7.5)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

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

Release Date: 2021-10-28

Fix Resolution (org.springframework.cloud:spring-cloud-openfeign-core): 3.0.5

Direct dependency fix Resolution (org.springframework.cloud:spring-cloud-starter-openfeign): 3.0.5

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2021-29425 ### Vulnerable Library - commons-io-2.2.jar

The Commons IO library contains utility classes, stream implementations, file filters, file comparators, endian transformation classes, and much more.

Library home page: http://commons.apache.org/io/

Path to dependency file: /ectemplate-service-oauth/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/commons-io/commons-io/2.2/commons-io-2.2.jar

Dependency Hierarchy: - spring-cloud-starter-openfeign-3.0.4.jar (Root Library) - spring-cloud-openfeign-core-3.0.4.jar - feign-form-spring-3.8.0.jar - commons-fileupload-1.4.jar - :x: **commons-io-2.2.jar** (Vulnerable Library)

Found in HEAD commit: 7746b460bb9dead8c0e3e96243b929b4ce1023ce

Found in base branch: main

### Vulnerability Details

In Apache Commons IO before 2.7, When invoking the method FileNameUtils.normalize with an improper input string, like "//../foo", or "\\..\foo", the result would be the same value, thus possibly providing access to files in the parent directory, but not further above (thus "limited" path traversal), if the calling code would use the result to construct a path value.

Publish Date: 2021-04-13

URL: CVE-2021-29425

### CVSS 3 Score Details (4.8)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

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

Release Date: 2021-04-13

Fix Resolution: commons-io:commons-io:2.7

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
mend-bolt-for-github[bot] commented 1 year 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.