SQL injection in hibernate-core
High severity
GitHub Reviewed
Published
Feb 9, 2022
to the GitHub Advisory Database
•
Updated Jun 27, 2024
Package
Affected versions
>= 5.4.0.Final, < 5.4.24.Final
< 5.3.20.Final
Patched versions
5.4.24.Final
5.3.20.Final
Description
Published by the National Vulnerability Database
Dec 2, 2020
Reviewed
Apr 9, 2021
Published to the GitHub Advisory Database
Feb 9, 2022
Last updated
Jun 27, 2024
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.
References