Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') Affecting eap7-jul-to-slf4j-stub package, versions <0:1.0.1-6.Final_redhat_3.1.ep7.el7


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating

    Threat Intelligence

    EPSS
    0.06% (29th 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 ID SNYK-RHEL7-EAP7JULTOSLF4JSTUB-5330038
  • published 26 Mar 2023
  • disclosed 26 Sep 2017

How to fix?

Upgrade RHEL:7 eap7-jul-to-slf4j-stub to version 0:1.0.1-6.Final_redhat_3.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-jul-to-slf4j-stub package and not the eap7-jul-to-slf4j-stub 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
Expand this section

NVD

7 high
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High