CVE-2017-0898Ruby-lang Ruby
Critical 9.1 No auth needed
Follow: this CVE · Ruby-lang · Ruby-lang Ruby We alert you by email or Slack (account required).
- Priority
- 71
- CVSS 3.0
- 9.1
- EPSS
- 9.7% probability of exploitation in 30 days · percentile 96
- Auth required
- No
- Published
- Sep 15, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-134
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Ruby.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ruby-lang | ruby | 2.2.0 |
| ruby-lang | ruby | 2.2.1 |
| ruby-lang | ruby | 2.2.2 |
| ruby-lang | ruby | 2.2.3 |
| ruby-lang | ruby | 2.2.4 |
| ruby-lang | ruby | 2.2.5 |
| ruby-lang | ruby | 2.2.6 |
| ruby-lang | ruby | 2.2.7 |
| ruby-lang | ruby | 2.3.0 |
| ruby-lang | ruby | 2.3.1 |
| ruby-lang | ruby | 2.3.2 |
| ruby-lang | ruby | 2.3.3 |
| ruby-lang | ruby | 2.3.4 |
| ruby-lang | ruby | 2.4.0 |
| ruby-lang | ruby | 2.4.1 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Third Party Advisory VDB Entry
- www.securitytracker.com Third Party Advisory VDB Entry
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- github.com Exploit Third Party Advisory
- hackerone.com Exploit Third Party Advisory
- lists.debian.org
- security.gentoo.org
- usn.ubuntu.com
- www.debian.org
- www.ruby-lang.org Vendor Advisory