org.springframework.data:spring-data-rest-webmvc@3.4.4 vulnerabilities

Direct Vulnerabilities

Known vulnerabilities in the org.springframework.data:spring-data-rest-webmvc package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Information Exposure

org.springframework.data:spring-data-rest-webmvc is a maven plugin for Spring Data REST - WebMVC.

Affected versions of this package are vulnerable to Information Exposure by allowing an attacker to craft HTTP requests that expose hidden entity attributes, given that the attacker knows about the structure of the underlying domain model.

Note: Applications that have generally disabled HTTP PATCH support, either through the corresponding configuration of Spring Data REST, Spring Boot, or through their runtime infrastructure, are not affected.

How to fix Information Exposure?

Upgrade org.springframework.data:spring-data-rest-webmvc to version 3.6.7, 3.7.3 or higher.

[0,3.6.7) [3.7.0,3.7.3)
  • M
Information Exposure

org.springframework.data:spring-data-rest-webmvc is a maven plugin for Spring Data REST - WebMVC.

Affected versions of this package are vulnerable to Information Exposure. 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.

Note: This vulnerability is only exploitable in a project if the Spring Data REST base path configuration is set to a non-empty string AND the project registers a custom Spring MVC controller to customize HTTP resources in the URI space of Spring Data REST and that controller uses a type-level @RequestMapping annotation;the project only secures the paths exposed by Spring Data REST within the base path but does not apply security measures to URIs matching the mappings without the configured base path prepended.

How to fix Information Exposure?

Upgrade org.springframework.data:spring-data-rest-webmvc to version 3.5.6, 3.4.14 or higher.

[3.5.0,3.5.6) [,3.4.14)