Use of Externally-Controlled Format String The advisory has been revoked - it doesn't affect any version of package ruby-yajl  (opens in a new tab)


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-UBUNTU2004-RUBYYAJL-658571
  • 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)

Amendment

The Ubuntu security team deemed this advisory irrelevant for Ubuntu:20.04.

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 Ubuntu.

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.