{
    "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2016-6662",
        "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": "Oracle MySQL through 5.5.52, 5.6.x through 5.6.33, and 5.7.x through 5.7.15; MariaDB before 5.5.51, 10.0.x before 10.0.27, and 10.1.x before 10.1.17; and Percona Server before 5.5.51-38.1, 5.6.x before 5.6.32-78.0, and 5.7.x before 5.7.14-7 allow local users to create arbitrary configurations and bypass certain protection mechanisms by setting general_log_file to a my.cnf configuration. NOTE: this can be leveraged to execute arbitrary code with root privileges by setting malloc_lib. NOTE: the affected MySQL version information is from Oracle's October 2016 CPU. Oracle has not commented on third-party claims that the issue was silently patched in MySQL 5.5.52, 5.6.33, and 5.7.15."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://mariadb.com/kb/en/mariadb/mariadb-10027-release-notes/",
                "refsource": "CONFIRM",
                "url": "https://mariadb.com/kb/en/mariadb/mariadb-10027-release-notes/"
            },
            {
                "name": "RHSA-2016:2749",
                "refsource": "REDHAT",
                "url": "http://rhn.redhat.com/errata/RHSA-2016-2749.html"
            },
            {
                "name": "RHSA-2017:0184",
                "refsource": "REDHAT",
                "url": "http://rhn.redhat.com/errata/RHSA-2017-0184.html"
            },
            {
                "name": "RHSA-2016:2131",
                "refsource": "REDHAT",
                "url": "http://rhn.redhat.com/errata/RHSA-2016-2131.html"
            },
            {
                "name": "RHSA-2016:2060",
                "refsource": "REDHAT",
                "url": "http://rhn.redhat.com/errata/RHSA-2016-2060.html"
            },
            {
                "name": "https://mariadb.com/kb/en/mariadb/mariadb-10117-release-notes/",
                "refsource": "CONFIRM",
                "url": "https://mariadb.com/kb/en/mariadb/mariadb-10117-release-notes/"
            },
            {
                "name": "https://mariadb.com/kb/en/mariadb/mariadb-5551-release-notes/",
                "refsource": "CONFIRM",
                "url": "https://mariadb.com/kb/en/mariadb/mariadb-5551-release-notes/"
            },
            {
                "name": "https://jira.mariadb.org/browse/MDEV-10465",
                "refsource": "CONFIRM",
                "url": "https://jira.mariadb.org/browse/MDEV-10465"
            },
            {
                "name": "92912",
                "refsource": "BID",
                "url": "http://www.securityfocus.com/bid/92912"
            },
            {
                "name": "20160912 CVE-2016-6662 - MySQL Remote Root Code Execution / Privilege Escalation ( 0day )",
                "refsource": "FULLDISC",
                "url": "http://seclists.org/fulldisclosure/2016/Sep/23"
            },
            {
                "name": "GLSA-201701-01",
                "refsource": "GENTOO",
                "url": "https://security.gentoo.org/glsa/201701-01"
            },
            {
                "name": "DSA-3666",
                "refsource": "DEBIAN",
                "url": "http://www.debian.org/security/2016/dsa-3666"
            },
            {
                "name": "http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html",
                "refsource": "CONFIRM",
                "url": "http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html"
            },
            {
                "name": "RHSA-2016:2130",
                "refsource": "REDHAT",
                "url": "http://rhn.redhat.com/errata/RHSA-2016-2130.html"
            },
            {
                "name": "RHSA-2016:2077",
                "refsource": "REDHAT",
                "url": "http://rhn.redhat.com/errata/RHSA-2016-2077.html"
            },
            {
                "name": "RHSA-2016:2927",
                "refsource": "REDHAT",
                "url": "http://rhn.redhat.com/errata/RHSA-2016-2927.html"
            },
            {
                "name": "RHSA-2016:2059",
                "refsource": "REDHAT",
                "url": "http://rhn.redhat.com/errata/RHSA-2016-2059.html"
            },
            {
                "name": "http://legalhackers.com/advisories/MySQL-Exploit-Remote-Root-Code-Execution-Privesc-CVE-2016-6662.html",
                "refsource": "MISC",
                "url": "http://legalhackers.com/advisories/MySQL-Exploit-Remote-Root-Code-Execution-Privesc-CVE-2016-6662.html"
            },
            {
                "name": "https://www.percona.com/blog/2016/09/12/percona-server-critical-update-cve-2016-6662/",
                "refsource": "CONFIRM",
                "url": "https://www.percona.com/blog/2016/09/12/percona-server-critical-update-cve-2016-6662/"
            },
            {
                "name": "RHSA-2016:2062",
                "refsource": "REDHAT",
                "url": "http://rhn.redhat.com/errata/RHSA-2016-2062.html"
            },
            {
                "name": "RHSA-2016:2595",
                "refsource": "REDHAT",
                "url": "http://rhn.redhat.com/errata/RHSA-2016-2595.html"
            },
            {
                "name": "1036769",
                "refsource": "SECTRACK",
                "url": "http://www.securitytracker.com/id/1036769"
            },
            {
                "name": "RHSA-2016:2061",
                "refsource": "REDHAT",
                "url": "http://rhn.redhat.com/errata/RHSA-2016-2061.html"
            },
            {
                "name": "[oss-security] 20160912 CVE-2016-6662 - MySQL Remote Root Code Execution / Privilege Escalation ( 0day )",
                "refsource": "MLIST",
                "url": "http://www.openwall.com/lists/oss-security/2016/09/12/3"
            },
            {
                "name": "40360",
                "refsource": "EXPLOIT-DB",
                "url": "https://www.exploit-db.com/exploits/40360/"
            },
            {
                "name": "RHSA-2016:2928",
                "refsource": "REDHAT",
                "url": "http://rhn.redhat.com/errata/RHSA-2016-2928.html"
            },
            {
                "name": "RHSA-2016:2058",
                "refsource": "REDHAT",
                "url": "http://rhn.redhat.com/errata/RHSA-2016-2058.html"
            }
        ]
    }
}