Back
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…
Critical9.1EPSS 9.7%
- Published
- Updated
- Reserved
- Assigned by
- hackerone
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Critical9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
- EPSS (exploitation in 30 days)
- 9.7% · top 4.5% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.1.
Weakness
Affected products
HackerOne · Ruby
- affected Versions before 2.4.2, 2.3.5, and 2.2.8
References (13)
- USN-3685-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- https://hackerone.com/reports/212241 (opens in a new tab)x_refsource_MISCx_transferred
- RHSA-2018:0585 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2018:0378 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- DSA-4031 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- 100862 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- 1039363 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- RHSA-2017:3485 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- [debian-lts-announce] 20180714 [SECURITY] [DLA 1421-1] ruby2.1 security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- RHSA-2018:0583 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://github.com/mruby/mruby/issues/3722 (opens in a new tab)x_refsource_MISCx_transferred
- https://www.ruby-lang.org/en/news/2017/09/14/sprintf-buffer-underrun-cve-2017-0898/ (opens in a new tab)x_refsource_MISCx_transferred
- GLSA-201710-18 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2017-0898)Record last updated .