{
    "data_type": "CVE",
    "data_format": "MITRE",
    "data_version": "4.0",
    "CVE_data_meta": {
        "ID": "CVE-2019-5420",
        "ASSIGNER": "support@hackerone.com",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "Rails",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "https://github.com/rails/rails",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "5.2.2.1"
                                        },
                                        {
                                            "version_value": "6.0.0.beta3"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "Command Injection - Generic (CWE-77)"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "CONFIRM",
                "name": "https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/",
                "url": "https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://groups.google.com/forum/#!topic/rubyonrails-security/IsQKvDqZdKw",
                "url": "https://groups.google.com/forum/#!topic/rubyonrails-security/IsQKvDqZdKw"
            },
            {
                "refsource": "MISC",
                "name": "http://packetstormsecurity.com/files/152704/Ruby-On-Rails-DoubleTap-Development-Mode-secret_key_base-Remote-Code-Execution.html",
                "url": "http://packetstormsecurity.com/files/152704/Ruby-On-Rails-DoubleTap-Development-Mode-secret_key_base-Remote-Code-Execution.html"
            },
            {
                "refsource": "EXPLOIT-DB",
                "name": "46785",
                "url": "https://www.exploit-db.com/exploits/46785/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2019-1cfe24db5c",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Y43636TH4D6T46IC6N2RQVJTRFJAAYGA/"
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "A remote code execution vulnerability in development mode Rails <5.2.2.1, <6.0.0.beta3 can allow an attacker to guess the automatically generated development mode secret token. This secret token can be used in combination with other Rails internals to escalate to a remote code execution exploit."
            }
        ]
    }
}