CVEfocus › CVE database › CVE-2016-6664

CVE-2016-6664

CVSS 7.0 HighEPSS 3.0% (higher than 87% of CVEs)Published 2016-12-13Updated 2024-08-06Assigner: mitre

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.

What to do

Fixed builds are available from Alpine, Red Hat, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

32Fixed
9Will not fix
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04mariadb-10.0Fixed10.0.29-0ubuntu0.16.04.1UBUNTU-CVE-2016-6664
Ubuntu 16.04mysql-5.7Not affected
vulnerable_code_not_present
Ubuntu 14.04mysql-5.5Fixed5.5.52-0ubuntu0.14.04.1UBUNTU-CVE-2016-6664
Ubuntu 14.04mysql-5.6Not affected
vulnerable_code_not_present
Red Hat Enterprise Linux 7mariadbFixed1:5.5.56-2.el7RHSA-2017:2192
Red Hat Enterprise Linux 7mariadb-benchFixed1:5.5.56-2.el7RHSA-2017:2192
Red Hat Enterprise Linux 7mariadb-develFixed1:5.5.56-2.el7RHSA-2017:2192
Red Hat Enterprise Linux 7mariadb-embeddedFixed1:5.5.56-2.el7RHSA-2017:2192
Red Hat Enterprise Linux 7mariadb-embedded-develFixed1:5.5.56-2.el7RHSA-2017:2192
Red Hat Enterprise Linux 7mariadb-libsFixed1:5.5.56-2.el7RHSA-2017:2192
Red Hat Enterprise Linux 7mariadb-serverFixed1:5.5.56-2.el7RHSA-2017:2192
Red Hat Enterprise Linux 7mariadb-testFixed1:5.5.56-2.el7RHSA-2017:2192
Red Hat Enterprise Linux 6mysqlWill not fix
Will not fix
Red Hat Enterprise Linux 6mysql-benchWill not fix
Will not fix
Red Hat Enterprise Linux 6mysql-develWill not fix
Will not fix
Red Hat Enterprise Linux 6mysql-embeddedWill not fix
Will not fix
Red Hat Enterprise Linux 6mysql-embedded-develWill not fix
Will not fix
Red Hat Enterprise Linux 6mysql-libsWill not fix
Will not fix
Red Hat Enterprise Linux 6mysql-serverWill not fix
Will not fix
Red Hat Enterprise Linux 6mysql-testWill not fix
Will not fix
Red Hat Enterprise Linux 5mysql55-mysqlWill not fix
Will not fix
Alpine Linux 3.24mariadbFixed10.1.21-r0ALPINE-CVE-2016-6664
Alpine Linux 3.23mariadbFixed10.1.21-r0ALPINE-CVE-2016-6664
Alpine Linux 3.22mariadbFixed10.1.21-r0ALPINE-CVE-2016-6664
Alpine Linux 3.21mariadbFixed10.1.21-r0ALPINE-CVE-2016-6664
Alpine Linux 3.20mariadbFixed10.1.21-r0ALPINE-CVE-2016-6664
Alpine Linux 3.19mariadbFixed10.1.21-r0ALPINE-CVE-2016-6664
Alpine Linux 3.18mariadbFixed10.1.21-r0ALPINE-CVE-2016-6664
Alpine Linux 3.17mariadbFixed10.1.21-r0ALPINE-CVE-2016-6664
Alpine Linux 3.16mariadbFixed10.1.21-r0ALPINE-CVE-2016-6664
Alpine Linux 3.15mariadbFixed10.1.21-r0ALPINE-CVE-2016-6664
Alpine Linux 3.14mariadbFixed10.1.21-r0ALPINE-CVE-2016-6664
Alpine Linux 3.13mariadbFixed10.1.21-r0ALPINE-CVE-2016-6664
Alpine Linux 3.12mariadbFixed10.1.21-r0ALPINE-CVE-2016-6664
Alpine Linux 3.11mariadbFixed10.1.21-r0ALPINE-CVE-2016-6664
Alpine Linux 3.10mariadbFixed10.1.21-r0ALPINE-CVE-2016-6664
Alpine Linux 3.9mariadbFixed10.1.21-r0ALPINE-CVE-2016-6664
Alpine Linux 3.8mariadbFixed10.1.21-r0ALPINE-CVE-2016-6664
Alpine Linux 3.7mariadbFixed10.1.21-r0ALPINE-CVE-2016-6664
Alpine Linux 3.6mariadbFixed10.1.21-r0ALPINE-CVE-2016-6664
Alpine Linux 3.5mariadbFixed10.1.21-r0ALPINE-CVE-2016-6664
Alpine Linux 3.4mariadbFixed10.1.21-r0ALPINE-CVE-2016-6664
Alpine Linux 3.3mariadbFixed10.1.21-r0ALPINE-CVE-2016-6664

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.