VYPR

Yajl Ruby

by Yajl Ruby Project

Source repositories

CVEs (2)

  • CVE-2017-16516HigNov 3, 2017
    risk 0.42cvss 7.5epss 0.04

    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…

  • CVE-2022-24795MedApr 5, 2022
    risk 0.32cvss 5.9epss 0.03

    yajl-ruby is a C binding to the YAJL JSON parsing and generation library. The 1.x branch and the 2.x branch of `yajl` contain an integer overflow which leads to subsequent heap memory corruption when dealing with large (~2GB) inputs. The reallocation logic at `yajl_buf.c#L64`…