WaratekVRT Sign in

CVE-2019-14900 Hibernate ORM

Affected softwareHibernate ORM
Severity6.5 Medium CVSS 3.1 2 scores
Fixed in5.3.18, 5.4.18, 5.5.0.Beta1
WeaknessSQL injection (CWE-89)
Published6 Jul 2020
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. The 1 repository below are public GitHub repositories with fewer than 5 stars.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC 1 indexed, none at 5+ stars
  • EPSS 2.1% chance in 30 days

1 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC CVE-2019-14900 2021-01-06

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR sql-injection security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-89: SQL Injection.
Candidate fix https://bugzilla.redhat.com/show_bug.cgi?id=1666499 : a Red Hat bug: the triage, which links onward to the fix

How to mitigate CVE-2019-14900

Upgrade Hibernate ORM to a release that fixes it: 5.3.18, 5.4.18 or 5.5.0.Beta1. Until you can, Waratek RASP blocks exploitation with its SQL injection rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

6.5 MEDIUM v3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 6.5 MEDIUM CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N NVD Primary published
CVSS 2.0 4.0 none AV:N/AC:L/Au:S/C:P/I:N/A:N NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.hibernate:hibernate-core 0 5.3.18 unbounded
org.hibernate:hibernate-core 5.4.0 5.4.18 unbounded
org.hibernate:hibernate-core 5.5.0.Alpha1 5.5.0.Beta1 unbounded

Products and versions

11 products, 19 version entries
SourceVendorProductSchemeAffected versions
nvd hibernate hibernate orm generic < 5.3.18 · ≥ 5.4.0 and < 5.4.18
osv org.hibernate hibernate-core generic < 5.3.18 · ≥ 5.4.0 and < 5.4.18 · ≥ 5.5.0 and < 5.5.0
nvd quarkus quarkus generic ≤ 1.5.2
nvd redhat build of quarkus generic any version
nvd redhat decision manager generic 7.0
nvd redhat fuse generic < 7.8.0
nvd redhat jboss data grid generic 7.0.0
nvd redhat jboss enterprise application platform generic any version · 7.2 · 7.3 · 7.4
nvd redhat jboss middleware text-only advisories generic any version
nvd redhat openstack generic 10 · 13 · 14
nvd redhat single sign-on generic any version

References

URLTags
https://bugzilla.redhat.com/show_bug.cgi?id=1666499 bugzilla
https://github.com/hibernate/hibernate-orm/commit/3f3c1ab50604ab9ba99e25d2016fb85f3ba9dcd4 WEB
https://github.com/hibernate/hibernate-orm/commit/646b383f959eff18d58081b1a574f0d777d353da WEB
https://github.com/hibernate/hibernate-orm/commit/e0e22ea256c1906235d6a8e90b79c4ce33d0861f WEB
https://github.com/hibernate/hibernate-orm/commit/eebf01fbf3c2550ee70cdc9c1b02b52e330c8c36 WEB
https://github.com/hibernate/hibernate-orm PACKAGE
https://lists.apache.org/thread.html/r833c1276e41334fa675848a08daf0c61f39009f9f9a400d9f7006d44@%3Cdev.turbine.apache.org%3E WEB
https://security.netapp.com/advisory/ntap-20220210-0020 WEB
https://lists.apache.org/thread.html/r833c1276e41334fa675848a08daf0c61f39009f9f9a400d9f7006d44%40%3Cdev.turbine.apache.org%3E
https://security.netapp.com/advisory/ntap-20220210-0020/ Third Party Advisory

Timeline

Published2020-07-06By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.