GitHub Advisoryadvisory · Maven

GHSA-xxgp-pcfc-3vgc Privilege Escalation in Hibernate Validator

HIGH Published 2020-06-15 Modified 2022-07-20 Official page ↗
Aliases
CVE-2017-7536
Ecosystem
Maven
Packages
org.hibernate:hibernate-validator
Severity
High
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-470
Reviewed
2020-06-11

Affected packages

• Maven org.hibernate:hibernate-validator: >= 5.2.0, < 5.2.5.Final → fixed in 5.2.5.Final • Maven org.hibernate:hibernate-validator: >= 5.3.0, < 5.3.6.Final → fixed in 5.3.6.Final • Maven org.hibernate:hibernate-validator: >= 5.4.0, < 5.4.2.Final → fixed in 5.4.2.Final

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().

Related

Alias · CVE (1)

  • CVE-2017-7536 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,… vulnerability

Weakness · CWE (1)

  • CWE-470 Use of Externally-Controlled Input to Select Classes or Code weakness

References