CVE-2017-16516: High severity Yajl-ruby Project Yajl-ruby Ruby vulnerability
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 yajlstringdecode function in yajlencode.c. This results in the whole ruby process terminating and potentially a denial of service.
Other sources
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 yajlstringdecode function in yajlencode.c. This results in the whole ruby process terminating and potentially a denial of service.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
rubygems/yajl-rubyto a version that resolves this vulnerability.Fixed in 1.3.1 - Upgrade
Upgrade
ubuntu/ruby-yajlto a version that resolves this vulnerability.Fixed in 1.2.0-3.1 - Upgrade
Upgrade
ubuntu/yajlto a version that resolves this vulnerability.Fixed in 2.1.0-3+ - Upgrade
Upgrade
ubuntu/yajlto a version that resolves this vulnerability.Fixed in 2.0.4-4ubuntu0.1~ - Upgrade
Upgrade
ubuntu/yajlto a version that resolves this vulnerability.Fixed in 2.1.0-3ubuntu0.22.04.1 - Upgrade
Upgrade
ubuntu/yajlto a version that resolves this vulnerability.Fixed in 2.1.0-2ubuntu0.16.04.1~ - Upgrade
Upgrade
ubuntu/yajlto a version that resolves this vulnerability.Fixed in 2.1.0-2ubuntu0.18.04.1~ - Upgrade
Upgrade
ubuntu/yajlto a version that resolves this vulnerability.Fixed in 2.1.0-3ubuntu0.20.04.1 - Upgrade
Upgrade
ubuntu/yajlto a version that resolves this vulnerability.Fixed in 2.1.0-3ubuntu0.23.04.1 - Upgrade
Upgrade
debian/burpto a version that resolves this vulnerability.Fixed in 2.1.32-2+deb10u1 - Upgrade
Upgrade
debian/r-cran-jsonliteto a version that resolves this vulnerability.Fixed in 1.8.8+dfsg-1 - Upgrade
Upgrade
debian/ruby-yajlto a version that resolves this vulnerability.Fixed in 1.3.1-1Fixed in 1.4.1-1Fixed in 1.4.3-1 - Upgrade
Upgrade
debian/xqillato a version that resolves this vulnerability.Fixed in 2.3.4-1 - Upgrade
Upgrade
debian/yajlto a version that resolves this vulnerability.Fixed in 2.1.0-3+deb10u2Fixed in 2.1.0-3+deb11u2Fixed in 2.1.0-3+deb12u2Fixed in 2.1.0-5
Event History
Frequently Asked Questions
What is the severity of CVE-2017-16516?
CVE-2017-16516 has a severity rating that can lead to denial of service due to process crashes.
How do I fix CVE-2017-16516?
To mitigate CVE-2017-16516, upgrade the yajl-ruby gem to version 1.3.1 or later.
Which versions of yajl-ruby are affected by CVE-2017-16516?
CVE-2017-16516 affects version 1.3.0 of the yajl-ruby gem.
What is the impact of CVE-2017-16516 on applications?
CVE-2017-16516 can cause applications using the affected yajl-ruby gem to crash unexpectedly.
Is there a workaround for CVE-2017-16516 until I can upgrade?
There isn’t a specific workaround for CVE-2017-16516; the best approach is to upgrade to a safe version.