An exploitable heap overflow vulnerability exists in the Fiddle::Function.new "initialize" function functionality of Ruby. In Fiddle::Function.new "initialize" heap buffer "arg_types" allocation is made based on args array length. Specially constructed object passed as element of args array can increase this array size after mentioned allocation and cause heap overflow.
The MITRE CVE dictionary describes this issue as:
Find out more about CVE-2016-2339 from the MITRE CVE dictionary dictionary and NIST NVD.
Red Hat Product Security has rated this issue as having Moderate security
impact. This issue is not currently planned to be addressed in future
updates. For additional information, refer to the Issue Severity
Classification: https://access.redhat.com/security/updates/classification/.
NOTE: The following CVSS v3 metrics and score provided are preliminary and subject to review.
CVSS3 Base Score | 7 |
---|---|
CVSS3 Base Metrics | CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Attack Vector | Local |
Attack Complexity | High |
Privileges Required | Low |
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 | Will not fix |
Red Hat Software Collections for Red Hat Enterprise Linux | ruby200-ruby | Will not fix |
Red Hat Software Collections for Red Hat Enterprise Linux | rh-ruby22-ruby | Will not fix |
Red Hat Enterprise Linux 7 | ruby | Will not fix |
Red Hat Enterprise Linux 6 | ruby | Not affected |
Red Hat Enterprise Linux 5 | ruby | Not affected |