cve/2016/CVE-2016-2339.md

18 lines
875 B
Markdown
Raw Normal View History

2024-05-26 14:27:05 +02:00
### [CVE-2016-2339](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-2339)
![](https://img.shields.io/static/v1?label=Product&message=Ruby&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=heap%20overflow%20vulnerability&color=brighgreen)
### Description
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.
### POC
#### Reference
- http://www.talosintelligence.com/reports/TALOS-2016-0034/
#### Github
No PoCs found on GitHub currently.