CVE-2019-14900
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•MEDIUM•Score: 6.5CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- v2.0•MEDIUM•Score: 4AV:N/AC:L/Au:S/C:P/I:N/A:N
EPSS Trends
Current EPSS score: 1.70%• Percentile: 83%
Techniques & Countermeasures
- CWE-89•Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Affected Systems
- hibernate•hibernate_orm
< 5.3.18 | ≥ 5.4.0, < 5.4.18
- org.hibernate•hibernate-core
< 5.3.18 | ≥ 5.4.0, < 5.4.18 | ≥ 5.5.0.Alpha1, < 5.5.0.Beta1
- quarkus•quarkus
≤ 1.5.2
- redhat•build_of_quarkus
na
- redhat•decision_manager
7.0
- redhat•fuse
< 7.8.0
- redhat•jboss_data_grid
7.0.0
- redhat•jboss_enterprise_application_platform
na | 7.3 | 7.4 | 7.2
- redhat•jboss_middleware_text-only_advisories
na
- redhat•openstack
10 | 13 | 14
- redhat•single_sign-on
na
References (11)
- https://bugzilla.redhat.com/show_bug.cgi?id=1666499
- https://lists.apache.org/thread.html/r833c1276e41334fa675848a08daf0c61f39009f9f9a400d9f7006d44%40%3Cdev.turbine.apache.org%3E
- https://security.netapp.com/advisory/ntap-20220210-0020/
- https://nvd.nist.gov/vuln/detail/CVE-2019-14900
- 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