{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2017-0898","published":"2017-09-15T19:29:00.190000Z","last_modified":"2026-06-17T00:58:29.160000Z","status":"Modified","cvss":{"version":"3.0","score":9.1,"severity":"CRITICAL","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-134"],"cpes":[{"criteria":"cpe:2.3:a:ruby-lang:ruby:2.2.0:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"2.2.0"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:2.2.1:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"2.2.1"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:2.2.2:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"2.2.2"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:2.2.3:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"2.2.3"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:2.2.4:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"2.2.4"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:2.2.5:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"2.2.5"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:2.2.6:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"2.2.6"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:2.2.7:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"2.2.7"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:2.3.0:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"2.3.0"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:2.3.1:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"2.3.1"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:2.3.2:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"2.3.2"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:2.3.3:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"2.3.3"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:2.3.4:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"2.3.4"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:2.4.0:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"2.4.0"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:2.4.1:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"2.4.1"}],"cpes_truncated":false,"vendors":["ruby-lang"],"products":["ruby-lang/ruby"],"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":70,"links":{"html_es":"/es/cve/CVE-2017-0898/","html_en":"/en/cve/CVE-2017-0898/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-0898","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-0898"},"untrusted":{"vendor_name":"Ruby-lang","product_name":"Ruby","desc_en":"Ruby before 2.4.2, 2.3.5, and 2.2.8 is vulnerable to a malicious format string which contains a precious specifier (*) with a huge minus value. Such situation can lead to a buffer overrun, resulting in a heap memory corruption or an information disclosure from the heap.","affected":[{"untrusted_vendor":"HackerOne","untrusted_product":"Ruby"}],"references":[{"url":"http://www.securityfocus.com/bid/100862","tags":["Third Party Advisory","VDB Entry"]},{"url":"http://www.securitytracker.com/id/1039363","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://access.redhat.com/errata/RHSA-2017:3485","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2018:0378","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2018:0583","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2018:0585","tags":[]},{"url":"https://github.com/mruby/mruby/issues/3722","tags":["Exploit","Third Party Advisory"]},{"url":"https://hackerone.com/reports/212241","tags":["Exploit","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html","tags":[]},{"url":"https://security.gentoo.org/glsa/201710-18","tags":[]},{"url":"https://usn.ubuntu.com/3685-1/","tags":[]},{"url":"https://www.debian.org/security/2017/dsa-4031","tags":[]},{"url":"https://www.ruby-lang.org/en/news/2017/09/14/sprintf-buffer-underrun-cve-2017-0898/","tags":["Vendor Advisory"]}]}}