cve.bz

CVE-2017-16516

7.5 highExploit referenceEPSS 3.8%Fix available

High (7.5). EPSS 3.8% estimated probability of exploitation activity in the next 30 days. Fixed in yajl-ruby 1.3.1.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
3.8% (unchanged from 3.8% a week ago; 3.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 90th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-134 Use of Externally-Controlled Format String
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-16516 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-16516?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-16516?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-16516 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
yajl-ruby_project:yajl-ruby1.3.0
debian:debian_linux7.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-wwh7-4jw9-33x6RubyGemsyajl-ruby<1.3.11.3.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7ruby-yajl1.1.0-2+deb7u1DLA-1167-1
Debian10burp2.1.32-2+deb10u1DLA-3516-1
Debian10yajl2.1.0-3+deb10u2DLA-3492-1
Debian12burp, r-cran-jsonliteno fix listedDEBIAN-CVE-2017-16516
Debian12yajl2.1.0-3+deb12u2DEBIAN-CVE-2017-16516
Debian12, 13, 14ruby-yajl1.2.0-3.1DEBIAN-CVE-2017-16516
Debian13burp3.1.4-2DEBIAN-CVE-2017-16516
Debian13, 14r-cran-jsonlite1.8.8+dfsg-1DEBIAN-CVE-2017-16516
Debian13, 14yajl2.1.0-4DEBIAN-CVE-2017-16516
Ubuntu16.04:LTSruby-yajlno fix listedUBUNTU-CVE-2017-16516
Ubuntu20.04:LTSyajl2.1.0-3ubuntu0.20.04.1UBUNTU-CVE-2017-16516 USN-6233-2
Ubuntu22.04:LTSyajl2.1.0-3ubuntu0.22.04.1UBUNTU-CVE-2017-16516 USN-6233-2
UbuntuPro:14.04:LTSyajl2.0.4-4ubuntu0.1~esm1UBUNTU-CVE-2017-16516 USN-6233-1
UbuntuPro:16.04:LTSyajl2.1.0-2ubuntu0.16.04.1~esm1UBUNTU-CVE-2017-16516 USN-6233-1
UbuntuPro:18.04:LTSyajl2.1.0-2ubuntu0.18.04.1~esm1UBUNTU-CVE-2017-16516 USN-6233-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) Operational Toolsrubygem-yajl-rubyWill not fix
Red Hat OpenShift Enterprise 3rubygem-yajl-rubyNot affected
Red Hat OpenStack Platform 10 (Newton) Operational Toolsrubygem-yajl-rubyWill not fix
Red Hat OpenStack Platform 11 (Ocata) Operational Toolsrubygem-yajl-rubyWill not fix
Red Hat OpenStack Platform 12 (Pike) Operational Toolsrubygem-yajl-rubyWill not fix
Red Hat OpenStack Platform 13 (Queens) Operational Toolsrubygem-yajl-rubyAffected
Red Hat OpenStack Platform 8 (Liberty) Operational Toolsrubygem-yajl-rubyWill not fix
Red Hat OpenStack Platform 9 (Mitaka) Operational Toolsrubygem-yajl-rubyWill not fix
Red Hat Virtualization 4rubygem-yajl-rubyWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-16516.

Attack patterns (CAPEC)

  • CAPEC-67 String Format Overflow in syslog() Likelihood: High · Severity: Very High
  • CAPEC-135 Format String Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON