CVE-2017-0898
ruby: Buffer underrun vulnerability in Kernel.sprintf
Overview
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
| Release | Package | Fixed 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | libruby2-1-2-1 +3 | 2.1.9-19.3.2 | SUSE-SU-2020:1570-1 |
alpine 4 releases · 1 package
| Release | Package | Fixed 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
| Release | Package | Fixed in |
|---|---|---|
| 9 | ruby2-3 | 2.3.3-1+deb9u2 |
References
- www.securityfocus.com http://www.securityfocus.com/bid/100862
- www.securitytracker.com http://www.securitytracker.com/id/1039363
- access.redhat.com https://access.redhat.com/errata/RHSA-2017:3485
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:0378
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:0583
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:0585
- access.redhat.com https://access.redhat.com/security/cve/CVE-2017-0898
- github.com https://github.com/mruby/mruby/issues/3722
- hackerone.com https://hackerone.com/reports/212241
- linux.oracle.com https://linux.oracle.com/cve/CVE-2017-0898.html
Show all 20 references
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2018-0378.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2017-0898
- security.gentoo.org https://security.gentoo.org/glsa/201710-18
- ubuntu.com https://ubuntu.com/security/notices/USN-3439-1
- ubuntu.com https://ubuntu.com/security/notices/USN-3685-1
- usn.ubuntu.com https://usn.ubuntu.com/3685-1/
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2017-0898
- www.debian.org https://www.debian.org/security/2017/dsa-4031
- www.ruby-lang.org https://www.ruby-lang.org/en/news/2017/09/14/sprintf-buffer-underrun-cve-2017-0898/
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.