SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2016-2338

An exploitable heap overflow vulnerability exists in the Psych::Emitter start_document function of Ruby.

CRITICAL 9.8EPSS 4.68%

Does this matter?

High impact if exploited, but EPSS currently rates exploitation as unlikely (4.68%). 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 Psych::Emitter start_document function of Ruby. In Psych::Emitter start_document function heap buffer "head" allocation is made based on tags array length. Specially constructed object passed as element of tags array can increase this array size after mentioned allocation and cause heap overflow.

CVSS 3.1
9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
4.68% probability · 91th percentile
CISA KEV
Not listed
Weakness
CWE-787
Affected
ruby-lang/ruby · debian/debian linux
Source
cret@cert.org

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