Live threats

All CVEs / Yajl-ruby Project

CVE-2017-16516Yajl-ruby Project Yajl-ruby

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
3.8%
probability of exploitation in 30 days · percentile 91
Auth required
No
Published
Nov 3, 2017
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-134
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Yajl-ruby.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems yajl-ruby < 1.3.1 1.3.1 gem "yajl-ruby", ">= 1.3.1"

Per OSV / GitHub Advisories (GHSA-wwh7-4jw9-33x6). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
yajl-ruby_projectyajl-ruby1.3.0
debiandebian_linux7.0

Official sources

References

Links published by the sources. Open them with care.