SQL injection in Hibernate
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 13 fixed, 8 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-89.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | Hibernate | Versions before Hibernate ORM 5.3.18; Versions before Hibernate ORM 5.4.18; Versions before Hibernate ORM 5.5.0.Beta1 | — | No fix listed | CNA |
| — | org.hibernate:hibernate-core (Maven) | before 5.3.18 | 5.3.18 | Patch available | GHSA-8grg-q944-cch5 |
| — | org.hibernate:hibernate-core (Maven) | 5.4.0 to before 5.4.18 | 5.4.18 | Patch available | GHSA-8grg-q944-cch5 |
| — | org.hibernate:hibernate-core (Maven) | 5.5.0.Alpha1 to before 5.5.0.Beta1 | 5.5.0.Beta1 | Patch available | GHSA-8grg-q944-cch5 |
- Hibernate Vendor— Affected Versions before Hibernate ORM 5.3.18; Versions before Hibernate ORM 5.4.18; Versions before Hibernate ORM 5.5.0.Beta1 Fixed in — No fix listed CNA
- org.hibernate:hibernate-core (Maven) Vendor— Affected before 5.3.18 Fixed in 5.3.18 Patch available GHSA-8grg-q944-cch5
- org.hibernate:hibernate-core (Maven) Vendor— Affected 5.4.0 to before 5.4.18 Fixed in 5.4.18 Patch available GHSA-8grg-q944-cch5
- org.hibernate:hibernate-core (Maven) Vendor— Affected 5.5.0.Alpha1 to before 5.5.0.Beta1 Fixed in 5.5.0.Beta1 Patch available GHSA-8grg-q944-cch5
CPE configurations NVD · 18
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:hibernate:hibernate_orm:*:*:*:*:*:*:*:* | before 5.3.18; 5.4.0 to before 5.4.18 | Vulnerable | Hibernate |
| cpe:2.3:a:redhat:build_of_quarkus:-:*:*:*:text-only:*:*:* | not specified by NVD | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:decision_manager:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:fuse:*:*:*:*:*:*:*:* | before 7.8.0 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:jboss_data_grid:7.0.0:*:*:*:*:*:*:* | 7.0.0 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:jboss_enterprise_application_platform:-:*:*:*:text-only:*:*:* | not specified by NVD | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:jboss_middleware_text-only_advisories:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:openstack:10:*:*:*:*:*:*:* | 10 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:openstack:13:*:*:*:*:*:*:* | 13 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:openstack:14:*:*:*:*:*:*:* | 14 | Vulnerable | Red Hat |
- cpe:2.3:a:hibernate:hibernate_orm:*:*:*:*:*:*:*:* Versions before 5.3.18; 5.4.0 to before 5.4.18 Vulnerable ·Hibernate
- cpe:2.3:a:redhat:build_of_quarkus:-:*:*:*:text-only:*:*:* Versions not specified by NVD Vulnerable ·Red Hat
- cpe:2.3:a:redhat:decision_manager:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:fuse:*:*:*:*:*:*:*:* Versions before 7.8.0 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:jboss_data_grid:7.0.0:*:*:*:*:*:*:* Versions 7.0.0 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:jboss_enterprise_application_platform:-:*:*:*:text-only:*:*:* Versions not specified by NVD Vulnerable ·Red Hat
- cpe:2.3:a:redhat:jboss_middleware_text-only_advisories:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·Red Hat
- cpe:2.3:a:redhat:openstack:10:*:*:*:*:*:*:* Versions 10 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:openstack:13:*:*:*:*:*:*:* Versions 13 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:openstack:14:*:*:*:*:*:*:* Versions 14 Vulnerable ·Red Hat
Show 8 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:redhat:single_sign-on:-:*:*:*:text-only:*:*:* | not specified by NVD | Vulnerable | Red Hat |
| cpe:2.3:a:quarkus:quarkus:*:*:*:*:*:*:*:* | up to 1.5.2 | Vulnerable | quarkusio |
| cpe:2.3:a:redhat:jboss_enterprise_application_platform:7.3:*:*:*:*:*:*:* | 7.3 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:jboss_enterprise_application_platform:7.4:*:*:*:*:*:*:* | 7.4 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* | 8.0 | Running on | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* | 7.0 | Running on | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* | 6.0 | Running on | Red Hat |
| cpe:2.3:a:redhat:jboss_enterprise_application_platform:7.2:*:*:*:*:*:*:* | 7.2 | Vulnerable | Red Hat |
- cpe:2.3:a:redhat:single_sign-on:-:*:*:*:text-only:*:*:* Versions not specified by NVD Vulnerable ·Red Hat
- cpe:2.3:a:quarkus:quarkus:*:*:*:*:*:*:*:* Versions up to 1.5.2 Vulnerable ·quarkusio
- cpe:2.3:a:redhat:jboss_enterprise_application_platform:7.3:*:*:*:*:*:*:* Versions 7.3 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:jboss_enterprise_application_platform:7.4:*:*:*:*:*:*:* Versions 7.4 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Running on ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Running on ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* Versions 6.0 Running on ·Red Hat
- cpe:2.3:a:redhat:jboss_enterprise_application_platform:7.2:*:*:*:*:*:*:* Versions 7.2 Vulnerable ·Red Hat
Remediation
- Fix · GHSA-8grg-q944-cch5 org.hibernate:hibernate-core (Maven) Fixed in 5.3.18 Advisory →
- Fix · GHSA-8grg-q944-cch5 org.hibernate:hibernate-core (Maven) Fixed in 5.4.18 Advisory →
- Fix · GHSA-8grg-q944-cch5 org.hibernate:hibernate-core (Maven) Fixed in 5.5.0.Beta1 Advisory →
Red Hat 14 advisories
- RHSA-2020:5568 Released 2020-12-16 · Red Hat rating ImportantRed Hat Fuse 7.8.0 release and security update
- Red Hat Fuse 7.8.0
- RHSA-2020:4961 Released 2020-11-05 · Red Hat rating ModerateRed Hat Process Automation Manager 7.9.0 security update
- RHPAM 7.9.0
- RHSA-2020:4960 Released 2020-11-05 · Red Hat rating ModerateRed Hat Decision Manager 7.9.0 security update
- RHDM 7.9.0
Show 11 more Red Hat advisories
- RHSA-2020:4252 Released 2020-10-14 · Red Hat rating ImportantRed Hat build of Quarkus 1.7.5 release and security update
- Red Hat build of Quarkus 1.7.5
- RHSA-2020:3642 Released 2020-09-07 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 7.2.9 security update
- Red Hat JBoss Enterprise Application Platform 7
- RHSA-2020:3638 Released 2020-09-07 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 7.2.9 on RHEL 7 security update
- Red Hat JBoss EAP 7.2 for RHEL 7 Server eap7-dom4j-2.1.3-1.redhat_00001.1.el7eap, eap7-elytron-web-1.2.5-1.Final_redhat_00001.1.el7eap, eap7-glassfish-jsf-2.3.5-13.SP3_redhat_00011.1.el7eap +47
- RHSA-2020:3639 Released 2020-09-07 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 7.2.9 on RHEL 8 security update
- Red Hat JBoss EAP 7.2 for RHEL 8 eap7-dom4j-2.1.3-1.redhat_00001.1.el8eap, eap7-elytron-web-1.2.5-1.Final_redhat_00001.1.el8eap, eap7-glassfish-jsf-2.3.5-13.SP3_redhat_00011.1.el8eap +47
- RHSA-2020:3637 Released 2020-09-07 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 7.2.9 on RHEL 6 security update
- Red Hat JBoss EAP 7.2 for RHEL 6 Server eap7-dom4j-2.1.3-1.redhat_00001.1.el6eap, eap7-elytron-web-1.2.5-1.Final_redhat_00001.1.el6eap, eap7-glassfish-jsf-2.3.5-13.SP3_redhat_00011.1.el6eap +47
- RHSA-2020:3585 Released 2020-08-31 · Red Hat rating ImportantEAP Continuous Delivery Technical Preview Release 20 security update
- EAP-CD 20 Tech Preview
- RHSA-2020:3463 Released 2020-08-17 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 7.3.2 security update
- Red Hat JBoss EAP 7.3 for BaseOS-8 eap7-dom4j-2.1.3-1.redhat_00001.1.el8eap, eap7-elytron-web-1.6.2-1.Final_redhat_00001.1.el8eap, eap7-glassfish-jsf-2.3.9-11.SP11_redhat_00001.1.el8eap +47
- RHSA-2020:3462 Released 2020-08-17 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 7.3.2 security update
- Red Hat JBoss EAP 7.3 for RHEL 7 Server eap7-dom4j-2.1.3-1.redhat_00001.1.el7eap, eap7-elytron-web-1.6.2-1.Final_redhat_00001.1.el7eap, eap7-glassfish-jsf-2.3.9-11.SP11_redhat_00001.1.el7eap +47
- RHSA-2020:3461 Released 2020-08-17 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 7.3.2 security update
- Red Hat JBoss EAP 7.3 for RHEL 6 Server eap7-dom4j-2.1.3-1.redhat_00001.1.el6eap, eap7-elytron-web-1.6.2-1.Final_redhat_00001.1.el6eap, eap7-glassfish-jsf-2.3.9-11.SP11_redhat_00001.1.el6eap +47
- RHSA-2020:3464 Released 2020-08-17 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 7.3.2 security update
- Red Hat JBoss Enterprise Application Platform 7
- RHSA-2020:2112 Released 2020-05-12 · Red Hat rating ImportantRed Hat Single Sign-On 7.3.8 security update
- Red Hat Single Sign On 7.3.8
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat BPM Suite 6 | Affected | No fix planned: Out of support scope |
| Red Hat Decision Manager 7 | Affected | No fix planned: Will not fix |
| Red Hat JBoss Data Grid 7 | Affected | No fix yet |
| Red Hat JBoss Data Virtualization 6 | Affected | No fix planned: Out of support scope |
| Red Hat OpenStack Platform 10 (Newton) | Affected | No fix yet |
| Red Hat OpenStack Platform 13 (Queens) | Affected | No fix yet |
| Red Hat OpenStack Platform 14 (Rocky) | Affected | No fix yet |
| Red Hat Process Automation 7 | Affected | No fix planned: Will not fix |
| EAP-CD 20 Tech Preview | Fixed | RHSA-2020:3585 |
| RHDM 7.9.0 | Fixed | RHSA-2020:4960 |
| RHPAM 7.9.0 | Fixed | RHSA-2020:4961 |
| Red Hat Fuse 7.8.0 | Fixed | RHSA-2020:5568 |
| Red Hat JBoss EAP 7.2 for RHEL 6 Server | Fixed | RHSA-2020:3637 |
| Red Hat JBoss EAP 7.2 for RHEL 7 Server | Fixed | RHSA-2020:3638 |
| Red Hat JBoss EAP 7.2 for RHEL 8 | Fixed | RHSA-2020:3639 |
| Red Hat JBoss EAP 7.3 for BaseOS-8 | Fixed | RHSA-2020:3463 |
| Red Hat JBoss EAP 7.3 for RHEL 6 Server | Fixed | RHSA-2020:3461 |
| Red Hat JBoss EAP 7.3 for RHEL 7 Server | Fixed | RHSA-2020:3462 |
| Red Hat JBoss Enterprise Application Platform 7 | Fixed | RHSA-2020:3464 |
| Red Hat Single Sign On 7.3.8 | Fixed | RHSA-2020:2112 |
| Red Hat build of Quarkus 1.7.5 | Fixed | RHSA-2020:4252 |
Not affected: 10 products
- Red Hat JBoss BRMS 5
- Red Hat JBoss Enterprise Application Platform 5
- Red Hat JBoss Enterprise Application Platform 6
- Red Hat JBoss Enterprise Web Server 2
- Red Hat JBoss Fuse 6
- Red Hat JBoss Fuse Service Works 6
- Red Hat JBoss Operations Network 3
- Red Hat Satellite 5
- Red Hat Satellite 6
- Red Hat Subscription Asset Manager
Timeline
- 2026-10-02 Threatist record created from CVE-2019-14900
- 2026-10-03 Alias added: GHSA-8grg-q944-cch5
References
Advisory 3
Other 8
- [turbine-dev] 20211015 Fulcrum Security Hibernate Module
- https://github.com/hibernate/hibernate-orm/commit/3f3c1ab50604ab9ba99e25d2016fb85f3ba9dcd4
- https://github.com/hibernate/hibernate-orm/commit/646b383f959eff18d58081b1a574f0d777d353da
- https://github.com/hibernate/hibernate-orm/commit/e0e22ea256c1906235d6a8e90b79c4ce33d0861f
- https://github.com/hibernate/hibernate-orm/commit/eebf01fbf3c2550ee70cdc9c1b02b52e330c8c36
- https://github.com/hibernate/hibernate-orm
- https://lists.apache.org/thread.html/r833c1276e41334fa675848a08daf0c61f39009f9f9a400d9f7006d44@%3Cdev.turbine.apache.org%3E
- https://security.netapp.com/advisory/ntap-20220210-0020
Sources
- CVE-2019-14900 · CVE Program
- CVE-2019-14900 · NVD
- FIRST EPSS
- GHSA-8grg-q944-cch5 · GitHub Advisory Database · CC BY 4.0
- CVE-2019-14900 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences