GitHub Advisory Database
GHSA-9fw2-h3hf-293r
Spring Data Commons: Heap exhaustion from unbounded property-lookup cache retaining crafted string keys
Details
Spring Data's internal property-lookup cache accepts and permanently retains attacker-supplied strings as cache keys, allowing heap exhaustion through repeated requests.
Affected versions: Spring Data Commons 2.7.0 through 2.7.19; 3.3.0 through 3.3.16; 3.4.0 through 3.4.14; 3.5.0 through 3.5.11; 4.0.0 through 4.0.5.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.springframework.data:spring-data-commons | From 4.0.0 before 4.0.6 (fixed in 4.0.6) |
| Maven | org.springframework.data:spring-data-commons | From 3.5.0 before 3.5.12 (fixed in 3.5.12) |
| Maven | org.springframework.data:spring-data-commons | From 3.4.0 up to and including 3.4.14 |
| Maven | org.springframework.data:spring-data-commons | From 3.3.0 up to and including 3.3.16 |
| Maven | org.springframework.data:spring-data-commons | All versions up to and including 2.7.19 |