{
    "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2020-7247",
        "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": "smtp_mailaddr in smtp_session.c in OpenSMTPD 6.6, as used in OpenBSD 6.6 and other products, allows remote attackers to execute arbitrary commands as root via a crafted SMTP session, as demonstrated by shell metacharacters in a MAIL FROM field. This affects the \"uncommented\" default configuration. The issue exists because of an incorrect return value upon failure of input validation."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "CONFIRM",
                "name": "https://www.openbsd.org/security.html",
                "url": "https://www.openbsd.org/security.html"
            },
            {
                "refsource": "MISC",
                "name": "http://www.openwall.com/lists/oss-security/2020/01/28/3",
                "url": "http://www.openwall.com/lists/oss-security/2020/01/28/3"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://github.com/openbsd/src/commit/9dcfda045474d8903224d175907bfc29761dcb45",
                "url": "https://github.com/openbsd/src/commit/9dcfda045474d8903224d175907bfc29761dcb45"
            },
            {
                "refsource": "MISC",
                "name": "http://packetstormsecurity.com/files/156137/OpenBSD-OpenSMTPD-Privilege-Escalation-Code-Execution.html",
                "url": "http://packetstormsecurity.com/files/156137/OpenBSD-OpenSMTPD-Privilege-Escalation-Code-Execution.html"
            },
            {
                "refsource": "BUGTRAQ",
                "name": "20200129 [SECURITY] [DSA 4611-1] opensmtpd security update",
                "url": "https://seclists.org/bugtraq/2020/Jan/51"
            },
            {
                "refsource": "DEBIAN",
                "name": "DSA-4611",
                "url": "https://www.debian.org/security/2020/dsa-4611"
            },
            {
                "refsource": "MISC",
                "name": "http://packetstormsecurity.com/files/156145/OpenSMTPD-6.6.2-Remote-Code-Execution.html",
                "url": "http://packetstormsecurity.com/files/156145/OpenSMTPD-6.6.2-Remote-Code-Execution.html"
            },
            {
                "refsource": "CERT-VN",
                "name": "VU#390745",
                "url": "https://www.kb.cert.org/vuls/id/390745"
            },
            {
                "refsource": "FULLDISC",
                "name": "20200131 LPE and RCE in OpenSMTPD (CVE-2020-7247)",
                "url": "http://seclists.org/fulldisclosure/2020/Jan/49"
            },
            {
                "refsource": "MISC",
                "name": "http://packetstormsecurity.com/files/156249/OpenSMTPD-MAIL-FROM-Remote-Code-Execution.html",
                "url": "http://packetstormsecurity.com/files/156249/OpenSMTPD-MAIL-FROM-Remote-Code-Execution.html"
            },
            {
                "refsource": "MISC",
                "name": "http://packetstormsecurity.com/files/156295/OpenSMTPD-6.6.1-Local-Privilege-Escalation.html",
                "url": "http://packetstormsecurity.com/files/156295/OpenSMTPD-6.6.1-Local-Privilege-Escalation.html"
            },
            {
                "refsource": "UBUNTU",
                "name": "USN-4268-1",
                "url": "https://usn.ubuntu.com/4268-1/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2020-b92d7083ca",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OPH4QU4DNVHA7ACFXMYFCEP5PSXXPN4E/"
            },
            {
                "refsource": "MISC",
                "name": "http://packetstormsecurity.com/files/162093/OpenBSD-OpenSMTPD-6.6-Remote-Code-Execution.html",
                "url": "http://packetstormsecurity.com/files/162093/OpenBSD-OpenSMTPD-6.6-Remote-Code-Execution.html"
            }
        ]
    }
}