Spring HATEOAS Collection+JSON/UBER deserializers do not honor Jackson configuration
Spring HATEOAS
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.springframework.hateoas:spring-hateoas Maven |
|
|
Spring HATEOAS
| Product | Affected | Fixed in |
|---|---|---|
| org.springframework.hateoas:spring-hateoas Maven |
|
|
Spring HATEOAS's internal PropertyUtils.createObjectFromProperties method, used by the Collection+JSON and UBER media type deserializers, performs bean property binding via reflection without consulting Jackson access-control annotations.
Affected versions: Spring HATEOAS 1.5.0 through 1.5.6; 2.3.0 through 2.3.4; 2.4.0 through 2.4.1; 2.5.0 through 2.5.2; 3.0.0 through 3.0.3.
From the CVE record · vmware
Spring HATEOAS’s Collection+JSON and UBER deserializers bind bean properties without checking Jackson access-control annotations. If an application deserializes attacker-controlled input in either format, an attacker can set properties those annotations would otherwise restrict. The input does not specify whether authentication or user interaction is required.
Check applications using Spring HATEOAS 1.5.0–1.5.6, 2.3.0–2.3.4, 2.4.0–2.4.1, 2.5.0–2.5.2, or 3.0.0–3.0.3.