CVE-2021-2007
Vulnerability in the MySQL Client product of Oracle MySQL (component: C API). Supported versions that are affected are 5.6.47 and prior, 5.7.29 and prior and 8.0.19 and prior. Difficult to exploit vulnerability allows unauthenticated attacker with network access via multiple protocols to compromise MySQL Client. Successful attacks of this vulnerability can result in unauthorized read access to a subset of MySQL Client accessible data. CVSS 3.1 Base Score 3.7 (Confidentiality impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N).
What to do
Fixed builds are available from AlmaLinux, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | mysql-8.0 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | mysql-8.0 | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | mariadb-10.3 | Fix pending | UBUNTU-CVE-2021-2007 | |
| Ubuntu 20.04 | mysql-8.0 | Fixed | 8.0.20-0ubuntu0.20.04.1 | UBUNTU-CVE-2021-2007 |
| Ubuntu 18.04 | mariadb-10.1 | Fix pending | UBUNTU-CVE-2021-2007 | |
| Ubuntu 18.04 | mysql-5.7 | Fixed | 5.7.30-0ubuntu0.18.04.1 | UBUNTU-CVE-2021-2007 |
| Ubuntu 16.04 | mariadb-10.0 | Fix pending | UBUNTU-CVE-2021-2007 | |
| Ubuntu 16.04 | mysql-5.7 | Fixed | 5.7.30-0ubuntu0.16.04.1 | UBUNTU-CVE-2021-2007 |
| Ubuntu 16.04 | percona-server-5.6 | Fix pending | UBUNTU-CVE-2021-2007 | |
| Ubuntu 16.04 | percona-xtradb-cluster-5.6 | Fix pending | UBUNTU-CVE-2021-2007 | |
| Ubuntu 14.04 | mysql-5.5 | Fix pending | UBUNTU-CVE-2021-2007 | |
| Ubuntu 14.04 | mysql-5.6 | Fix pending | ||
| Ubuntu 14.04 | percona-xtradb-cluster-5.5 | Fix pending | ||
| Red Hat Enterprise Linux 8 | Judy | Fixed | 0:1.0.5-18.module+el8+2765+cfa4f87b | RHSA-2019:3708 |
| Red Hat Enterprise Linux 8 | Judy-devel | Fixed | 0:1.0.5-18.module+el8+2765+cfa4f87b | RHSA-2019:3708 |
| Red Hat Enterprise Linux 8 | asio | Fixed | 0:1.10.8-7.module+el8+2765+cfa4f87b | RHSA-2019:3708 |
| Red Hat Enterprise Linux 8 | asio-devel | Fixed | 0:1.10.8-7.module+el8+2765+cfa4f87b | RHSA-2019:3708 |
| Red Hat Enterprise Linux 8 | galera | Fixed | 0:25.3.26-1.module+el8.1.0+3974+90eded84 | RHSA-2019:3708 |
| Red Hat Enterprise Linux 8 | mariadb | Fixed | 3:10.3.17-1.module+el8.1.0+3974+90eded84 | RHSA-2019:3708 |
| Red Hat Enterprise Linux 8 | mariadb-backup | Fixed | 3:10.3.17-1.module+el8.1.0+3974+90eded84 | RHSA-2019:3708 |
| Red Hat Enterprise Linux 8 | mariadb-common | Fixed | 3:10.3.17-1.module+el8.1.0+3974+90eded84 | RHSA-2019:3708 |
| Red Hat Enterprise Linux 8 | mariadb-connector-c | Fixed | 0:3.1.11-2.el8_3 | RHSA-2020:5503 |
| Red Hat Enterprise Linux 8 | mariadb-connector-c-config | Fixed | 0:3.1.11-2.el8_3 | RHSA-2020:5503 |
| Red Hat Enterprise Linux 8 | mariadb-connector-c-devel | Fixed | 0:3.1.11-2.el8_3 | RHSA-2020:5503 |
| Red Hat Enterprise Linux 8 | mariadb-devel | Fixed | 3:10.3.17-1.module+el8.1.0+3974+90eded84 | RHSA-2019:3708 |
| Red Hat Enterprise Linux 8 | mariadb-embedded | Fixed | 3:10.3.17-1.module+el8.1.0+3974+90eded84 | RHSA-2019:3708 |
| Red Hat Enterprise Linux 8 | mariadb-embedded-devel | Fixed | 3:10.3.17-1.module+el8.1.0+3974+90eded84 | RHSA-2019:3708 |
| Red Hat Enterprise Linux 8 | mariadb-errmsg | Fixed | 3:10.3.17-1.module+el8.1.0+3974+90eded84 | RHSA-2019:3708 |
| Red Hat Enterprise Linux 8 | mariadb-gssapi-server | Fixed | 3:10.3.17-1.module+el8.1.0+3974+90eded84 | RHSA-2019:3708 |
| Red Hat Enterprise Linux 8 | mariadb-oqgraph-engine | Fixed | 3:10.3.17-1.module+el8.1.0+3974+90eded84 | RHSA-2019:3708 |
| Red Hat Enterprise Linux 8 | mariadb-server | Fixed | 3:10.3.17-1.module+el8.1.0+3974+90eded84 | RHSA-2019:3708 |
| Red Hat Enterprise Linux 8 | mariadb-server-galera | Fixed | 3:10.3.17-1.module+el8.1.0+3974+90eded84 | RHSA-2019:3708 |
| Red Hat Enterprise Linux 8 | mariadb-server-utils | Fixed | 3:10.3.17-1.module+el8.1.0+3974+90eded84 | RHSA-2019:3708 |
| Red Hat Enterprise Linux 8 | mariadb-test | Fixed | 3:10.3.17-1.module+el8.1.0+3974+90eded84 | RHSA-2019:3708 |
| Red Hat Enterprise Linux 8 | mecab | Fixed | 0:0.996-1.module+el8.0.0+3898+e09bb8de.9 | RHSA-2020:3732 |
| Red Hat Enterprise Linux 8 | mecab-ipadic | Fixed | 0:2.7.0.20070801-16.module+el8.0.0+3898+e09bb8de | RHSA-2020:3732 |
| Red Hat Enterprise Linux 8 | mecab-ipadic-EUCJP | Fixed | 0:2.7.0.20070801-16.module+el8.0.0+3898+e09bb8de | RHSA-2020:3732 |
| Red Hat Enterprise Linux 8 | mysql | Fixed | 0:8.0.21-1.module+el8.2.0+7855+47abd494 | RHSA-2020:3732 |
| Red Hat Enterprise Linux 8 | mysql-common | Fixed | 0:8.0.21-1.module+el8.2.0+7855+47abd494 | RHSA-2020:3732 |
| Red Hat Enterprise Linux 8 | mysql-devel | Fixed | 0:8.0.21-1.module+el8.2.0+7855+47abd494 | RHSA-2020:3732 |
| Red Hat Enterprise Linux 8 | mysql-errmsg | Fixed | 0:8.0.21-1.module+el8.2.0+7855+47abd494 | RHSA-2020:3732 |
| Red Hat Enterprise Linux 8 | mysql-libs | Fixed | 0:8.0.21-1.module+el8.2.0+7855+47abd494 | RHSA-2020:3732 |
| Red Hat Enterprise Linux 8 | mysql-server | Fixed | 0:8.0.21-1.module+el8.2.0+7855+47abd494 | RHSA-2020:3732 |
| Red Hat Enterprise Linux 8 | mysql-test | Fixed | 0:8.0.21-1.module+el8.2.0+7855+47abd494 | RHSA-2020:3732 |
| Red Hat Enterprise Linux 7 | mariadb | Fixed | 1:5.5.65-1.el7 | RHSA-2020:1100 |
| Red Hat Enterprise Linux 7 | mariadb-bench | Fixed | 1:5.5.65-1.el7 | RHSA-2020:1100 |
| Red Hat Enterprise Linux 7 | mariadb-devel | Fixed | 1:5.5.65-1.el7 | RHSA-2020:1100 |
| Red Hat Enterprise Linux 7 | mariadb-embedded | Fixed | 1:5.5.65-1.el7 | RHSA-2020:1100 |
| Red Hat Enterprise Linux 7 | mariadb-embedded-devel | Fixed | 1:5.5.65-1.el7 | RHSA-2020:1100 |
| Red Hat Enterprise Linux 7 | mariadb-libs | Fixed | 1:5.5.65-1.el7 | RHSA-2020:1100 |
| Red Hat Enterprise Linux 7 | mariadb-server | Fixed | 1:5.5.65-1.el7 | RHSA-2020:1100 |
| Red Hat Enterprise Linux 7 | mariadb-test | Fixed | 1:5.5.65-1.el7 | RHSA-2020:1100 |
| Red Hat Enterprise Linux 6 | mysql | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | mysql-bench | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | mysql-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | mysql-embedded | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | mysql-embedded-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | mysql-libs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | mysql-server | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | mysql-test | Will not fix Out of support scope | ||
| AlmaLinux 8 | Judy | Fixed | 1.0.5-18.module_el8.3.0+2028+5e3224e9 | ALSA-2019:3708 |
| AlmaLinux 8 | Judy-devel | Fixed | 1.0.5-18.module_el8.6.0+3072+3c630e87 | ALSA-2019:3708 |
| AlmaLinux 8 | asio-devel | Fixed | 1.10.8-7.module_el8.6.0+2867+72759d2f | ALSA-2019:3708 |
| AlmaLinux 8 | mariadb-connector-c | Fixed | 3.1.11-2.el8_3 | ALSA-2020:5503 |
| AlmaLinux 8 | mariadb-connector-c-config | Fixed | 3.1.11-2.el8_3 | ALSA-2020:5503 |
| AlmaLinux 8 | mariadb-connector-c-devel | Fixed | 3.1.11-2.el8_3 | ALSA-2020:5503 |
| AlmaLinux 8 | mecab | Fixed | 0.996-1.module_el8.4.0+2532+b8928c02.9 | ALSA-2020:3732 |
| AlmaLinux 8 | mecab-ipadic | Fixed | 2.7.0.20070801-16.module_el8.5.0+33+8bc5f36a | ALSA-2020:3732 |
| AlmaLinux 8 | mecab-ipadic-EUCJP | Fixed | 2.7.0.20070801-16.module_el8.4.0+2532+b8928c02 | ALSA-2020:3732 |
| Rocky Linux 8 | Judy | Fixed | 0:1.0.5-18.module+el8.4.0+427+adf35707 | RLSA-2019:3708 |
| Rocky Linux 8 | asio | Fixed | 0:1.10.8-7.module+el8.3.0+126+a7f7b5c5 | RLSA-2019:3708 |
| Rocky Linux 8 | mariadb-connector-c | Fixed | 0:3.1.11-2.el8_3 | RLSA-2020:5503 |
| Rocky Linux 8 | mecab | Fixed | 0:0.996-1.module+el8.3.0+242+87d3366a.9 | RLSA-2020:3732 |
| Rocky Linux 8 | mecab-ipadic | Fixed | 0:2.7.0.20070801-16.module+el8.3.0+242+87d3366a | RLSA-2020:3732 |
| Rocky Linux 8 | mysql | Fixed | 0:8.0.21-1.module+el8.3.0+242+87d3366a | RLSA-2020:3732 |
What the vendor says
As published in the CVE record by oracle, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Oracle Corporation MySQL Server: affected: 5.6.47 and prior, 5.7.29 and prior, 8.0.19 and prior
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://security.gentoo.org/glsa/202105-27 (vendor-advisory)
References
- https://www.oracle.com/security-alerts/cpujan2021.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T7EAHJPWOOF4D6PEFLXW5IQWRRSZ3HRC/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CS5THZSGI7O2CZO44NWYE57AG2T7NK3K/
- https://security.gentoo.org/glsa/202105-27
- https://security.netapp.com/advisory/ntap-20210622-0001/
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.