Use of Externally-Controlled Format String Affecting yajl package, versions <2.1.0-4


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

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-ECHOLATEST-YAJL-22588081
  • published18 Nov 2026
  • 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 Echo:latest yajl to version 2.1.0-4 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 Echo. See How to fix? for Echo:latest 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