{
    "CVE_data_meta": {
        "ASSIGNER": "support@hackerone.com",
        "DATE_PUBLIC": "2017-08-27T00:00:00",
        "ID": "CVE-2017-0901",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "RubyGems",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "Versions before 2.6.13"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "HackerOne"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "RubyGems version 2.6.12 and earlier fails to validate specification names, allowing a maliciously crafted gem to potentially overwrite any file on the filesystem."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'&#219;&#170;) (CWE-22)"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "USN-3685-1",
                "refsource": "UBUNTU",
                "url": "https://usn.ubuntu.com/3685-1/"
            },
            {
                "name": "USN-3553-1",
                "refsource": "UBUNTU",
                "url": "https://usn.ubuntu.com/3553-1/"
            },
            {
                "name": "RHSA-2018:0585",
                "refsource": "REDHAT",
                "url": "https://access.redhat.com/errata/RHSA-2018:0585"
            },
            {
                "name": "DSA-3966",
                "refsource": "DEBIAN",
                "url": "https://www.debian.org/security/2017/dsa-3966"
            },
            {
                "name": "RHSA-2018:0378",
                "refsource": "REDHAT",
                "url": "https://access.redhat.com/errata/RHSA-2018:0378"
            },
            {
                "name": "42611",
                "refsource": "EXPLOIT-DB",
                "url": "https://www.exploit-db.com/exploits/42611/"
            },
            {
                "name": "1039249",
                "refsource": "SECTRACK",
                "url": "http://www.securitytracker.com/id/1039249"
            },
            {
                "name": "https://hackerone.com/reports/243156",
                "refsource": "MISC",
                "url": "https://hackerone.com/reports/243156"
            },
            {
                "name": "RHSA-2017:3485",
                "refsource": "REDHAT",
                "url": "https://access.redhat.com/errata/RHSA-2017:3485"
            },
            {
                "name": "https://github.com/rubygems/rubygems/commit/ad5c0a53a86ca5b218c7976765c0365b91d22cb2",
                "refsource": "MISC",
                "url": "https://github.com/rubygems/rubygems/commit/ad5c0a53a86ca5b218c7976765c0365b91d22cb2"
            },
            {
                "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": "GLSA-201710-01",
                "refsource": "GENTOO",
                "url": "https://security.gentoo.org/glsa/201710-01"
            },
            {
                "name": "100580",
                "refsource": "BID",
                "url": "http://www.securityfocus.com/bid/100580"
            },
            {
                "name": "http://blog.rubygems.org/2017/08/27/2.6.13-released.html",
                "refsource": "MISC",
                "url": "http://blog.rubygems.org/2017/08/27/2.6.13-released.html"
            }
        ]
    }
}