CVE-2017-16516Yajl-ruby Project Yajl-ruby
High 7.5 No auth needed
Follow: this CVE · Yajl-ruby Project · Yajl-ruby Project Yajl-ruby We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Yajl-ruby.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| yajl-ruby_project | yajl-ruby | 1.3.0 |
| debian | debian_linux | 7.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory
- lists.debian.org Third Party Advisory
- lists.debian.org
- lists.debian.org
- rubygems.org Third Party Advisory