CVE-2017-7536 Privilege Escalation in Hibernate Validator
Attackers can escalate privileges and read private member values by exploiting reflective permission checks in Hibernate Validator when specific security manager permissions are granted.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-7536?
CVE-2017-7536 is a high-severity vulnerability in Redhat Jboss Enterprise Application Platform, published on 10 Jan 2018. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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().
Which versions are affected by CVE-2017-7536?
6 open source packages ship an affected version, including org.hibernate:hibernate-validator. It affects 6 products.
| Package | Affected | Fixed in |
|---|---|---|
org.hibernate:hibernate-validator Maven | From 5.2.0 | 5.2.5.Final |
org.hibernate:hibernate-validator Maven | From 5.2.0 | 5.2.5.Final |
org.hibernate:hibernate-validator Maven | From 5.3.0 | 5.3.6.Final |
org.hibernate:hibernate-validator Maven | From 5.3.0 | 5.3.6.Final |
org.hibernate:hibernate-validator Maven | From 5.4.0 | 5.4.2.Final |
org.hibernate:hibernate-validator Maven | From 5.4.0 | 5.4.2.Final |
Products include Redhat Hibernate Validator, Redhat Jboss Enterprise Application Platform, Redhat Satellite, Redhat Satellite Capsule, Redhat Virtualization, Redhat Virtualization Host.
How do I fix CVE-2017-7536?
Upgrade org.hibernate:hibernate-validator to a fixed version for your release line: 5.2.5.Final, 5.3.6.Final or 5.4.2.Final.
Is CVE-2017-7536 being exploited?
There is no known exploitation of CVE-2017-7536 in the wild and no public exploit code.
Other vulnerabilities in Redhat Jboss Enterprise Application Platform
- CVE-2025-35036 hibernate-validator insecure default Expression Language interpolation
- CVE-2014-3558 Improper Authentication in Hibernate Validator
All Redhat Jboss Enterprise Application Platform vulnerabilities
Sources
Also known as DEBIAN-CVE-2017-7536, GHSA-xxgp-pcfc-3vgc.