Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') Affecting tfm-runtime package, versions <0:4.0-3.el7sat


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.06% (30th 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-TFMRUNTIME-5376400
  • 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 tfm-runtime to version 0:4.0-3.el7sat or higher.
This issue was patched in RHSA-2018:2927.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tfm-runtime package and not the tfm-runtime 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