Type confusion exists in two methods of Ruby's WIN32OLE class, ole_invoke and ole_query_interface. Attacker passing different type of object than this assumed by developers can cause arbitrary code execution.
The MITRE CVE dictionary describes this issue as:
Find out more about CVE-2016-2336 from the MITRE CVE dictionary dictionary and NIST NVD.
This issue did not affect the versions of ruby as shipped with Red Hat Enterprise Linux or Red Hat Software Collections as they did not include support for OLE.
NOTE: The following CVSS v3 metrics and score provided are preliminary and subject to review.
CVSS3 Base Score | 8.1 |
---|---|
CVSS3 Base Metrics | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Attack Vector | Network |
Attack Complexity | High |
Privileges Required | None |
User Interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity Impact | High |
Availability Impact | High |
Platform | Package | State |
---|---|---|
Red Hat Software Collections for Red Hat Enterprise Linux | rh-ruby23-ruby | Not affected |
Red Hat Software Collections for Red Hat Enterprise Linux | ruby200-ruby | Not affected |
Red Hat Software Collections for Red Hat Enterprise Linux | rh-ruby22-ruby | Not affected |
Red Hat Enterprise Linux 7 | ruby | Not affected |
Red Hat Enterprise Linux 6 | ruby | Not affected |
Red Hat Enterprise Linux 5 | ruby | Not affected |