Skip to content
OpenAdvisories
High · 7.5 CVE-2017-16516 EUVD-2017-0355GHSA-wwh7-4jw9-33x6

yajl-ruby gem Denial of Service vulnerability

Published Nov 3, 2017 · Updated Aug 5, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 r-cran-jsonlite 1.8.8+dfsg-1 —
Debian 14 ruby-yajl 1.2.0-3.1 —
Debian 14 yajl 2.1.0-4 —
Debian 13 burp 3.1.4-2 —
Debian 13 r-cran-jsonlite 1.8.8+dfsg-1 —
Debian 13 ruby-yajl 1.2.0-3.1 —
Debian 13 yajl 2.1.0-4 —
Debian 12 burp +1 No fix yet —
Debian 12 ruby-yajl 1.2.0-3.1 —
Debian 12 yajl 2.1.0-3+deb12u2 —
Debian 10 burp 2.1.32-2+deb10u1 DLA-3516-1
Debian 10 yajl 2.1.0-3+deb10u2 DLA-3492-1
Debian 7 ruby-yajl 1.1.0-2+deb7u1 DLA-1167-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS yajl 2.1.0-3ubuntu0.22.04.1 USN-6233-2
Ubuntu 20.04 LTS yajl 2.1.0-3ubuntu0.20.04.1 USN-6233-2
Ubuntu 16.04 LTS ruby-yajl No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS yajl 2.1.0-2ubuntu0.18.04.1~esm1 USN-6233-1
Ubuntu Pro 16.04 LTS yajl 2.1.0-2ubuntu0.16.04.1~esm1 USN-6233-1
Ubuntu Pro 14.04 LTS yajl 2.0.4-4ubuntu0.1~esm1 USN-6233-1

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems yajl-ruby < 1.3.1 1.3.1 GHSA-wwh7-4jw9-33x6

Advisories 5

References