{
    "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2019-16255",
        "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 through 2.4.7, 2.5.x through 2.5.6, and 2.6.x through 2.6.4 allows code injection if the first argument (aka the \"command\" argument) to Shell#[] or Shell#test in lib/shell.rb is untrusted data. An attacker can exploit this to call an arbitrary Ruby method."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "url": "https://hackerone.com/reports/327512",
                "refsource": "MISC",
                "name": "https://hackerone.com/reports/327512"
            },
            {
                "refsource": "MISC",
                "name": "https://lists.debian.org/debian-lts-announce/2019/11/msg00025.html",
                "url": "https://lists.debian.org/debian-lts-announce/2019/11/msg00025.html"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-6-5-released/",
                "url": "https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-6-5-released/"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-5-7-released/",
                "url": "https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-5-7-released/"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-4-8-released/",
                "url": "https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-4-8-released/"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://www.ruby-lang.org/ja/news/2019/10/01/code-injection-shell-test-cve-2019-16255/",
                "url": "https://www.ruby-lang.org/ja/news/2019/10/01/code-injection-shell-test-cve-2019-16255/"
            },
            {
                "refsource": "MLIST",
                "name": "[debian-lts-announce] 20191210 [SECURITY] [DLA 2027-1] jruby security update",
                "url": "https://lists.debian.org/debian-lts-announce/2019/12/msg00009.html"
            },
            {
                "refsource": "BUGTRAQ",
                "name": "20191217 [SECURITY] [DSA 4587-1] ruby2.3 security update",
                "url": "https://seclists.org/bugtraq/2019/Dec/31"
            },
            {
                "refsource": "BUGTRAQ",
                "name": "20191217 [SECURITY] [DSA 4586-1] ruby2.5 security update",
                "url": "https://seclists.org/bugtraq/2019/Dec/32"
            },
            {
                "refsource": "DEBIAN",
                "name": "DSA-4587",
                "url": "https://www.debian.org/security/2019/dsa-4587"
            },
            {
                "url": "https://www.oracle.com/security-alerts/cpujan2020.html",
                "refsource": "MISC",
                "name": "https://www.oracle.com/security-alerts/cpujan2020.html"
            },
            {
                "refsource": "GENTOO",
                "name": "GLSA-202003-06",
                "url": "https://security.gentoo.org/glsa/202003-06"
            },
            {
                "refsource": "SUSE",
                "name": "openSUSE-SU-2020:0395",
                "url": "http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00041.html"
            },
            {
                "refsource": "MLIST",
                "name": "[debian-lts-announce] 20200816 [SECURITY] [DLA 2330-1] jruby security update",
                "url": "https://lists.debian.org/debian-lts-announce/2020/08/msg00027.html"
            },
            {
                "refsource": "MLIST",
                "name": "[debian-lts-announce] 20230430 [SECURITY] [DLA 3408-1] jruby security update",
                "url": "https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html"
            }
        ]
    }
}