Name | CVE-2016-6664 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-3770-1 |
Debian Bugs | 841049, 842895, 849435, 851755, 851759 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
mariadb-10.0 (PTS) | jessie, jessie (lts) | 10.0.38-0+deb8u1 | fixed |
mariadb-10.1 (PTS) | stretch (security), stretch (lts), stretch | 10.1.48-0+deb9u2 | fixed |
mysql-5.5 (PTS) | jessie, jessie (lts) | 5.5.62-0+deb8u1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
mariadb-10.0 | source | jessie | 10.0.29-0+deb8u1 | DSA-3770-1 | ||
mariadb-10.0 | source | (unstable) | (unfixed) | 842895, 851755 | ||
mariadb-10.1 | source | (unstable) | 10.1.21-1 | 849435, 851759 | ||
mysql-5.5 | source | wheezy | 5.5.52-0+deb7u1 | |||
mysql-5.5 | source | jessie | 5.5.52-0+deb8u1 | |||
mysql-5.5 | source | (unstable) | (unfixed) | |||
mysql-5.6 | source | (unstable) | 5.6.34-1 | 841049 | ||
mysql-5.7 | source | (unstable) | 5.7.15-1 |
http://legalhackers.com/advisories/MySQL-Maria-Percona-RootPrivEsc-CVE-2016-6664-5617-Exploit.html
Possible fixed by: https://github.com/MariaDB/server/commit/684a165f28b3718160a3e4c5ebd18a465d85e97c
https://mariadb.com/blog/update-security-vulnerabilities-cve-2016-6663-and-cve-2016-6664-related-mariadb-server