Hibernate ORM is vulnerable to SQL injection
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Hibernate | Hibernate ORM | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Hibernate | Hibernate Orm |
|
||||||||||||||||||||||||||||
| Ibm | Hibernate Orm |
|
Vendor Solution
It is strongly recommended to address the vulnerability by upgrading to the latest version. Upgrade to 7.2.26.Final, 7.4.17.Final, or 8.0.0.CR2. For more information see: https://github.com/hibernate/hibernate-orm/security/advisories/GHSA-v5mr-59hq-7mvm
Vendor Workaround
* Upgrade to a version addressing the vulnerability. * OR avoid passing untrusted values to path parameters of HQL JSON functions. Instead, use either hardcoded values or sanitized values (apply SQL escapes). Be careful about escaping as improper escaping could still leave the application vulnerable. * OR (on Hibernate ORM 7.x) disable HQL JSON functions completely by setting the configuration property `hibernate.query.hql.json_functions_enabled` to false, or leaving it unset (the default is false). Queries leveraging these functions will then simply error out.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.557% probability within 30 days)
Key SSVC decision points have not yet been added.
| Link | Providers |
|---|---|
| https://www.ibm.com/support/pages/node/7297919 |
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Hibernate
Hibernate hibernate Orm |
|
| Vendors & Products |
Hibernate
Hibernate hibernate Orm |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Hibernate ORM 7.0.0.Beta2 through 7.2.25.Final, 7.3.0.CR1 through 7.4.16.Final, and 8.0.0.Alpha1 through 8.0.0.CR1 is vulnerable to SQL injection. A remote unauthenticated attacker could send specially crafted SQL statements, which could allow the attacker to view, add, modify, or delete information in the back-end database. | |
| Title | Hibernate ORM is vulnerable to SQL injection | |
| First Time appeared |
Ibm
Ibm hibernate Orm |
|
| Weaknesses | CWE-89 | |
| CPEs | cpe:2.3:a:ibm:hibernate_orm:7.0.0.beta2:*:*:*:*:*:*:* cpe:2.3:a:ibm:hibernate_orm:7.2.25.final:*:*:*:*:*:*:* cpe:2.3:a:ibm:hibernate_orm:7.3.0.cr1:*:*:*:*:*:*:* cpe:2.3:a:ibm:hibernate_orm:7.4.16.final:*:*:*:*:*:*:* cpe:2.3:a:ibm:hibernate_orm:8.0.0.alpha1:*:*:*:*:*:*:* cpe:2.3:a:ibm:hibernate_orm:8.0.0.cr1:*:*:*:*:*:*:* |
|
| Vendors & Products |
Ibm
Ibm hibernate Orm |
|
| References |
| |
| Metrics |
cvssV3_1
|