CVE-2016-6663

NameCVE-2016-6663
DescriptionRace condition in Oracle MySQL before 5.5.52, 5.6.x before 5.6.33, 5.7.x before 5.7.15, and 8.x before 8.0.1; MariaDB before 5.5.52, 10.0.x before 10.0.28, and 10.1.x before 10.1.18; 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 allows local users with certain permissions to gain privileges by leveraging use of my_copystat by REPAIR TABLE to repair a MyISAM table.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDSA-3711-1
NVD severitymedium
Debian Bugs841049

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
mariadb-10.0sourcejessie10.0.28-0+deb8u1DSA-3711-1
mariadb-10.0source(unstable)10.0.28-1
mysql-5.5sourcewheezy5.5.52-0+deb7u1
mysql-5.5sourcejessie5.5.52-0+deb8u1
mysql-5.5source(unstable)(unfixed)
mysql-5.6source(unstable)5.6.34-1841049
mysql-5.7source(unstable)5.7.15-1

Notes

Fixed by: https://github.com/MariaDB/server/commit/347eeefbfc658c8531878218487d729f4e020805
Fixed by: https://github.com/mysql/mysql-server/commit/4e5473862e6852b0f3802b0cd0c6fa10b5253291
Fixed in MariaDB 5.5.52, MariaDB 10.1.18, MariaDB 10.0.28
Fixed in Oracle MySQL: 5.5.52, 5.6.33, and 5.7.15.
http://legalhackers.com/advisories/MySQL-MariaDB-PerconaDB-PrivEsc-Race-CVE-2016-6663-OCVE-2016-5616-Exploit.html

Search for package or bug name: Reporting problems