CVE Vulnerabilities

CVE-2019-10174

Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')

Published: Nov 25, 2019 | Modified: Feb 20, 2022
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
6.5 MEDIUM
AV:N/AC:L/Au:S/C:P/I:P/A:P
RedHat/V2
RedHat/V3
7.5 IMPORTANT
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Ubuntu

A vulnerability was found in Infinispan such that the invokeAccessibly method from the public class ReflectionUtil allows any application class to invoke private methods in any class with Infinispans privileges. The attacker can use reflection to introduce new, malicious behavior into the application.

Weakness

The product uses external input with reflection to select which classes or code to use, but it does not sufficiently prevent the input from selecting improper classes or code.

Affected Software

Name Vendor Start Version End Version
Infinispan Infinispan * 8.2.12 (excluding)
Infinispan Infinispan 9.0.0 (including) 9.4.17 (excluding)
EAP-CD 19 Tech Preview RedHat infinispan-core *
Red Hat Data Grid 7.3.3 RedHat infinispan-core *
Red Hat Fuse 6.3 RedHat infinispan-core *
Red Hat Fuse 7.6.0 RedHat infinispan-core *
Red Hat JBoss EAP 7.2 RedHat infinispan-core *
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7 RedHat eap7-infinispan-0:8.2.11-1.SP2_redhat_00001.1.ep7.el7 *
Red Hat JBoss Enterprise Application Platform 7.2 for RHEL 6 RedHat eap7-glassfish-jsf-0:2.3.5-11.SP3_redhat_00009.1.el6eap *
Red Hat JBoss Enterprise Application Platform 7.2 for RHEL 6 RedHat eap7-infinispan-0:9.3.9-1.Final_redhat_00001.1.el6eap *
Red Hat JBoss Enterprise Application Platform 7.2 for RHEL 7 RedHat eap7-glassfish-jsf-0:2.3.5-11.SP3_redhat_00009.1.el7eap *
Red Hat JBoss Enterprise Application Platform 7.2 for RHEL 7 RedHat eap7-infinispan-0:9.3.9-1.Final_redhat_00001.1.el7eap *
Red Hat JBoss Enterprise Application Platform 7.2 for RHEL 8 RedHat eap7-glassfish-jsf-0:2.3.5-11.SP3_redhat_00009.1.el8eap *
Red Hat JBoss Enterprise Application Platform 7.2 for RHEL 8 RedHat eap7-infinispan-0:9.3.9-1.Final_redhat_00001.1.el8eap *
Red Hat Openshift Application Runtimes Vert.x 3.8.3 RedHat *
Red Hat Single Sign On 7.3 RedHat infinispan-core *

Potential Mitigations

References