title: Additional information exposure with Spring Data JPA derived queries
description: This affects Spring Data JPA in versions up to and including 2.1.5, 2.0.13 and 1.11.19. Derived queries using any of the predicates ‘startingWith’, ‘endingWith’ or ‘containing’ could return more results than anticipated when a maliciously crafted query parameter value is supplied. Also, LIKE expressions in manually defined queries could return unexpected results if the parameter values bound did not have escaped reserved characters properly.
problem types: CWE-89: SQL Injection
affected:
{
product: Spring Boot
vendor: Spring
versions:
lessThan: v2.0.9.RELEASE, status: affected, version: 2.0, versionType: custom
lessThan: v1.5.20.RELEASE, status: affected, version: 1.5, versionType: custom
lessThan: v2.1.4.RELEASE, status: affected, version: 2.1, versionType: custom
}
metrics:
cvssV3_0: [
attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: NONE
baseScore: 3.5
baseSeverity: LOW
confidentialityImpact: LOW
integrityImpact: NONE
privilegesRequired: LOW
scope: UNCHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N
version: 3.0
]