{
    "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2017-17405",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "n/a",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "n/a"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "n/a"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Ruby before 2.4.3 allows Net::FTP command injection. Net::FTP#get, getbinaryfile, gettextfile, put, putbinaryfile, and puttextfile use Kernel#open to open a local file. If the localfile argument starts with the \"|\" pipe character, the command following the pipe character is executed. The default value of localfile is File.basename(remotefile), so malicious FTP servers could cause arbitrary command execution."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "RHSA-2018:0585",
                "refsource": "REDHAT",
                "url": "https://access.redhat.com/errata/RHSA-2018:0585"
            },
            {
                "name": "[debian-lts-announce] 20171225 [SECURITY] [DLA 1222-1] ruby1.8 security update",
                "refsource": "MLIST",
                "url": "https://lists.debian.org/debian-lts-announce/2017/12/msg00024.html"
            },
            {
                "name": "RHSA-2018:0378",
                "refsource": "REDHAT",
                "url": "https://access.redhat.com/errata/RHSA-2018:0378"
            },
            {
                "name": "102204",
                "refsource": "BID",
                "url": "http://www.securityfocus.com/bid/102204"
            },
            {
                "name": "1042004",
                "refsource": "SECTRACK",
                "url": "http://www.securitytracker.com/id/1042004"
            },
            {
                "name": "https://www.ruby-lang.org/en/news/2017/12/14/net-ftp-command-injection-cve-2017-17405/",
                "refsource": "CONFIRM",
                "url": "https://www.ruby-lang.org/en/news/2017/12/14/net-ftp-command-injection-cve-2017-17405/"
            },
            {
                "name": "43381",
                "refsource": "EXPLOIT-DB",
                "url": "https://www.exploit-db.com/exploits/43381/"
            },
            {
                "name": "RHSA-2018:0584",
                "refsource": "REDHAT",
                "url": "https://access.redhat.com/errata/RHSA-2018:0584"
            },
            {
                "name": "https://www.ruby-lang.org/en/news/2017/12/14/ruby-2-4-3-released/",
                "refsource": "CONFIRM",
                "url": "https://www.ruby-lang.org/en/news/2017/12/14/ruby-2-4-3-released/"
            },
            {
                "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": "[debian-lts-announce] 20171225 [SECURITY] [DLA 1221-1] ruby1.9.1 security update",
                "refsource": "MLIST",
                "url": "https://lists.debian.org/debian-lts-announce/2017/12/msg00025.html"
            },
            {
                "name": "DSA-4259",
                "refsource": "DEBIAN",
                "url": "https://www.debian.org/security/2018/dsa-4259"
            },
            {
                "refsource": "REDHAT",
                "name": "RHSA-2019:2806",
                "url": "https://access.redhat.com/errata/RHSA-2019:2806"
            }
        ]
    }
}