Original 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.
Affected software
- Ruby = 2.3.3= 2.4.0= 2.3.1= 2.2.6= 2.2.2= 2.4.1 exact match
Details
- Published
- 2017-09-16
- Last modified
- 2024-09-17
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H- CWE
- CWE-134
References
- cve.org/CVE-2017-0898
- nvd.nist.gov/vuln/detail/CVE-2017-0898
- usn.ubuntu.com/3685-1/
- hackerone.com/reports/212241
- access.redhat.com/errata/RHSA-2018:0585
- access.redhat.com/errata/RHSA-2018:0378
- www.debian.org/security/2017/dsa-4031
- www.securityfocus.com/bid/100862
- www.securitytracker.com/id/1039363
- access.redhat.com/errata/RHSA-2017:3485
- lists.debian.org/debian-lts-announce/2018/07/msg00012.html
- access.redhat.com/errata/RHSA-2018:0583
- github.com/mruby/mruby/issues/3722
- www.ruby-lang.org/en/news/2017/09/14/sprintf-buffer-underrun-cve-2017-0898/
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.