HIGH 7.0

CVE-2017-7536

Privilege Escalation in Hibernate Validator

Description

In Hibernate Validator 5.2.x before 5.2.5.Final, 5.3.x before 5.3.6.Final, and 5.4.x before 5.4.2.Final, 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().

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.hibernate » hibernate-validator
>= 5.2.0, < 5.2.5.Final>= 5.3.0, < 5.3.6.Final>= 5.4.0, < 5.4.2.Final
5.2.5.Final, 5.3.6.Final, 5.4.2.Final

Blast radius

1affected artifacts
27affected versions
6,070dependent artifacts (est.)
138,073dependent versions

48% of the dependent artifacts (2,945) still pull an affected version in their latest release.

DepthDependent versions
Direct
31,271
2 hops
46,986
3 hops
30,802
4 hops
19,210
5 hops
6,869
6 hops
2,935

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.