CVE-2017-0898: hackerone ruby
Vulnerability summary
CVE-2017-0898 is a critical (CVSS 9.1) vulnerability in hackerone ruby. EPSS estimates a 9.72% chance of exploitation in the next 30 days, higher than 95.5% of scored vulnerabilities. 2 public exploits are recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 12 · Related 3Timeline
- 15-09-2017PublishedVulnerability first disclosed.
- 17-09-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated9.1CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated9.1CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
EPSS trend
Probability
9.72%
Chance of exploitation in the next 30 days
Percentile
96%
Versus all other CVEs
30-day change
No change 0.00 pp
From 9.72% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
2 foundMruby
Maturity: poc
Exploit Reference (hackerone.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu3 products
- ruby1.9.1< 1.9.3.484-2ubuntu1.5
- ruby2.0< 2.0.0.484-1ubuntu2.10
- ruby2.3< 2.3.1-2~16.04.10
Alpine2 products
- ruby< 2.4.2-r0 | < 2.2.8-r0 | < 2.3.5-r0
- ruby2.2< 2.2.8-r0
Hackerone1 product
- rubyVersions before 2.4.2, 2.3.5, and 2.2.8
Ruby-lang1 product
- rubyEOL2.2.0 | 2.2.1 | 2.2.2 | 2.2.3 | 2.2.4 | 2.2.5 | 2.2.6 | 2.2.7 | 2.3.0 | 2.3.1 | 2.3.2 | 2.3.3 | 2.3.4 | 2.4.0 | 2.4.1
4 vendors · 7 products
References
18 linksShow all 18 references
- www.ruby-lang.org/en/news/2017/09/14/sprintf-buffer-underrun-cve-2017-0898/X Refsource MISCVendor AdvisoryREPORT