ADVISORIES

GitHub Advisory Database

GHSA-8grg-q944-cch5

SQL Injection in Hibernate ORM

Moderate CVE-2019-14900

Details

A flaw was found in Hibernate ORM in versions before 5.3.18, 5.4.18 and 5.5.0.Beta1. A SQL injection in the implementation of the JPA Criteria API can permit unsanitized literals when a literal is used in the SELECT or GROUP BY parts of the query. This flaw could allow an attacker to access unauthorized information or possibly conduct further attacks.

Affected packages

EcosystemPackageAffected versions
Mavenorg.hibernate:hibernate-core
All versions before 5.3.18 (fixed in 5.3.18)
Mavenorg.hibernate:hibernate-core
From 5.4.0 before 5.4.18 (fixed in 5.4.18)
Mavenorg.hibernate:hibernate-core
From 5.5.0.Alpha1 before 5.5.0.Beta1 (fixed in 5.5.0.Beta1)

References