Use of Externally-Controlled Format String Affecting ruby-yajl package, versions <1.2.0-3.1


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
3.77% (90th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN10-RUBYYAJL-279665
  • published3 Nov 2017
  • disclosed3 Nov 2017

Introduced: 3 Nov 2017

CVE-2017-16516  (opens in a new tab)
CWE-134  (opens in a new tab)

How to fix?

Upgrade Debian:10 ruby-yajl to version 1.2.0-3.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-yajl package and not the ruby-yajl package as distributed by Debian. See How to fix? for Debian:10 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1