CVE-2017-7536
Description
In Hibernate Validator 5.2.x before 5.2.5 final, 5.3.x, and 5.4.x, it was found that when the security manager's reflective permissions, which allows it to access the private members of the class, are granted to Hibernate Validator, a potential privilege escalation can occur. By allowing the calling code to access those private members without the permission an attacker may be able to validate an invalid instance and access the private member value via ConstraintViolation#getInvalidValue().
How to fix
- redhat hibernate_validator5.2.5, 5.3.6, 5.4.2 or later
- org.hibernate:hibernate-validator5.2.5.Final, 5.3.6.Final, 5.4.2.Final or later
- access.redhat.com/errata/RHSA-2017:2809
- access.redhat.com/errata/RHSA-2018:3817
- access.redhat.com/errata/RHSA-2018:2740
- access.redhat.com/errata/RHSA-2017:2810
- access.redhat.com/errata/RHSA-2018:2741
- access.redhat.com/errata/RHSA-2018:2742
- access.redhat.com/errata/RHSA-2017:3458
- access.redhat.com/errata/RHSA-2017:2808
- access.redhat.com/errata/RHSA-2017:3455
- access.redhat.com/errata/RHSA-2018:2927
- access.redhat.com/errata/RHSA-2017:3456
- access.redhat.com/errata/RHSA-2018:2743
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat hibernate_validator | 5.2.0 ≤ v < 5.2.5, 5.3.0 ≤ v < 5.3.6, 5.4.0 ≤ v < 5.4.2 | 5.2.5, 5.3.6, 5.4.2 |
| redhat satellite | 6.4 | — |
| redhat satellite_capsule | 6.4 | — |
| redhat jboss_enterprise_application_platform | 6.0.0, 6.4.0, 7.0, 7.1 | — |
| redhat virtualization | 4.0 | — |
| redhat virtualization_host | 4.0 | — |
| org.hibernate:hibernate-validatorMaven | 5.2.0 ≤ v < 5.2.5.Final, 5.3.0 ≤ v < 5.3.6.Final, 5.4.0 ≤ v < 5.4.2.Final | 5.2.5.Final, 5.3.6.Final, 5.4.2.Final |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.