Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') Affecting libhibernate-validator-java package, versions <4.3.3-4


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.12% (47th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN11-LIBHIBERNATEVALIDATORJAVA-516045
  • published10 Jan 2018
  • disclosed10 Jan 2018

Introduced: 10 Jan 2018

CVE-2017-7536  (opens in a new tab)
CWE-470  (opens in a new tab)
CWE-592  (opens in a new tab)

How to fix?

Upgrade Debian:11 libhibernate-validator-java to version 4.3.3-4 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libhibernate-validator-java package and not the libhibernate-validator-java package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

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

CVSS Scores

version 3.1