CVE-2016-2339

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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
9.8 CRITICAL
NETWORK
LOW
NONE
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
certccCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 60%
VendorProductVersion
ruby-langruby
2.2.2
ruby-langruby
2.3.0
𝑥
= Vulnerable software versions
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
ruby1.8
zesty
dne
yakkety
dne
xenial
dne
trusty
dne
precise
ignored
ruby1.9.1
zesty
dne
yakkety
dne
xenial
dne
trusty
Fixed 1.9.3.484-2ubuntu1.3
released
precise
ignored
ruby2.0
zesty
dne
yakkety
dne
xenial
dne
trusty
Fixed 2.0.0.484-1ubuntu2.4
released
precise
dne
ruby2.3
zesty
not-affected
yakkety
not-affected
xenial
not-affected
trusty
dne
precise
dne