Skip to content
OpenAdvisories
Unscored Public exploit CVE-2016-6663 EUVD-2016-7566GHSA-g76x-xjc6-4pgh

Race 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…

Published Dec 13, 2016 · Updated Aug 6, 2024 · Assigned by mitre

Description

Race 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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 8 mariadb-10.0 10.0.28-0+deb8u1 DSA-3711-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS mariadb-10.0 10.0.28-0ubuntu0.16.04.1 —
Ubuntu 16.04 LTS percona-server-5.6 No fix yet —
Ubuntu 16.04 LTS percona-xtradb-cluster-5.6 5.6.34-26.19-0ubuntu0.16.04.1 —
Ubuntu 14.04 LTS mariadb-5.5 5.5.52-1ubuntu0.14.04.1 —
Ubuntu 14.04 LTS mysql-5.5 5.5.52-0ubuntu0.14.04.1 —
ReleasePackageFixed inAdvisory
RHEL 7 mariadb +7 1:5.5.52-1.el7 RHSA-2016:2595
RHEL 6 mysql +7 5.1.73-8.el6_8 RHSA-2017:0184
RHEL 2 mariadb55-mariadb +5 5.5.53-1.el6 RHSA-2016:2131
RHEL 2 mysql55-mysql +5 5.5.52-1.el6 RHSA-2016:2130
RHEL 2 rh-mariadb100-mariadb +8 1:10.0.28-5.el6 RHSA-2016:2927
RHEL 2 rh-mariadb101-mariadb +9 1:10.1.19-6.el6 RHSA-2016:2928
RHEL 2 rh-mysql56-mysql +7 5.6.34-2.el6 RHSA-2016:2749
ReleasePackageFixed inAdvisory
SLES 15 SP1 mariadb104 10.4.30-150100.3.5.10 SUSE-RU-2023:3956-1
SLES 15 SP1 python-mysqlclient 1.4.6-150100.3.3.7 SUSE-RU-2023:3956-1
SLES 12 SP5 lz4 1.8.0-3.5.2 SUSE-RU-2023:4991-1
SLES 12 SP5 mariadb-connector-c 3.1.22-2.35.1 SUSE-RU-2023:4991-1
SLES 12 SP5 mariadb104 10.4.30-8.5.46 SUSE-RU-2023:4991-1
SLES 12 SP5 python-mysqlclient 1.3.14-8.9.2 SUSE-RU-2023:4991-1
SLES 12 SP2 mariadb 10.0.28-17.2 SUSE-SU-2016:2933-1
SLES 12 SP1 mariadb 10.0.28-17.2 SUSE-SU-2016:2933-1
SLES 12 mariadb 10.0.28-20.16.2 SUSE-SU-2016:2932-1
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP1 mariadb104 10.4.30-150100.3.5.10 SUSE-RU-2023:3956-1
SLES for SAP 15 SP1 python-mysqlclient 1.4.6-150100.3.3.7 SUSE-RU-2023:3956-1
SLES for SAP 12 SP5 lz4 1.8.0-3.5.2 SUSE-RU-2023:4991-1
SLES for SAP 12 SP5 mariadb-connector-c 3.1.22-2.35.1 SUSE-RU-2023:4991-1
SLES for SAP 12 SP5 mariadb104 10.4.30-8.5.46 SUSE-RU-2023:4991-1
SLES for SAP 12 SP5 python-mysqlclient 1.3.14-8.9.2 SUSE-RU-2023:4991-1
SLES for SAP 12 SP2 mariadb 10.0.28-17.2 SUSE-SU-2016:2933-1
SLES for SAP 12 SP1 mariadb 10.0.28-17.2 SUSE-SU-2016:2933-1
SLES for SAP 12 mariadb 10.0.28-20.16.2 SUSE-SU-2016:2932-1
SLE HPC 15 SP1 mariadb104 10.4.30-150100.3.5.10 SUSE-RU-2023:3956-1
SLE HPC 15 SP1 python-mysqlclient 1.4.6-150100.3.3.7 SUSE-RU-2023:3956-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 mariadb +7 1:5.5.52-1.el7 ELSA-2016-2595

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 13

References