ADVISORIES

GitHub Advisory Database

GHSA-439x-6767-44cv

Spring HATEOAS heap exhaustion through unbounded internal caching

Details

Spring HATEOAS maintains an unbounded static cache of StringLinkRelation instances keyed on attacker-supplied strings.

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