{"id":"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.","modified":"2026-02-04T03:22:25.628453Z","published":"2017-11-03T15:29:00Z","related":["USN-6233-1","USN-6233-2"],"upstream":["CVE-2017-16516"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-16516"},{"type":"REPORT","url":"https://rubygems.org/gems/yajl-ruby"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6233-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6233-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-16516"}],"affected":[{"package":{"name":"yajl","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/yajl@2.0.4-4ubuntu0.1~esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.4-4ubuntu0.1~esm1"}]}],"versions":["2.0.4-4"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.4-4ubuntu0.1~esm1","binary_name":"libyajl-dev"},{"binary_version":"2.0.4-4ubuntu0.1~esm1","binary_name":"libyajl2"},{"binary_version":"2.0.4-4ubuntu0.1~esm1","binary_name":"yajl-tools"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-16516.json"}},{"package":{"name":"yajl","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/yajl@2.1.0-2ubuntu0.16.04.1~esm1?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-2ubuntu0.16.04.1~esm1"}]}],"versions":["2.1.0-2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.1.0-2ubuntu0.16.04.1~esm1","binary_name":"libyajl-dev"},{"binary_version":"2.1.0-2ubuntu0.16.04.1~esm1","binary_name":"libyajl2"},{"binary_version":"2.1.0-2ubuntu0.16.04.1~esm1","binary_name":"yajl-tools"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-16516.json"}},{"package":{"name":"ruby-yajl","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/ruby-yajl@1.2.0-3build4?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.0-3build1","1.2.0-3build2","1.2.0-3build3","1.2.0-3build4"],"ecosystem_specific":{"binaries":[{"binary_version":"1.2.0-3build4","binary_name":"ruby-yajl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-16516.json"}},{"package":{"name":"yajl","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/yajl@2.1.0-2ubuntu0.18.04.1~esm1?arch=source&distro=esm-infra/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-2ubuntu0.18.04.1~esm1"}]}],"versions":["2.1.0-2","2.1.0-2build1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.1.0-2ubuntu0.18.04.1~esm1","binary_name":"libyajl-dev"},{"binary_version":"2.1.0-2ubuntu0.18.04.1~esm1","binary_name":"libyajl2"},{"binary_version":"2.1.0-2ubuntu0.18.04.1~esm1","binary_name":"yajl-tools"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-16516.json"}},{"package":{"name":"yajl","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/yajl@2.1.0-3ubuntu0.20.04.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-3ubuntu0.20.04.1"}]}],"versions":["2.1.0-3"],"ecosystem_specific":{"binaries":[{"binary_version":"2.1.0-3ubuntu0.20.04.1","binary_name":"libyajl-dev"},{"binary_version":"2.1.0-3ubuntu0.20.04.1","binary_name":"libyajl2"},{"binary_version":"2.1.0-3ubuntu0.20.04.1","binary_name":"yajl-tools"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-16516.json"}},{"package":{"name":"yajl","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/yajl@2.1.0-3ubuntu0.22.04.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-3ubuntu0.22.04.1"}]}],"versions":["2.1.0-3","2.1.0-3build1","2.1.0-3build2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.1.0-3ubuntu0.22.04.1","binary_name":"libyajl-dev"},{"binary_version":"2.1.0-3ubuntu0.22.04.1","binary_name":"libyajl2"},{"binary_version":"2.1.0-3ubuntu0.22.04.1","binary_name":"yajl-tools"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-16516.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]}