Hibernate Validator is affected by an expression language injection vulnerability
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| IBM | Hibernate Validator | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Hibernate | Hibernate-validator |
|
Vendor Solution
It is strongly recommended to address the vulnerability by upgrading to the latest version. Upgrade to 6.2.6.Final, 7.0.6.Final, 8.0.6.Final, 9.0.2.Final, 9.1.5.Final or later. For more information see: https://github.com/hibernate/hibernate-validator/security/advisories/GHSA-gv36-fx3r-29p5
Vendor Workaround
The safe alternative for custom validators is to use `addExpressionVariable` instead of `addMessageParameter` when injecting user-controlled values into EL-enabled messages, as expression variables are bound as typed objects and are never re-parsed as EL expressions.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.328% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | A flaw was found in Hibernate Validator starting with version 5.4.1. This vulnerability allows an unauthenticated remote attacker to cause a Denial of Service (DoS) by submitting specially crafted input containing unescaped message parameters. Improper escaping allows user-supplied data to be re-evaluated during Expression Language (EL) processing, leading to excessive resource consumption and application unresponsiveness. | Hibernate Validator could allow a remote attacker to cause a denial of service due to uncontrolled resource consumption resulting from improper escaping of user-controlled data in Expression Language (EL) expressions. |
| Title | org.hibernate.validator:hibernate-validator: Hibernate Validator - unescaped {duplicates} message parameter is re-evaluated as Expression Language (unauthenticated DoS) | Hibernate Validator is affected by an expression language injection vulnerability |
| First Time appeared |
Ibm
Ibm hibernate Validator |
|
| CPEs | cpe:2.3:a:ibm:hibernate_validator:5.4.1.final:*:*:*:*:*:*:* cpe:2.3:a:ibm:hibernate_validator:6.2.5.final:*:*:*:*:*:*:* cpe:2.3:a:ibm:hibernate_validator:7.0.0.alpha1:*:*:*:*:*:*:* cpe:2.3:a:ibm:hibernate_validator:7.0.5.final:*:*:*:*:*:*:* cpe:2.3:a:ibm:hibernate_validator:8.0.0.alpha1:*:*:*:*:*:*:* cpe:2.3:a:ibm:hibernate_validator:8.0.5.final:*:*:*:*:*:*:* cpe:2.3:a:ibm:hibernate_validator:9.0.0.beta2:*:*:*:*:*:*:* cpe:2.3:a:ibm:hibernate_validator:9.0.1.final:*:*:*:*:*:*:* cpe:2.3:a:ibm:hibernate_validator:9.1.0.alpha1:*:*:*:*:*:*:* cpe:2.3:a:ibm:hibernate_validator:9.1.4.final:*:*:*:*:*:*:* |
|
| Vendors & Products |
Ibm
Ibm hibernate Validator |
|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Hibernate
Hibernate hibernate-validator |
|
| Vendors & Products |
Hibernate
Hibernate hibernate-validator |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | A flaw was found in Hibernate Validator starting with version 5.4.1. This vulnerability allows an unauthenticated remote attacker to cause a Denial of Service (DoS) by submitting specially crafted input containing unescaped message parameters. Improper escaping allows user-supplied data to be re-evaluated during Expression Language (EL) processing, leading to excessive resource consumption and application unresponsiveness. | |
| Title | org.hibernate.validator:hibernate-validator: Hibernate Validator - unescaped {duplicates} message parameter is re-evaluated as Expression Language (unauthenticated DoS) | |
| Weaknesses | CWE-400 | |
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|