HIGH 7.4

CVE-2020-25638

SQL injection in hibernate-core

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

ArtifactAffected versionsFixed in
org.hibernate » hibernate-core
< 5.3.20.Final>= 5.4.0.Final, < 5.4.24.Final
5.3.20.Final, 5.4.24.Final

Blast radius

1affected artifacts
375affected versions
18,643dependent artifacts (est.)
944,847dependent versions

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

DepthDependent versions
Direct
114,442
2 hops
440,355
3 hops
234,536
4 hops
99,230
5 hops
37,700
6 hops
18,584

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.