{"id":"CVE-2017-0898","published":"2017-09-15T19:00:00Z","modified":"2024-09-17T01:36:46Z","title":"Ruby before 2.4.2, 2.3.5, and 2.2.8 is vulnerable to a malicious format string which contains a precious specifier (*)…","vendor":"HackerOne","product":"Ruby","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.09718,"percentile":0.9563,"provenance":"source"},"cwes":[{"id":"CWE-134","name":"Use of Externally-Controlled Format String"}],"references":[{"url":"https://usn.ubuntu.com/3685-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://hackerone.com/reports/212241","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/errata/RHSA-2018:0585","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2018:0378","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://www.debian.org/security/2017/dsa-4031","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.securityfocus.com/bid/100862","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.securitytracker.com/id/1039363","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://access.redhat.com/errata/RHSA-2017:3485","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://access.redhat.com/errata/RHSA-2018:0583","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://github.com/mruby/mruby/issues/3722","tags":["x_refsource_MISC"]},{"url":"https://www.ruby-lang.org/en/news/2017/09/14/sprintf-buffer-underrun-cve-2017-0898/","tags":["x_refsource_MISC"]},{"url":"https://security.gentoo.org/glsa/201710-18","tags":["vendor-advisory","x_refsource_GENTOO"]}],"priority":{"score":19.1,"factors":[{"name":"EPSS percentile","points":19.13}]},"vendorSlug":"hackerone","affectedVersions":[{"vendor":"HackerOne","product":"Ruby","versions":["Versions before 2.4.2, 2.3.5, and 2.2.8"]}],"summary":{"text":"The flaw is an externally-controlled format string weakness in Ruby, affecting versions before 2.4.2, 2.3.5, and 2.2.8, where a format string containing a precision specifier (*) with a very large negative value is mishandled.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:51:31Z"},"euvd":{"id":"EUVD-2017-1251","exploited":false,"provenance":"source"}}