CVE-2017-0898

9.1 CRITICAL
Published: September 15, 2017 Modified: May 13, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
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

Patch Vendor Advisory Exploit Third Party Advisory
http://www.securityfocus.com/bid/100862
Source: support@hackerone.com
Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1039363
Source: support@hackerone.com
Third Party Advisory VDB Entry
https://github.com/mruby/mruby/issues/3722
Source: support@hackerone.com
Exploit Third Party Advisory
https://hackerone.com/reports/212241
Source: support@hackerone.com
Exploit Third Party Advisory
https://security.gentoo.org/glsa/201710-18
Source: support@hackerone.com
https://usn.ubuntu.com/3685-1/
Source: support@hackerone.com
http://www.securityfocus.com/bid/100862
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1039363
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2017:3485
Source: af854a3a-2127-422b-91ae-364da2661108
https://access.redhat.com/errata/RHSA-2018:0378
Source: af854a3a-2127-422b-91ae-364da2661108
https://access.redhat.com/errata/RHSA-2018:0583
Source: af854a3a-2127-422b-91ae-364da2661108
https://access.redhat.com/errata/RHSA-2018:0585
Source: af854a3a-2127-422b-91ae-364da2661108
https://github.com/mruby/mruby/issues/3722
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Third Party Advisory
https://hackerone.com/reports/212241
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Third Party Advisory
https://security.gentoo.org/glsa/201710-18
Source: af854a3a-2127-422b-91ae-364da2661108
https://usn.ubuntu.com/3685-1/
Source: af854a3a-2127-422b-91ae-364da2661108
https://www.debian.org/security/2017/dsa-4031
Source: af854a3a-2127-422b-91ae-364da2661108
https://www.ruby-lang.org/en/news/2017/09/14/sprintf-buffer-underrun-cve-2017-0898/
Source: af854a3a-2127-422b-91ae-364da2661108
Vendor Advisory

26 reference(s) from NVD

Quick Stats

CVSS v3 Score
9.1 / 10.0
EPSS (Exploit Probability)
9.7%
95th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

ruby-lang