ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2017-16516

Details

In the yajl-ruby gem 1.3.0 for Ruby, when a crafted JSON file is supplied to Yajl::Parser.new.parse, the whole ruby process crashes with a SIGABRT in the yajl_string_decode function in yajl_encode.c. This results in the whole ruby process terminating and potentially a denial of service.

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:14.04:LTSyajl
All versions before 2.0.4-4ubuntu0.1~esm1 (fixed in 2.0.4-4ubuntu0.1~esm1)
Ubuntu:Pro:16.04:LTSyajl
All versions before 2.1.0-2ubuntu0.16.04.1~esm1 (fixed in 2.1.0-2ubuntu0.16.04.1~esm1)
Ubuntu:16.04:LTSruby-yajl
All versions, no fix listed
Ubuntu:Pro:18.04:LTSyajl
All versions before 2.1.0-2ubuntu0.18.04.1~esm1 (fixed in 2.1.0-2ubuntu0.18.04.1~esm1)
Ubuntu:20.04:LTSyajl
All versions before 2.1.0-3ubuntu0.20.04.1 (fixed in 2.1.0-3ubuntu0.20.04.1)
Ubuntu:22.04:LTSyajl
All versions before 2.1.0-3ubuntu0.22.04.1 (fixed in 2.1.0-3ubuntu0.22.04.1)

References