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

VectorAV: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

Weakness Enumeration

Related Identifiers

ALT-PU-2023-4612
BDU:2023-07604
CVE-2017-16516
DLA-1167-1
DLA-3492-1
DLA-3516-1
GHSA-WWH7-4JW9-33X6
MGASA-2024-0066
OESA-2025-1156
USN-6233-1
USN-6233-2

Affected Products

Alt Linux
Astra Linux
Debian
Linuxmint
Ubuntu
Yajl-Ruby