Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') Affecting eap7-wildfly package, versions <0:7.1.0-64.GA_redhat_11.1.ep7.el7


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

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-RHEL7-EAP7WILDFLY-5298809
  • published26 Mar 2023
  • disclosed26 Sept 2017

Introduced: 26 Sep 2017

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

How to fix?

Upgrade RHEL:7 eap7-wildfly to version 0:7.1.0-64.GA_redhat_11.1.ep7.el7 or higher.
This issue was patched in RHSA-2017:3455.

NVD Description

Note: Versions mentioned in the description apply only to the upstream eap7-wildfly package and not the eap7-wildfly package as distributed by RHEL. See How to fix? for RHEL:7 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