Live threats

All CVEs / Ruby-lang

CVE-2017-0898Ruby-lang Ruby

Critical 9.1 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ruby.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
ruby-langruby2.2.0
ruby-langruby2.2.1
ruby-langruby2.2.2
ruby-langruby2.2.3
ruby-langruby2.2.4
ruby-langruby2.2.5
ruby-langruby2.2.6
ruby-langruby2.2.7
ruby-langruby2.3.0
ruby-langruby2.3.1
ruby-langruby2.3.2
ruby-langruby2.3.3
ruby-langruby2.3.4
ruby-langruby2.4.0
ruby-langruby2.4.1

Official sources

References

Links published by the sources. Open them with care.