GHSA-j8jw-g6fq-mp7h

SQL injection in hibernate-core

At a glance

Published
Updated
CVE
CVE-2020-25638
CVSS_V3
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

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.

Affected packages

PackageVersions
Maven · org.hibernate:hibernate-coreintroduced 5.4.0.Final, fixed 5.4.24.Final
Maven · org.hibernate:hibernate-coreintroduced 0, fixed 5.3.20.Final

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database