Loading HuntDB...

GHSA-jgmr-wrwx-mgfj

GitHub Security Advisory

Exposure of Sensitive Information to an Unauthorized Actor and SQL Injection in Spring Data JPA

✓ GitHub Reviewed MODERATE Has CVE

Advisory Details

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.

Affected Packages

Maven org.springframework.data:spring-data-jpa
Affected versions: 0 (fixed in 1.11.20)
Maven org.springframework.data:spring-data-jpa
Affected versions: 2.0.0 (fixed in 2.0.14)
Maven org.springframework.data:spring-data-jpa
Affected versions: 2.1.0 (fixed in 2.1.6)

Related CVEs

Key Information

GHSA ID
GHSA-jgmr-wrwx-mgfj
Published
May 14, 2019 4:02 AM
Last Modified
August 3, 2021 9:46 PM
CVSS Score
5.0 /10
Primary Ecosystem
Maven
Primary Package
org.springframework.data:spring-data-jpa
GitHub Reviewed
✓ Yes

Dataset

Last updated: September 19, 2025 6:29 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.