Spring Data web support unbounded negative-result cache keyed on attacker-supplied property names
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.
Description: CWE-770: Allocation of Resources Without Limits or Throttling
Metrics
Version
Base score
Base severity
Vector
3.1
7.5
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Version:3.1
Base score:7.5
Base severity: HIGH
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Metrics Other Info
Impacts
CAPEC ID
Description
N/A
An attacker who can forward HTTP-supplied strings to PropertyPath.from can permanently grow the internal property-lookup cache without bound, exhausting heap memory and causing denial of service.
CAPEC ID: N/A
Description: An attacker who can forward HTTP-supplied strings to PropertyPath.from can permanently grow the internal property-lookup cache without bound, exhausting heap memory and causing denial of service.