snowdensb / jpo-ode

US Department of Transportation (USDOT) Intelligent Transportation Systems Operational Data Environment (ITS ODE). This is the main repository that integrates and coordinates ODE Submodules.
0 stars 0 forks source link

CVE-2021-22047 (Medium) detected in spring-data-rest-webmvc-3.5.1.jar - autoclosed #32

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

mend-for-github-com[bot] commented 2 years ago

CVE-2021-22047 - Medium Severity Vulnerability

Vulnerable Library - spring-data-rest-webmvc-3.5.1.jar

Spring Data REST - WebMVC

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

Path to dependency file: /jpo-ode-svcs/pom.xml

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

Dependency Hierarchy: - spring-boot-starter-data-rest-2.5.0.jar (Root Library) - :x: **spring-data-rest-webmvc-3.5.1.jar** (Vulnerable Library)

Found in base branch: dev

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

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: Low - 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-22047

Release Date: 2021-10-28

Fix Resolution (org.springframework.data:spring-data-rest-webmvc): 3.5.6

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-data-rest): 2.5.6


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

mend-for-github-com[bot] commented 4 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.