National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2017-0898 Detail

Current Description

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.

Source:  MITRE
View Analysis Description

Severity



CVSS 3.x Severity and Metrics:

NIST CVSS score
NIST: NVD
Base Score: 9.1 CRITICAL
Vector:  CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://www.securityfocus.com/bid/100862 Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1039363 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2017:3485
https://access.redhat.com/errata/RHSA-2018:0378
https://access.redhat.com/errata/RHSA-2018:0583
https://access.redhat.com/errata/RHSA-2018:0585
https://github.com/mruby/mruby/issues/3722 Exploit Third Party Advisory
https://hackerone.com/reports/212241 Exploit Third Party Advisory
https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
https://security.gentoo.org/glsa/201710-18
https://usn.ubuntu.com/3685-1/
https://www.debian.org/security/2017/dsa-4031
https://www.ruby-lang.org/en/news/2017/09/14/sprintf-buffer-underrun-cve-2017-0898/ Vendor Advisory

Weakness Enumeration

CWE-ID CWE Name Source
CWE-134 Use of Externally-Controlled Format String NIST   HackerOne  

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:ruby-lang:ruby:2.2.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:2.2.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:2.2.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:2.2.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:2.2.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:2.2.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:2.2.6:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:2.2.7:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:2.3.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:2.3.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:2.3.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:2.3.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:2.3.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:2.4.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:2.4.1:*:*:*:*:*:*:*
     Show Matching CPE(s)


Change History

12 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2017-0898
NVD Published Date:
09/15/2017
NVD Last Modified:
07/14/2018