CVEfocus › CVE database › CVE-2017-16516

CVE-2017-16516

CVSS 7.5 HighEPSS 3.8% (higher than 90% of CVEs)Published 2017-11-03Updated 2024-08-05Assigner: mitre

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.

What to do

Fixed builds are available from Debian, RubyGems, Ubuntu: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

12Fixed
7Fix pending
9Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04ruby-yajlNot affected
vulnerable_code_not_present
Ubuntu 26.04yajlNot affected
vulnerable_code_not_present
Ubuntu 25.10ruby-yajlNot affected
vulnerable_code_not_present
Ubuntu 25.10yajlNot affected
vulnerable_code_not_present
Ubuntu 24.04ruby-yajlNot affected
vulnerable_code_not_present
Ubuntu 24.04yajlNot affected
vulnerable_code_not_present
Ubuntu 22.04ruby-yajlNot affected
vulnerable_code_not_present
Ubuntu 22.04yajlFixed2.1.0-3ubuntu0.22.04.1UBUNTU-CVE-2017-16516
Ubuntu 20.04ruby-yajlNot affected
vulnerable_code_not_present
Ubuntu 20.04yajlFixed2.1.0-3ubuntu0.20.04.1UBUNTU-CVE-2017-16516
Ubuntu 18.04ruby-yajlNot affected
vulnerable_code_not_present
Ubuntu 18.04yajlFix pending2.1.0-2ubuntu0.18.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2017-16516
Ubuntu 16.04ruby-yajlFix pendingUBUNTU-CVE-2017-16516
Ubuntu 16.04yajlFix pending2.1.0-2ubuntu0.16.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2017-16516
Ubuntu 14.04ruby-yajlFix pending
Ubuntu 14.04yajlFix pending2.0.4-4ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2017-16516
Debian 14r-cran-jsonliteFixed1.8.8+dfsg-1DEBIAN-CVE-2017-16516
Debian 14ruby-yajlFixed1.2.0-3.1DEBIAN-CVE-2017-16516
Debian 14yajlFixed2.1.0-4DEBIAN-CVE-2017-16516
Debian 13burpFixed3.1.4-2DEBIAN-CVE-2017-16516
Debian 13r-cran-jsonliteFixed1.8.8+dfsg-1DEBIAN-CVE-2017-16516
Debian 13ruby-yajlFixed1.2.0-3.1DEBIAN-CVE-2017-16516
Debian 13yajlFixed2.1.0-4DEBIAN-CVE-2017-16516
Debian 12burpFix pendingDEBIAN-CVE-2017-16516
Debian 12r-cran-jsonliteFix pendingDEBIAN-CVE-2017-16516
Debian 12ruby-yajlFixed1.2.0-3.1DEBIAN-CVE-2017-16516
Debian 12yajlFixed2.1.0-3+deb12u2DEBIAN-CVE-2017-16516
RubyGems libraryyajl-rubyFixed1.3.1GHSA-wwh7-4jw9-33x6

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.