PT-2017-4257 · Ruby+5 · Yajl-Ruby+5
Clod81
·
Published
2017-11-02
·
Updated
2025-02-21
·
CVE-2017-16516
CVSS v2.0
7.8
High
| Vector | AV:N/AC:L/Au:N/C:N/I:N/A:C |
Name of the Vulnerable Software and Affected Versions
yajl-ruby gem version 1.3.0
Description
The issue is related to insufficient processing of a format string in the yajl string decode function of the yajl encode.c component in the YAJL-ruby JSON library. When a crafted JSON file is supplied to Yajl::Parser.new.parse, the whole ruby process crashes with a SIGABRT, resulting in the termination of the ruby process and potentially a denial of service.
Recommendations
For yajl-ruby gem version 1.3.0, consider avoiding the use of the Yajl::Parser.new.parse function with untrusted JSON files until a patch is available. As a temporary workaround, restrict the input to this function to prevent the exploitation of this issue. At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
DoS
Use of Externally-Controlled Format String
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Astra Linux
Debian
Linuxmint
Ubuntu
Yajl-Ruby