CVE-2017-0898
ruby: Buffer underrun vulnerability in Kernel.sprintf
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
2Exploited in Wild
-Decision
Descriptions
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.
Ruby, en versiones anteriores a la 2.4.2, 2.3.5 y 2.2.8, es vulnerable a una cadena de formato maliciosa qe contiene un especificador (*) con un valor grande negativo. Esta situación puede provocar un desbordamiento de búfer, provocando una corrupción de la memoria dinámica (heap) o una fuga de información de dicha memoria dinámica.
A buffer underflow was found in ruby's sprintf function. An attacker, with ability to control its format string parameter, could send a specially crafted string that would disclose heap memory or crash the interpreter.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2016-11-30 CVE Reserved
- 2017-09-15 CVE Published
- 2024-04-18 EPSS Updated
- 2024-09-17 CVE Updated
- 2024-09-17 First Exploit
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-122: Heap-based Buffer Overflow
- CWE-134: Use of Externally-Controlled Format String
CAPEC
References (15)
URL | Tag | Source |
---|---|---|
http://www.securityfocus.com/bid/100862 | Third Party Advisory | |
http://www.securitytracker.com/id/1039363 | Third Party Advisory | |
https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html | Mailing List |
URL | Date | SRC |
---|---|---|
https://github.com/mruby/mruby/issues/3722 | 2024-09-17 | |
https://hackerone.com/reports/212241 | 2024-09-17 |
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://access.redhat.com/errata/RHSA-2017:3485 | 2018-07-15 | |
https://access.redhat.com/errata/RHSA-2018:0378 | 2018-07-15 | |
https://access.redhat.com/errata/RHSA-2018:0583 | 2018-07-15 | |
https://access.redhat.com/errata/RHSA-2018:0585 | 2018-07-15 | |
https://security.gentoo.org/glsa/201710-18 | 2018-07-15 | |
https://usn.ubuntu.com/3685-1 | 2018-07-15 | |
https://www.debian.org/security/2017/dsa-4031 | 2018-07-15 | |
https://www.ruby-lang.org/en/news/2017/09/14/sprintf-buffer-underrun-cve-2017-0898 | 2018-07-15 | |
https://access.redhat.com/security/cve/CVE-2017-0898 | 2018-03-26 | |
https://bugzilla.redhat.com/show_bug.cgi?id=1492015 | 2018-03-26 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Ruby-lang Search vendor "Ruby-lang" | Ruby Search vendor "Ruby-lang" for product "Ruby" | 2.2.0 Search vendor "Ruby-lang" for product "Ruby" and version "2.2.0" | - |
Affected
| ||||||
Ruby-lang Search vendor "Ruby-lang" | Ruby Search vendor "Ruby-lang" for product "Ruby" | 2.2.1 Search vendor "Ruby-lang" for product "Ruby" and version "2.2.1" | - |
Affected
| ||||||
Ruby-lang Search vendor "Ruby-lang" | Ruby Search vendor "Ruby-lang" for product "Ruby" | 2.2.2 Search vendor "Ruby-lang" for product "Ruby" and version "2.2.2" | - |
Affected
| ||||||
Ruby-lang Search vendor "Ruby-lang" | Ruby Search vendor "Ruby-lang" for product "Ruby" | 2.2.3 Search vendor "Ruby-lang" for product "Ruby" and version "2.2.3" | - |
Affected
| ||||||
Ruby-lang Search vendor "Ruby-lang" | Ruby Search vendor "Ruby-lang" for product "Ruby" | 2.2.4 Search vendor "Ruby-lang" for product "Ruby" and version "2.2.4" | - |
Affected
| ||||||
Ruby-lang Search vendor "Ruby-lang" | Ruby Search vendor "Ruby-lang" for product "Ruby" | 2.2.5 Search vendor "Ruby-lang" for product "Ruby" and version "2.2.5" | - |
Affected
| ||||||
Ruby-lang Search vendor "Ruby-lang" | Ruby Search vendor "Ruby-lang" for product "Ruby" | 2.2.6 Search vendor "Ruby-lang" for product "Ruby" and version "2.2.6" | - |
Affected
| ||||||
Ruby-lang Search vendor "Ruby-lang" | Ruby Search vendor "Ruby-lang" for product "Ruby" | 2.2.7 Search vendor "Ruby-lang" for product "Ruby" and version "2.2.7" | - |
Affected
| ||||||
Ruby-lang Search vendor "Ruby-lang" | Ruby Search vendor "Ruby-lang" for product "Ruby" | 2.3.0 Search vendor "Ruby-lang" for product "Ruby" and version "2.3.0" | - |
Affected
| ||||||
Ruby-lang Search vendor "Ruby-lang" | Ruby Search vendor "Ruby-lang" for product "Ruby" | 2.3.1 Search vendor "Ruby-lang" for product "Ruby" and version "2.3.1" | - |
Affected
| ||||||
Ruby-lang Search vendor "Ruby-lang" | Ruby Search vendor "Ruby-lang" for product "Ruby" | 2.3.2 Search vendor "Ruby-lang" for product "Ruby" and version "2.3.2" | - |
Affected
| ||||||
Ruby-lang Search vendor "Ruby-lang" | Ruby Search vendor "Ruby-lang" for product "Ruby" | 2.3.3 Search vendor "Ruby-lang" for product "Ruby" and version "2.3.3" | - |
Affected
| ||||||
Ruby-lang Search vendor "Ruby-lang" | Ruby Search vendor "Ruby-lang" for product "Ruby" | 2.3.4 Search vendor "Ruby-lang" for product "Ruby" and version "2.3.4" | - |
Affected
| ||||||
Ruby-lang Search vendor "Ruby-lang" | Ruby Search vendor "Ruby-lang" for product "Ruby" | 2.4.0 Search vendor "Ruby-lang" for product "Ruby" and version "2.4.0" | - |
Affected
| ||||||
Ruby-lang Search vendor "Ruby-lang" | Ruby Search vendor "Ruby-lang" for product "Ruby" | 2.4.1 Search vendor "Ruby-lang" for product "Ruby" and version "2.4.1" | - |
Affected
|