VDB
CVE-2017-0898
CVE-2017-0898
PUBLISHED
Reported by hackerone · Published September 15, 2017
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| ruby | Alpine | 2.4.2-r0, 2.3.5-r0, 2.2.8-r0 |
| ruby2.0 | Ubuntu:14.04:LTS | 2.0.0.484-1ubuntu2.10 |
| ruby2.3 | Ubuntu:16.04:LTS | 2.3.1-2~16.04.10 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| HackerOne | Ruby | Versions before 2.4.2, 2.3.5, and 2.2.8 |
| alpine | ruby | 0, 0, 0 |
| HackerOne | Ruby | Versions before 2.4.2, 2.3.5, and 2.2.8 |
| alpine | ruby2.2 | 0 |
Timeline
- Sep 15, 2017 CVE Published
- Sep 22, 2017 PoC Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 5, 2026 Distribution Patch (13 in total, the first dated here)
- Mar 5, 2026 Security Advisory (13 in total, the first dated here)
- Oct 5, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-0898
vulnetix vdb fixes CVE-2017-0898
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-0898/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- USN-3685-1 vendor-advisoryx_refsource_UBUNTU
- x_refsource_MISC
- RHSA-2018:0585 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:0378 vendor-advisoryx_refsource_REDHAT
- DSA-4031 vendor-advisoryx_refsource_DEBIAN
- 100862 vdb-entryx_refsource_BID
- 1039363 vdb-entryx_refsource_SECTRACK
- RHSA-2017:3485 vendor-advisoryx_refsource_REDHAT
- [debian-lts-announce] 20180714 [SECURITY] [DLA 1421-1] ruby2.1 security update mailing-listx_refsource_MLIST
- RHSA-2018:0583 vendor-advisoryx_refsource_REDHAT
- x_refsource_MISC
- x_refsource_MISC
- GLSA-201710-18 vendor-advisoryx_refsource_GENTOO