CVE-2019-3797: Additional information exposure with Spring Data JPA derived queries
Vulnerability summary
CVE-2019-3797 is a medium (CVSS 5.3) vulnerability in pivotal_software spring_data_java_persistence_api. EPSS estimates a 1.09% chance of exploitation in the next 30 days, higher than 66.4% of scored vulnerabilities.
Not severe (CVSS 3.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 06-05-2019PublishedVulnerability first disclosed.
- 16-09-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- CVE.orgCNA3.5LowCVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:NDiffers
- OSV · MavenEcosystem advisory · calculated5.3MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS trend
Probability
1.09%
Chance of exploitation in the next 30 days
Percentile
66%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.09% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-89Improper Neutralization of Special Elements used in an SQL CommandThe product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
- CWE-200Exposure of Sensitive Information to an Unauthorized ActorThe product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
Affected systems
Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Org.springframework.data1 product
- spring-data-jpa< 1.11.20 | ≥ 2.0.0, < 2.0.14 | ≥ 2.1.0, < 2.1.6
Pivotal_software1 product
- spring_data_java_persistence_api≥ 1.11.0, ≤ 1.11.19 | ≥ 2.0.0, ≤ 2.0.13 | ≥ 2.1.0, ≤ 2.1.5
Spring1 product
- spring boot≥ 2.0, < v2.0.9.RELEASE | ≥ 1.5, < v1.5.20.RELEASE | ≥ 2.1, < v2.1.4.RELEASE
3 vendors · 3 products