CVE-2017-0898

Source
https://cve.org/CVERecord?id=CVE-2017-0898
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-0898.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2017-0898
Downstream
Related
Published
2017-09-15T19:29:00.190Z
Modified
2026-07-08T22:49:47.726770Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/ruby/ruby

Affected ranges

Type
GIT
Repo
https://github.com/ruby/ruby
Events
Database specific
{
    "source": "CPE_STRING",
    "cpe": [
        "cpe:2.3:a:ruby-lang:ruby:2.2.0:*:*:*:*:*:*:*",
        "cpe:2.3:a:ruby-lang:ruby:2.2.1:*:*:*:*:*:*:*",
        "cpe:2.3:a:ruby-lang:ruby:2.2.2:*:*:*:*:*:*:*",
        "cpe:2.3:a:ruby-lang:ruby:2.2.3:*:*:*:*:*:*:*",
        "cpe:2.3:a:ruby-lang:ruby:2.2.4:*:*:*:*:*:*:*",
        "cpe:2.3:a:ruby-lang:ruby:2.2.5:*:*:*:*:*:*:*",
        "cpe:2.3:a:ruby-lang:ruby:2.2.6:*:*:*:*:*:*:*",
        "cpe:2.3:a:ruby-lang:ruby:2.2.7:*:*:*:*:*:*:*",
        "cpe:2.3:a:ruby-lang:ruby:2.3.0:*:*:*:*:*:*:*",
        "cpe:2.3:a:ruby-lang:ruby:2.3.1:*:*:*:*:*:*:*",
        "cpe:2.3:a:ruby-lang:ruby:2.3.2:*:*:*:*:*:*:*",
        "cpe:2.3:a:ruby-lang:ruby:2.3.3:*:*:*:*:*:*:*",
        "cpe:2.3:a:ruby-lang:ruby:2.3.4:*:*:*:*:*:*:*",
        "cpe:2.3:a:ruby-lang:ruby:2.4.0:*:*:*:*:*:*:*",
        "cpe:2.3:a:ruby-lang:ruby:2.4.1:*:*:*:*:*:*:*"
    ],
    "extracted_events": [
        {
            "introduced": "2.2.0"
        },
        {
            "last_affected": "2.2.0"
        },
        {
            "introduced": "2.2.1"
        },
        {
            "last_affected": "2.2.1"
        },
        {
            "introduced": "2.2.2"
        },
        {
            "last_affected": "2.2.2"
        },
        {
            "introduced": "2.2.3"
        },
        {
            "last_affected": "2.2.3"
        },
        {
            "introduced": "2.2.4"
        },
        {
            "last_affected": "2.2.4"
        },
        {
            "introduced": "2.2.5"
        },
        {
            "last_affected": "2.2.5"
        },
        {
            "introduced": "2.2.6"
        },
        {
            "last_affected": "2.2.6"
        },
        {
            "introduced": "2.2.7"
        },
        {
            "last_affected": "2.2.7"
        },
        {
            "introduced": "2.3.0"
        },
        {
            "last_affected": "2.3.0"
        },
        {
            "introduced": "2.3.1"
        },
        {
            "last_affected": "2.3.1"
        },
        {
            "introduced": "2.3.2"
        },
        {
            "last_affected": "2.3.2"
        },
        {
            "introduced": "2.3.3"
        },
        {
            "last_affected": "2.3.3"
        },
        {
            "introduced": "2.3.4"
        },
        {
            "last_affected": "2.3.4"
        },
        {
            "introduced": "2.4.0"
        },
        {
            "last_affected": "2.4.0"
        },
        {
            "introduced": "2.4.1"
        },
        {
            "last_affected": "2.4.1"
        }
    ]
}

Affected versions

2.*
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.3.0
2.3.1
2.3.2
2.3.3
2.3.4
2.4.0
2.4.1

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-0898.json"