Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.hibernate/hibernate-core
  4. ›
  5. CVE-2019-14900

CVE-2019-14900: SQL Injection in Hibernate ORM

February 10, 2022 (updated June 27, 2024)

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.

References

  • bugzilla.redhat.com/show_bug.cgi?id=1666499
  • github.com/advisories/GHSA-8grg-q944-cch5
  • github.com/hibernate/hibernate-orm
  • github.com/hibernate/hibernate-orm/commit/3f3c1ab50604ab9ba99e25d2016fb85f3ba9dcd4
  • github.com/hibernate/hibernate-orm/commit/646b383f959eff18d58081b1a574f0d777d353da
  • github.com/hibernate/hibernate-orm/commit/e0e22ea256c1906235d6a8e90b79c4ce33d0861f
  • github.com/hibernate/hibernate-orm/commit/eebf01fbf3c2550ee70cdc9c1b02b52e330c8c36
  • lists.apache.org/thread.html/r833c1276e41334fa675848a08daf0c61f39009f9f9a400d9f7006d44@%3Cdev.turbine.apache.org%3E
  • nvd.nist.gov/vuln/detail/CVE-2019-14900
  • security.netapp.com/advisory/ntap-20220210-0020

Code Behaviors & Features

Detect and mitigate CVE-2019-14900 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 5.5.0.Alpha1 before 5.5.0.Beta1, all versions before 5.3.18, all versions starting from 5.4.0 before 5.4.18

Fixed versions

  • 5.3.18
  • 5.4.18
  • 5.5.0.Beta1

Solution

Upgrade to versions 5.3.18, 5.4.18, 5.5.0.Beta1 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

maven/org.hibernate/hibernate-core/CVE-2019-14900.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:30 +0000.