9.1crit
CVE-2017-0898
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 va…
Published 9 y ago · modified 4 mo ago · JSON
CVSS
9.1
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
9.7%
percentile 96%
Public exploits
0
none known
Summary
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.
Exploit prediction (EPSS)
9.72% probability of exploitation in the next 30 days, higher than 96% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| NVD | 2.0 | 6.4 | AV:N/AC:L/Au:N/C:P/I:N/A:P |
Affected products
- HackerOne Ruby
Classification
- Weakness
- CWE-134 Use of Externally-Controlled Format String
References
- usn.ubuntu.com /3685-1/ · vendor-advisory, x_refsource_UBUNTU, x_transferred
- hackerone.com /reports/212241 · x_refsource_MISC, x_transferred
- access.redhat.com /errata/RHSA-2018:0585 · vendor-advisory, x_refsource_REDHAT, x_transferred
- access.redhat.com /errata/RHSA-2018:0378 · vendor-advisory, x_refsource_REDHAT, x_transferred
- debian.org /security/2017/dsa-4031 · vendor-advisory, x_refsource_DEBIAN, x_transferred
- securityfocus.com /bid/100862 · vdb-entry, x_refsource_BID, x_transferred
- securitytracker.com /id/1039363 · vdb-entry, x_refsource_SECTRACK, x_transferred
- access.redhat.com /errata/RHSA-2017:3485 · vendor-advisory, x_refsource_REDHAT, x_transferred
- lists.debian.org /debian-lts-announce/2018/07/msg00012.html · mailing-list, x_refsource_MLIST, x_transferred
- access.redhat.com /errata/RHSA-2018:0583 · vendor-advisory, x_refsource_REDHAT, x_transferred
- github.com /mruby/mruby/issues/3722 · x_refsource_MISC, x_transferred
- ruby-lang.org /en/news/2017/09/14/sprintf-buffer-underrun-cve-2017-0898/ · x_refsource_MISC, x_transferred
- security.gentoo.org /glsa/201710-18 · vendor-advisory, x_refsource_GENTOO, x_transferred
Sources
- CVE List: CVE-2017-0898
- NVD: CVE-2017-0898
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.