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 product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Link | Tags |
---|---|
https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html | mailing list |
http://www.securityfocus.com/bid/91234 | vdb entry |
http://www.talosintelligence.com/reports/TALOS-2016-0034/ | vdb entry exploit third party advisory technical description |