Breaking: Java4Shell (CVE-2026-114938) - Less Than 0.12% of JVMs Estimated at Risk of RCE
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2017-0898

ruby: Buffer underrun vulnerability in Kernel.sprintf

Overview

Published
15 Sep 2017
Modified
17 Jun 2026
Critical CVE
0 Registry packages
76 OS packages
5 Linux distributions
Yes Fix available

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: OX vulnerability database

Severity

9.1 · CRITICAL

CVSS 3.0 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Weakness: CWE-134

Affected packages · 0

No registry package. This ID affects operating system packages only.

Operating systems · 63 fixes

Oracle Linux 1 release · 9 packages

fixed 9
rubygem-io-console rubygem-rake rubygem-bigdecimal rubygem-json rubygem-psych ruby +3
Oracle Linux fixes for CVE-2017-0898
ReleasePackageFixed in
7 rubygem-io-console 0.4.2-33.el7_4
7 rubygem-rake 0.9.6-33.el7_4
7 rubygem-bigdecimal 1.2.0-33.el7_4
7 rubygem-json 1.7.7-33.el7_4
7 rubygem-psych 2.0.0-33.el7_4
7 ruby +5 2.0.0.648-33.el7_4

3 more rows

Red Hat 1 release · 48 packages

fixed 48
rh-ruby23-rubygem-net-telnet rh-ruby24-rubygem-net-telnet rh-ruby24-rubygem-xmlrpc rh-ruby22-rubygem-power-assert rh-ruby23-rubygem-power-assert rh-ruby24-rubygem-power-assert +42
Red Hat fixes for CVE-2017-0898
ReleasePackageFixed inAdvisory
7 rh-ruby23-rubygem-net-telnet 0:0.1.1-67.el7 RHSA-2018:0585
7 rh-ruby24-rubygem-net-telnet 0:0.1.1-86.el7 RHSA-2017:3485
7 rh-ruby24-rubygem-xmlrpc 0:0.2.1-86.el7 RHSA-2017:3485
7 rh-ruby22-rubygem-power-assert 0:0.2.2-19.el7 RHSA-2018:0583
7 rh-ruby23-rubygem-power-assert 0:0.2.6-67.el7 RHSA-2018:0585
7 rh-ruby24-rubygem-power-assert 0:0.4.1-86.el7 RHSA-2017:3485

42 more rows

SUSE Linux Enterprise 1 release · 1 package

fixed 1
libruby2-1-2-1
SUSE Linux Enterprise fixes for CVE-2017-0898
ReleasePackageFixed inAdvisory
12.5 libruby2-1-2-1 +3 2.1.9-19.3.2 SUSE-SU-2020:1570-1

alpine 4 releases · 1 package

fixed 4
ruby
alpine fixes for CVE-2017-0898
ReleasePackageFixed in
3.22 ruby 2.4.2-r0
3.23 ruby 2.4.2-r0
3.24 ruby 2.4.2-r0
edge ruby 2.4.2-r0

debian 1 release · 1 package

fixed 1
ruby2-3
debian fixes for CVE-2017-0898
ReleasePackageFixed in
9 ruby2-3 2.3.3-1+deb9u2

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.