Your submission was sent successfully! Close

CVE-2016-2338

Published: 29 September 2022

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.

Priority

Medium

CVSS 3 base score: 9.8

Status

Package Release Status
ruby-psych
Launchpad, Ubuntu, Debian
bionic Not vulnerable
(2.2.4-6build4)
eoan Not vulnerable
(3.1.0-1build6)
precise Does not exist

trusty Does not exist

upstream Needs triage

xenial Does not exist

ruby1.9.1
Launchpad, Ubuntu, Debian
bionic Does not exist

eoan Does not exist

precise Does not exist

trusty Does not exist

upstream Needs triage

xenial Does not exist

ruby2.0
Launchpad, Ubuntu, Debian
bionic Does not exist

eoan Does not exist

precise Does not exist

trusty Does not exist

upstream Needs triage

xenial Does not exist

ruby2.3
Launchpad, Ubuntu, Debian
bionic Does not exist

eoan Does not exist

precise Does not exist

trusty Does not exist

upstream Needs triage

xenial Not vulnerable
(2.3.1-2~ubuntu16.04.14)
Patches:
upstream: https://git.ruby-lang.org/ruby.git/commit/?id=db48c307944a9a18877236bdf9e9b778875f38ed

ruby2.5
Launchpad, Ubuntu, Debian
bionic Not vulnerable
(2.5.1-1ubuntu1.6)
eoan Not vulnerable
(2.5.5-4ubuntu2.1)
precise Does not exist

trusty Does not exist

upstream Needs triage

xenial Does not exist

Patches:

upstream: https://git.ruby-lang.org/ruby.git/commit/?id=db48c307944a9a18877236bdf9e9b778875f38ed
ruby2.7
Launchpad, Ubuntu, Debian
bionic Does not exist

eoan Does not exist

precise Does not exist

trusty Does not exist

upstream Needs triage

xenial Does not exist