GitHub Advisoryadvisory · Maven

GHSA-jgmr-wrwx-mgfj Exposure of Sensitive Information to an Unauthorized Actor and SQL Injection in Spring Data JPA

MEDIUM Published 2019-05-14 Modified 2021-08-03 Official page ↗
Aliases
CVE-2019-3797
Ecosystem
Maven
Packages
org.springframework.data:spring-data-jpa
Severity
Moderate
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-200, CWE-89
Reviewed
2019-05-10

Affected packages

• Maven org.springframework.data:spring-data-jpa: < 1.11.20 → fixed in 1.11.20 • Maven org.springframework.data:spring-data-jpa: >= 2.0.0, < 2.0.14 → fixed in 2.0.14 • Maven org.springframework.data:spring-data-jpa: >= 2.1.0, < 2.1.6 → fixed in 2.1.6

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.

Related

Alias · CVE (1)

  • CVE-2019-3797 This affects Spring Data JPA in versions up to and including 2.1.5, 2.0.13 and 1.11.19. vulnerability

Weakness · CWE (2)

  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness
  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness

References