{
    "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2020-15121",
        "STATE": "PUBLIC",
        "TITLE": "Command injection in Radare2"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "radare2",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "< 4.5.0"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "radareorg"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "In radare2 before version 4.5.0, malformed PDB file names in the PDB server path cause shell injection. To trigger the problem it's required to open the executable in radare2 and run idpd to trigger the download. The shell code will execute, and will create a file called pwned in the current directory."
            }
        ]
    },
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 7.4,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "NONE",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N",
            "version": "3.1"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://github.com/radareorg/radare2/security/advisories/GHSA-r552-vp94-9358",
                "refsource": "CONFIRM",
                "url": "https://github.com/radareorg/radare2/security/advisories/GHSA-r552-vp94-9358"
            },
            {
                "name": "https://github.com/radareorg/radare2/issues/16945",
                "refsource": "MISC",
                "url": "https://github.com/radareorg/radare2/issues/16945"
            },
            {
                "name": "https://github.com/radareorg/radare2/pull/16966",
                "refsource": "MISC",
                "url": "https://github.com/radareorg/radare2/pull/16966"
            },
            {
                "name": "https://github.com/radareorg/radare2/commit/04edfa82c1f3fa2bc3621ccdad2f93bdbf00e4f9",
                "refsource": "MISC",
                "url": "https://github.com/radareorg/radare2/commit/04edfa82c1f3fa2bc3621ccdad2f93bdbf00e4f9"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2020-d5b33b6e6c",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YE77P5RSE2T7JHEKMWF2ARTSJGMPXCFY/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2020-aa51efe207",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MWC7KNBETYE5MK6VIUU26LUIISIFGSBZ/"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-r552-vp94-9358",
        "discovery": "UNKNOWN"
    }
}