RubySec

Providing security resources for the Ruby community

CVE-2017-16516 (yajl-ruby): Flaw in yajl-ruby gem may cause a DoS

ADVISORIES

GEM

yajl-ruby

SEVERITY

CVSS v3.x: 7.5 (High)

PATCHED VERSIONS

  • >= 1.3.1

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.

RELATED