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 yajl_encode.c. This results in the whole ruby process terminating and potentially a denial of service.
{
"unresolved_ranges": [
{
"vendor_product": "debian:debian_linux",
"source": "CPE_FIELD",
"extracted_events": [
{
"last_affected": "7.0"
}
],
"cpes": [
"cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*"
]
}
]
}{
"source": "CPE_FIELD",
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "1.3.0"
}
],
"cpe": "cpe:2.3:a:yajl-ruby_project:yajl-ruby:1.3.0:*:*:*:*:ruby:*:*"
}