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.
The product uses a function that accepts a format string as an argument, but the format string originates from an external source.
Link | Tags |
---|---|
https://rubygems.org/gems/yajl-ruby | third party advisory |
https://github.com/brianmario/yajl-ruby/issues/176 | third party advisory exploit |
https://lists.debian.org/debian-lts-announce/2017/11/msg00010.html | third party advisory mailing list |
https://lists.debian.org/debian-lts-announce/2023/07/msg00013.html | mailing list |
https://lists.debian.org/debian-lts-announce/2023/08/msg00003.html | mailing list |