Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. yajl-ruby
  4. ›
  5. CVE-2017-16516

CVE-2017-16516: Denial of Service via SIGABRT

November 3, 2017 (updated March 10, 2020)

In the yajl-ruby gem 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_decodefunction inyajl_encode.c.` This results in the whole ruby process terminating and potentially a denial of service.

References

  • github.com/brianmario/yajl-ruby/issues/176
  • nvd.nist.gov/vuln/detail/CVE-2017-16516

Code Behaviors & Features

Detect and mitigate CVE-2017-16516 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

Version 1.3.0

Fixed versions

  • 1.3.1

Solution

Upgrade to version 1.3.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-134: Use of Externally-Controlled Format String

Source file

gem/yajl-ruby/CVE-2017-16516.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:04 +0000.