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.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://github.com/brianmario/yajl-ruby/issues/176Exploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2017/11/msg00010.htmlThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/07/msg00013.html
- https://lists.debian.org/debian-lts-announce/2023/08/msg00003.html
- https://rubygems.org/gems/yajl-rubyThird Party Advisory
- https://github.com/brianmario/yajl-ruby/issues/176Exploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2017/11/msg00010.htmlThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/07/msg00013.html
- https://lists.debian.org/debian-lts-announce/2023/08/msg00003.html
- https://rubygems.org/gems/yajl-rubyThird Party Advisory
Timeline
- Published
- Nov 3, 2017
- Last modified
- Jun 17, 2026
- NVD status
- Modified