GHSA-xxgp-pcfc-3vgc

Privilege Escalation in Hibernate Validator

At a glance

Published
Updated
CVE
CVE-2017-7536
CVSS_V3
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

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 packages

PackageVersions
Maven · org.hibernate:hibernate-validatorintroduced 5.2.0, fixed 5.2.5.Final
Maven · org.hibernate:hibernate-validatorintroduced 5.3.0, fixed 5.3.6.Final
Maven · org.hibernate:hibernate-validatorintroduced 5.4.0, fixed 5.4.2.Final

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database