{
    "CVE_data_meta": {
        "ASSIGNER": "support@hackerone.com",
        "DATE_PUBLIC": "2017-09-15T00:00:00",
        "ID": "CVE-2017-0898",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Ruby",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "Versions before 2.4.2, 2.3.5, and 2.2.8"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "HackerOne"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "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."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "Format String Vulnerability (CWE-134)"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "USN-3685-1",
                "refsource": "UBUNTU",
                "url": "https://usn.ubuntu.com/3685-1/"
            },
            {
                "name": "https://hackerone.com/reports/212241",
                "refsource": "MISC",
                "url": "https://hackerone.com/reports/212241"
            },
            {
                "name": "RHSA-2018:0585",
                "refsource": "REDHAT",
                "url": "https://access.redhat.com/errata/RHSA-2018:0585"
            },
            {
                "name": "RHSA-2018:0378",
                "refsource": "REDHAT",
                "url": "https://access.redhat.com/errata/RHSA-2018:0378"
            },
            {
                "name": "DSA-4031",
                "refsource": "DEBIAN",
                "url": "https://www.debian.org/security/2017/dsa-4031"
            },
            {
                "name": "100862",
                "refsource": "BID",
                "url": "http://www.securityfocus.com/bid/100862"
            },
            {
                "name": "1039363",
                "refsource": "SECTRACK",
                "url": "http://www.securitytracker.com/id/1039363"
            },
            {
                "name": "RHSA-2017:3485",
                "refsource": "REDHAT",
                "url": "https://access.redhat.com/errata/RHSA-2017:3485"
            },
            {
                "name": "[debian-lts-announce] 20180714 [SECURITY] [DLA 1421-1] ruby2.1 security update",
                "refsource": "MLIST",
                "url": "https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html"
            },
            {
                "name": "RHSA-2018:0583",
                "refsource": "REDHAT",
                "url": "https://access.redhat.com/errata/RHSA-2018:0583"
            },
            {
                "name": "https://github.com/mruby/mruby/issues/3722",
                "refsource": "MISC",
                "url": "https://github.com/mruby/mruby/issues/3722"
            },
            {
                "name": "https://www.ruby-lang.org/en/news/2017/09/14/sprintf-buffer-underrun-cve-2017-0898/",
                "refsource": "MISC",
                "url": "https://www.ruby-lang.org/en/news/2017/09/14/sprintf-buffer-underrun-cve-2017-0898/"
            },
            {
                "name": "GLSA-201710-18",
                "refsource": "GENTOO",
                "url": "https://security.gentoo.org/glsa/201710-18"
            }
        ]
    }
}