Use of Externally-Controlled Format String Affecting yajl package, versions <2.1.0-2ubuntu0.18.04.1~esm1


Severity

Recommended
low

Based on Ubuntu 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-UBUNTU1804-YAJL-342183
  • 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 Ubuntu:18.04 yajl to version 2.1.0-2ubuntu0.18.04.1~esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream yajl package and not the yajl package as distributed by Ubuntu. See How to fix? for Ubuntu:18.04 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