Improper Input Validation in Hibernate Validator
hibernate-validator
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.hibernate.validator:hibernate-validator Maven |
|
|
| org.hibernate:hibernate-validator Maven |
|
hibernate-validator
| Product | Affected | Fixed in |
|---|---|---|
| org.hibernate.validator:hibernate-validator Maven |
|
|
| org.hibernate:hibernate-validator Maven |
|
< 6.0.20.Final
|
A flaw was found in Hibernate Validator version 6.1.2.Final. A bug in the message interpolation processor enables invalid EL expressions to be evaluated as if they were valid. This flaw allows attackers to bypass input sanitation (escaping, stripping) controls that developers may have put in place when handling user-controlled data in error messages.
From the CVE record · redhat
Hibernate Validator's message interpolation processor can evaluate invalid EL expressions as valid. An attacker whose input appears in an error message may bypass escaping or stripping controls applied to that input. The input does not specify network access, authentication requirements, or additional user interaction.
Engineers using the Maven packages org.hibernate.validator:hibernate-validator or org.hibernate:hibernate-validator should check installations in the listed affected ranges: >=6.1.0.Final and <6.1.5.Final, or <6.0.20.Final.