ADVISORIES

GitHub Advisory Database

GHSA-7fxc-486f-32q9

Spring HATEOAS Collection+JSON/UBER deserializers do not honor Jackson configuration

Details

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.springframework.hateoas:spring-hateoas
From 3.0.0 before 3.0.4 (fixed in 3.0.4)
Mavenorg.springframework.hateoas:spring-hateoas
From 2.5.0 before 2.5.3 (fixed in 2.5.3)
Mavenorg.springframework.hateoas:spring-hateoas
From 2.3.0 up to and including 2.3.4
Mavenorg.springframework.hateoas:spring-hateoas
All versions up to and including 1.5.6
Mavenorg.springframework.hateoas:spring-hateoas
From 2.4.0 up to and including 2.4.1

References