Spring HATEOAS heap exhaustion through unbounded internal caching
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 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.
From the CVE record · vmware
Affected Spring HATEOAS versions keep an unbounded static cache of StringLinkRelation instances keyed by attacker-supplied strings. An attacker who can supply those strings can cause the cache to grow without a stated limit. The input does not specify whether network access, authentication, or user interaction is required.
Engineers running 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 should check their dependencies.