Path to dependency file: /api/pacman-api-admin/pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/data/spring-data-rest-webmvc/3.0.9.RELEASE/spring-data-rest-webmvc-3.0.9.RELEASE.jar
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.
: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.
CVE-2021-22047 - Medium Severity Vulnerability
Vulnerable Library - spring-data-rest-webmvc-3.0.9.RELEASE.jar
Spring Data REST - WebMVC
Library home page: http://www.spring.io
Path to dependency file: /api/pacman-api-admin/pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/data/spring-data-rest-webmvc/3.0.9.RELEASE/spring-data-rest-webmvc-3.0.9.RELEASE.jar
Dependency Hierarchy: - spring-boot-starter-data-rest-2.0.4.RELEASE.jar (Root Library) - :x: **spring-data-rest-webmvc-3.0.9.RELEASE.jar** (Vulnerable Library)
Found in HEAD commit: acf9a0620c1a37cee4f2896d71e1c3731c5c7b06
Found in base branch: master
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.4.14
Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-data-rest): 2.4.12