NetSight
critical9.8

CVE-2016-2338

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

Impact

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.

Affected products

VendorProductAffected versions
Ruby-LangRuby
Versions 2.2.2, 2.3.0
DebianDebian Linux
Version 8.0

Weakness classification

References