SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2016-2339

An exploitable heap overflow vulnerability exists in the Fiddle::Function.new "initialize" function functionality of Ruby.

CRITICAL 9.8EPSS 5.19%

Does this matter?

High impact if exploited, but EPSS currently rates exploitation as unlikely (5.19%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.

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.

CVSS 3.0
9.8 CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
5.19% probability · 92th percentile
CISA KEV
Not listed
Weakness
CWE-119
Affected
ruby-lang/ruby
Source
cret@cert.org

Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.