Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.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
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)
groovy Not vulnerable
(1.3.1-1build1)
hirsute Not vulnerable
(1.3.1-1build1)
impish Not vulnerable
(1.3.1-1build1)
jammy Not vulnerable
(1.3.1-1build1)
kinetic Not vulnerable
(1.3.1-1build1)
lunar Not vulnerable
(1.3.1-1build1)
mantic Not vulnerable
(1.3.1-1build1)
trusty Does not exist
(trusty was needed)
upstream
Released (1.2.0-3.1)
xenial Needed

zesty Ignored
(end of life)
Patches:
upstream: https://github.com/brianmario/yajl-ruby/commit/a8ca8f476655adaa187eedc60bdc770fff3c51ce
yajl
Launchpad, Ubuntu, Debian
artful Ignored
(end of life)
bionic
Released (2.1.0-2ubuntu0.18.04.1~esm1)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only)
cosmic Ignored
(end of life)
disco Ignored
(end of life)
eoan Ignored
(end of life)
focal
Released (2.1.0-3ubuntu0.20.04.1)
groovy Ignored
(end of life)
hirsute Ignored
(end of life)
impish Ignored
(end of life)
jammy
Released (2.1.0-3ubuntu0.22.04.1)
kinetic Ignored
(end of life, was needed)
lunar
Released (2.1.0-3ubuntu0.23.04.1)
mantic Not vulnerable
(2.1.0-5)
trusty
Released (2.0.4-4ubuntu0.1~esm1)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only)
upstream
Released (2.1.0-3+deb10u2)
xenial
Released (2.1.0-2ubuntu0.16.04.1~esm1)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only)
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