{
    "containers": {
        "cna": {
            "affected": [
                {
                    "product": "n/a",
                    "vendor": "n/a",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "n/a"
                        }
                    ]
                }
            ],
            "datePublic": "2016-01-11T00:00:00",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "mysqld_safe in Oracle MySQL through 5.5.51, 5.6.x through 5.6.32, and 5.7.x through 5.7.14; MariaDB; Percona Server before 5.5.51-38.2, 5.6.x before 5.6.32-78-1, and 5.7.x before 5.7.14-8; and Percona XtraDB Cluster before 5.5.41-37.0, 5.6.x before 5.6.32-25.17, and 5.7.x before 5.7.14-26.17, when using file-based logging, allows local users with access to the mysql account to gain root privileges via a symlink attack on error logs and possibly other files."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "description": "n/a",
                            "lang": "en",
                            "type": "text"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "dateUpdated": "2018-10-09T18:57:01",
                "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
                "shortName": "mitre"
            },
            "references": [
                {
                    "name": "RHSA-2016:2749",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ],
                    "url": "http://rhn.redhat.com/errata/RHSA-2016-2749.html"
                },
                {
                    "name": "20161101 MySQL / MariaDB / PerconaDB - Privilege Escalation / Race Condition Exploit [CVE-2016-6663 / OCVE-2016-5616]",
                    "tags": [
                        "mailing-list",
                        "x_refsource_FULLDISC"
                    ],
                    "url": "http://seclists.org/fulldisclosure/2016/Nov/4"
                },
                {
                    "name": "93612",
                    "tags": [
                        "vdb-entry",
                        "x_refsource_BID"
                    ],
                    "url": "http://www.securityfocus.com/bid/93612"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://www.percona.com/blog/2016/11/02/percona-responds-to-cve-2016-6663-and-cve-2016-6664/"
                },
                {
                    "name": "RHSA-2018:0574",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ],
                    "url": "https://access.redhat.com/errata/RHSA-2018:0574"
                },
                {
                    "name": "GLSA-201702-18",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_GENTOO"
                    ],
                    "url": "https://security.gentoo.org/glsa/201702-18"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html"
                },
                {
                    "name": "20161104 MySQL / MariaDB / PerconaDB - Root Privilege Escalation Exploit ( CVE-2016-6664 / CVE-2016-5617 )",
                    "tags": [
                        "mailing-list",
                        "x_refsource_BUGTRAQ"
                    ],
                    "url": "http://www.securityfocus.com/archive/1/539695/100/0/threaded"
                },
                {
                    "name": "RHSA-2016:2130",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ],
                    "url": "http://rhn.redhat.com/errata/RHSA-2016-2130.html"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "http://packetstormsecurity.com/files/139491/MySQL-MariaDB-PerconaDB-Root-Privilege-Escalation.html"
                },
                {
                    "name": "40679",
                    "tags": [
                        "exploit",
                        "x_refsource_EXPLOIT-DB"
                    ],
                    "url": "https://www.exploit-db.com/exploits/40679/"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "http://legalhackers.com/advisories/MySQL-Maria-Percona-RootPrivEsc-CVE-2016-6664-5617-Exploit.html"
                },
                {
                    "name": "RHSA-2018:0279",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ],
                    "url": "https://access.redhat.com/errata/RHSA-2018:0279"
                },
                {
                    "name": "DSA-3770",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_DEBIAN"
                    ],
                    "url": "http://www.debian.org/security/2017/dsa-3770"
                },
                {
                    "name": "RHSA-2017:2192",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ],
                    "url": "https://access.redhat.com/errata/RHSA-2017:2192"
                }
            ],
            "x_legacyV4Record": {
                "CVE_data_meta": {
                    "ASSIGNER": "cve@mitre.org",
                    "ID": "CVE-2016-6664",
                    "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": "mysqld_safe in Oracle MySQL through 5.5.51, 5.6.x through 5.6.32, and 5.7.x through 5.7.14; MariaDB; Percona Server before 5.5.51-38.2, 5.6.x before 5.6.32-78-1, and 5.7.x before 5.7.14-8; and Percona XtraDB Cluster before 5.5.41-37.0, 5.6.x before 5.6.32-25.17, and 5.7.x before 5.7.14-26.17, when using file-based logging, allows local users with access to the mysql account to gain root privileges via a symlink attack on error logs and possibly other files."
                        }
                    ]
                },
                "problemtype": {
                    "problemtype_data": [
                        {
                            "description": [
                                {
                                    "lang": "eng",
                                    "value": "n/a"
                                }
                            ]
                        }
                    ]
                },
                "references": {
                    "reference_data": [
                        {
                            "name": "RHSA-2016:2749",
                            "refsource": "REDHAT",
                            "url": "http://rhn.redhat.com/errata/RHSA-2016-2749.html"
                        },
                        {
                            "name": "20161101 MySQL / MariaDB / PerconaDB - Privilege Escalation / Race Condition Exploit [CVE-2016-6663 / OCVE-2016-5616]",
                            "refsource": "FULLDISC",
                            "url": "http://seclists.org/fulldisclosure/2016/Nov/4"
                        },
                        {
                            "name": "93612",
                            "refsource": "BID",
                            "url": "http://www.securityfocus.com/bid/93612"
                        },
                        {
                            "name": "https://www.percona.com/blog/2016/11/02/percona-responds-to-cve-2016-6663-and-cve-2016-6664/",
                            "refsource": "CONFIRM",
                            "url": "https://www.percona.com/blog/2016/11/02/percona-responds-to-cve-2016-6663-and-cve-2016-6664/"
                        },
                        {
                            "name": "RHSA-2018:0574",
                            "refsource": "REDHAT",
                            "url": "https://access.redhat.com/errata/RHSA-2018:0574"
                        },
                        {
                            "name": "GLSA-201702-18",
                            "refsource": "GENTOO",
                            "url": "https://security.gentoo.org/glsa/201702-18"
                        },
                        {
                            "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": "20161104 MySQL / MariaDB / PerconaDB - Root Privilege Escalation Exploit ( CVE-2016-6664 / CVE-2016-5617 )",
                            "refsource": "BUGTRAQ",
                            "url": "http://www.securityfocus.com/archive/1/539695/100/0/threaded"
                        },
                        {
                            "name": "RHSA-2016:2130",
                            "refsource": "REDHAT",
                            "url": "http://rhn.redhat.com/errata/RHSA-2016-2130.html"
                        },
                        {
                            "name": "http://packetstormsecurity.com/files/139491/MySQL-MariaDB-PerconaDB-Root-Privilege-Escalation.html",
                            "refsource": "MISC",
                            "url": "http://packetstormsecurity.com/files/139491/MySQL-MariaDB-PerconaDB-Root-Privilege-Escalation.html"
                        },
                        {
                            "name": "40679",
                            "refsource": "EXPLOIT-DB",
                            "url": "https://www.exploit-db.com/exploits/40679/"
                        },
                        {
                            "name": "http://legalhackers.com/advisories/MySQL-Maria-Percona-RootPrivEsc-CVE-2016-6664-5617-Exploit.html",
                            "refsource": "MISC",
                            "url": "http://legalhackers.com/advisories/MySQL-Maria-Percona-RootPrivEsc-CVE-2016-6664-5617-Exploit.html"
                        },
                        {
                            "name": "RHSA-2018:0279",
                            "refsource": "REDHAT",
                            "url": "https://access.redhat.com/errata/RHSA-2018:0279"
                        },
                        {
                            "name": "DSA-3770",
                            "refsource": "DEBIAN",
                            "url": "http://www.debian.org/security/2017/dsa-3770"
                        },
                        {
                            "name": "RHSA-2017:2192",
                            "refsource": "REDHAT",
                            "url": "https://access.redhat.com/errata/RHSA-2017:2192"
                        }
                    ]
                }
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-06T01:36:29.471Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "RHSA-2016:2749",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT",
                            "x_transferred"
                        ],
                        "url": "http://rhn.redhat.com/errata/RHSA-2016-2749.html"
                    },
                    {
                        "name": "20161101 MySQL / MariaDB / PerconaDB - Privilege Escalation / Race Condition Exploit [CVE-2016-6663 / OCVE-2016-5616]",
                        "tags": [
                            "mailing-list",
                            "x_refsource_FULLDISC",
                            "x_transferred"
                        ],
                        "url": "http://seclists.org/fulldisclosure/2016/Nov/4"
                    },
                    {
                        "name": "93612",
                        "tags": [
                            "vdb-entry",
                            "x_refsource_BID",
                            "x_transferred"
                        ],
                        "url": "http://www.securityfocus.com/bid/93612"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://www.percona.com/blog/2016/11/02/percona-responds-to-cve-2016-6663-and-cve-2016-6664/"
                    },
                    {
                        "name": "RHSA-2018:0574",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT",
                            "x_transferred"
                        ],
                        "url": "https://access.redhat.com/errata/RHSA-2018:0574"
                    },
                    {
                        "name": "GLSA-201702-18",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_GENTOO",
                            "x_transferred"
                        ],
                        "url": "https://security.gentoo.org/glsa/201702-18"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html"
                    },
                    {
                        "name": "20161104 MySQL / MariaDB / PerconaDB - Root Privilege Escalation Exploit ( CVE-2016-6664 / CVE-2016-5617 )",
                        "tags": [
                            "mailing-list",
                            "x_refsource_BUGTRAQ",
                            "x_transferred"
                        ],
                        "url": "http://www.securityfocus.com/archive/1/539695/100/0/threaded"
                    },
                    {
                        "name": "RHSA-2016:2130",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT",
                            "x_transferred"
                        ],
                        "url": "http://rhn.redhat.com/errata/RHSA-2016-2130.html"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "http://packetstormsecurity.com/files/139491/MySQL-MariaDB-PerconaDB-Root-Privilege-Escalation.html"
                    },
                    {
                        "name": "40679",
                        "tags": [
                            "exploit",
                            "x_refsource_EXPLOIT-DB",
                            "x_transferred"
                        ],
                        "url": "https://www.exploit-db.com/exploits/40679/"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "http://legalhackers.com/advisories/MySQL-Maria-Percona-RootPrivEsc-CVE-2016-6664-5617-Exploit.html"
                    },
                    {
                        "name": "RHSA-2018:0279",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT",
                            "x_transferred"
                        ],
                        "url": "https://access.redhat.com/errata/RHSA-2018:0279"
                    },
                    {
                        "name": "DSA-3770",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_DEBIAN",
                            "x_transferred"
                        ],
                        "url": "http://www.debian.org/security/2017/dsa-3770"
                    },
                    {
                        "name": "RHSA-2017:2192",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT",
                            "x_transferred"
                        ],
                        "url": "https://access.redhat.com/errata/RHSA-2017:2192"
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "cveId": "CVE-2016-6664",
        "datePublished": "2016-12-13T21:00:00",
        "dateReserved": "2016-08-10T00:00:00",
        "dateUpdated": "2024-08-06T01:36:29.471Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}