Home / HackerOne / Ruby / CVE-2017-0898
CVE-2017-0898: is it exploited, and which versions of HackerOne Ruby are affected and fixed?
CVE-2017-0898 is a format string flaw vulnerability in HackerOne Ruby. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 08:38 UTC). Affected: Ruby Versions before 2.4.2, 2.3.5, and 2.2.8 (CVE record by hackerone). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Critical (9.1, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:38 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:38 UTC.
What is 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 value. Such situation can lead to a buffer overrun, resulting in a heap memory corruption or an information disclosure from the heap.
From the CVE record by hackerone, last updated September 17, 2024, 01:36 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| HackerOne | Ruby | Versions before 2.4.2, 2.3.5, and 2.2.8 |
As the CVE record by hackerone states it, last updated September 17, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| ruby-lang | ruby | 2.2.0 | application |
| ruby-lang | ruby | 2.2.1 | application |
| ruby-lang | ruby | 2.2.2 | application |
| ruby-lang | ruby | 2.2.3 | application |
| ruby-lang | ruby | 2.2.4 | application |
| ruby-lang | ruby | 2.2.5 | application |
| ruby-lang | ruby | 2.2.6 | application |
| ruby-lang | ruby | 2.2.7 | application |
| ruby-lang | ruby | 2.3.0 | application |
| ruby-lang | ruby | 2.3.1 | application |
| ruby-lang | ruby | 2.3.2 | application |
| ruby-lang | ruby | 2.3.3 | application |
| ruby-lang | ruby | 2.3.4 | application |
| ruby-lang | ruby | 2.4.0 | application |
| ruby-lang | ruby | 2.4.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 00:58 UTC.
How severe is CVE-2017-0898?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.1 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H | NVD |
| Medium 6.4 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2017-0898 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 9.72% probability of exploitation activity in the next 30 days, percentile 95.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-134 Use of Externally-Controlled Format String
Where are the vendor advisories and references?
- USN-3685-1 vendor-advisory, x_refsource_UBUNTU
- https://hackerone.com/reports/212241 x_refsource_MISC
- RHSA-2018:0585 vendor-advisory, x_refsource_REDHAT
- RHSA-2018:0378 vendor-advisory, x_refsource_REDHAT
- DSA-4031 vendor-advisory, x_refsource_DEBIAN
- 100862 vdb-entry, x_refsource_BID
- 1039363 vdb-entry, x_refsource_SECTRACK
- RHSA-2017:3485 vendor-advisory, x_refsource_REDHAT
- [debian-lts-announce] 20180714 [SECURITY] [DLA 1421-1] ruby2.1 security update mailing-list, x_refsource_MLIST
- RHSA-2018:0583 vendor-advisory, x_refsource_REDHAT
- https://github.com/mruby/mruby/issues/3722 x_refsource_MISC
- https://www.ruby-lang.org/en/news/2017/09/14/sprintf-buffer-underrun-cve-2017-0898/ x_refsource_MISC
- GLSA-201710-18 vendor-advisory, x_refsource_GENTOO
When was it published, and where is the official record?
- Reserved
- November 30, 2016
- Published
- September 15, 2017, 19:00 UTC
- CVE record updated
- September 17, 2024, 01:36 UTC by hackerone
- NVD
- Modified, last modified June 17, 2026, 00:58 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:38 UTC; KEV December 3, 2026, 08:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2017-0898
Is CVE-2017-0898 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:38 UTC. FIRST's EPSS gives it a 9.72% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of HackerOne Ruby are affected by CVE-2017-0898?
Ruby Versions before 2.4.2, 2.3.5, and 2.2.8, per the CVE record by hackerone. The tables above give every range the sources list.
Which version fixes CVE-2017-0898?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2017-0898?
Critical (9.1, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2017-0898?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.