GitHub Advisoryadvisory · Maven

GHSA-j8jw-g6fq-mp7h SQL injection in hibernate-core

HIGH Published 2022-02-09 Modified 2024-06-27 Official page ↗
Aliases
CVE-2020-25638
Ecosystem
Maven
Packages
org.hibernate:hibernate-core
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Weaknesses
CWE-89
Reviewed
2021-04-09

Affected packages

• Maven org.hibernate:hibernate-core: >= 5.4.0.Final, < 5.4.24.Final → fixed in 5.4.24.Final • Maven org.hibernate:hibernate-core: < 5.3.20.Final → fixed in 5.3.20.Final

Description

A flaw was found in hibernate-core in versions prior to 5.3.20.Final and in 5.4.0.Final up to and including 5.4.23.Final. A SQL injection in the implementation of the JPA Criteria API can permit unsanitized literals when a literal is used in the SQL comments of the query. This flaw could allow an attacker to access unauthorized information or possibly conduct further attacks. The highest threat from this vulnerability is to data confidentiality and integrity.

Related

Alias · CVE (1)

  • CVE-2020-25638 A flaw was found in hibernate-core in versions prior to and including 5.4.23.Final. vulnerability

Weakness · CWE (1)

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness

References