MODERATE 6.5

CVE-2019-14900

SQL Injection in Hibernate ORM

Description

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 Maven artifacts (1)

ArtifactAffected versionsFixed in
org.hibernate » hibernate-core
< 5.3.18>= 5.4.0, < 5.4.18>= 5.5.0.Alpha1, < 5.5.0.Beta1
5.3.18, 5.4.18, 5.5.0.Beta1

Blast radius

1affected artifacts
361affected versions
17,948dependent artifacts (est.)
914,991dependent versions

62% of the dependent artifacts (11,306) still pull an affected version in their latest release.

DepthDependent versions
Direct
110,005
2 hops
425,037
3 hops
227,510
4 hops
96,610
5 hops
37,340
6 hops
18,489

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.