Your submission was sent successfully! Close

You have successfully unsubscribed! Close

CVE-2017-16516

Published: 3 November 2017

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.

Notes

AuthorNote
sbeattie
issue in embedded copy of yajl, looks to affect upstream
yajl, too
rodrigo-zaiden
as of 2023-06-07, upstream yajl hasn't fixed it, only the
embedded copy in ruby-yajl got fixed.
even though the code around this fix is similar between
yajl and ruby-yajl, the risk of patching one based in the other could be
risky without upstream support.

Priority

Low

Cvss 3 Severity Score

7.5

Score breakdown

Status

Package Release Status
ruby-yajl
Launchpad, Ubuntu, Debian
impish Not vulnerable
(1.3.1-1build1)
groovy Not vulnerable
(1.3.1-1build1)
hirsute Not vulnerable
(1.3.1-1build1)
jammy Not vulnerable
(1.3.1-1build1)
xenial Needed

kinetic Not vulnerable
(1.3.1-1build1)
lunar Not vulnerable
(1.3.1-1build1)
artful Ignored
(end of life)
bionic Not vulnerable
(1.3.1-1build1)
cosmic Not vulnerable
(1.3.1-1build1)
disco Not vulnerable
(1.3.1-1build1)
eoan Not vulnerable
(1.3.1-1build1)
focal Not vulnerable
(1.3.1-1build1)
trusty Does not exist
(trusty was needed)
upstream
Released (1.2.0-3.1)
zesty Ignored
(end of life)
Patches:
upstream: https://github.com/brianmario/yajl-ruby/commit/a8ca8f476655adaa187eedc60bdc770fff3c51ce
yajl
Launchpad, Ubuntu, Debian
impish Ignored
(end of life)
groovy Ignored
(end of life)
focal Needed

kinetic Ignored
(end of life, was needed)
lunar Needed

trusty
Released (2.0.4-4ubuntu0.1~esm1)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only)
upstream
Released (2.1.0-3+deb10u2)
hirsute Ignored
(end of life)
jammy Needed

xenial
Released (2.1.0-2ubuntu0.16.04.1~esm1)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only)
bionic
Released (2.1.0-2ubuntu0.18.04.1~esm1)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only)
artful Ignored
(end of life)
cosmic Ignored
(end of life)
disco Ignored
(end of life)
eoan Ignored
(end of life)
zesty Ignored
(end of life)

Severity score breakdown

Parameter Value
Base score 7.5
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality None
Integrity impact None
Availability impact High
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H