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.
Remediation
References
https://pivotal.io/security/cve-2019-3797
Related Vulnerabilities
CVE-2019-1003072 Vulnerability in maven package org.jenkins-ci.plugins:wildfly-deployer
CVE-2019-10344 Vulnerability in maven package io.jenkins:configuration-as-code
CVE-2023-24815 Vulnerability in maven package io.vertx:vertx-web
CVE-2020-26217 Vulnerability in maven package org.jvnet.hudson:xstream
CVE-2022-22965 Vulnerability in maven package org.springframework.boot:spring-boot-starter-web