CVE-2017-0898

Summary

CVECVE-2017-0898
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2017-09-15 19:29:00 UTC
Updated2018-07-15 01:29:00 UTC
DescriptionRuby 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.

Risk And Classification

Problem Types: CWE-134

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Ruby-lang Ruby 2.2.0 All All All
Application Ruby-lang Ruby 2.2.1 All All All
Application Ruby-lang Ruby 2.2.2 All All All
Application Ruby-lang Ruby 2.2.3 All All All
Application Ruby-lang Ruby 2.2.4 All All All
Application Ruby-lang Ruby 2.2.5 All All All
Application Ruby-lang Ruby 2.2.6 All All All
Application Ruby-lang Ruby 2.2.7 All All All
Application Ruby-lang Ruby 2.3.0 All All All
Application Ruby-lang Ruby 2.3.1 All All All
Application Ruby-lang Ruby 2.3.2 All All All
Application Ruby-lang Ruby 2.3.3 All All All
Application Ruby-lang Ruby 2.3.4 All All All
Application Ruby-lang Ruby 2.4.0 All All All
Application Ruby-lang Ruby 2.4.1 All All All
Application Ruby-lang Ruby 2.2.0 All All All
Application Ruby-lang Ruby 2.2.1 All All All
Application Ruby-lang Ruby 2.2.2 All All All
Application Ruby-lang Ruby 2.2.3 All All All
Application Ruby-lang Ruby 2.2.4 All All All
Application Ruby-lang Ruby 2.2.5 All All All
Application Ruby-lang Ruby 2.2.6 All All All
Application Ruby-lang Ruby 2.2.7 All All All
Application Ruby-lang Ruby 2.3.0 All All All
Application Ruby-lang Ruby 2.3.1 All All All
Application Ruby-lang Ruby 2.3.2 All All All
Application Ruby-lang Ruby 2.3.3 All All All
Application Ruby-lang Ruby 2.3.4 All All All
Application Ruby-lang Ruby 2.4.0 All All All
Application Ruby-lang Ruby 2.4.1 All All All

References

ReferenceSourceLinkTags
HackerOne MISC hackerone.com Exploit, Third Party Advisory
CVE-2017-0898: Buffer underrun vulnerability in Kernel.sprintf MISC www.ruby-lang.org Vendor Advisory
Red Hat Customer Portal REDHAT access.redhat.com
[SECURITY] [DLA 1421-1] ruby2.1 security update MLIST lists.debian.org
Red Hat Customer Portal REDHAT access.redhat.com
Debian -- Security Information -- DSA-4031-1 ruby2.3 DEBIAN www.debian.org
Ruby: Multiple vulnerabilities (GLSA 201710-18) — Gentoo security GENTOO security.gentoo.org
Ruby Multiple Flaws Let Remote Users Inject Log Data, Deny Service, and Obtain Potentially Sensitive Information from the Heap - SecurityTracker SECTRACK www.securitytracker.com Third Party Advisory, VDB Entry
USN-3685-1: Ruby vulnerabilities | Ubuntu security notices UBUNTU usn.ubuntu.com
Red Hat Customer Portal REDHAT access.redhat.com
Red Hat Customer Portal REDHAT access.redhat.com
Ruby CVE-2017-0898 Buffer Underrun Vulnerability BID www.securityfocus.com Third Party Advisory, VDB Entry
Heap use-after-free in mrb_str_format · Issue #3722 · mruby/mruby · GitHub MISC github.com Exploit, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 500608 Alpine Linux Security Update for ruby
  • 504368 Alpine Linux Security Update for ruby
  • 710368 Gentoo Linux Ruby Multiple Vulnerabilities (GLSA 201710-18)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report