CVEfocus › CVE database › CVE-2021-2007

CVE-2021-2007

CVSS 3.7 LowEPSS 2.3% (higher than 84% of CVEs)Published 2021-01-20Updated 2024-09-26Assigner: oracle

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

57Fixed
8Fix pending
8Will 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 24.04mysql-8.0Not affected
vulnerable_code_not_present
Ubuntu 22.04mysql-8.0Not affected
vulnerable_code_not_present
Ubuntu 20.04mariadb-10.3Fix pendingUBUNTU-CVE-2021-2007
Ubuntu 20.04mysql-8.0Fixed8.0.20-0ubuntu0.20.04.1UBUNTU-CVE-2021-2007
Ubuntu 18.04mariadb-10.1Fix pendingUBUNTU-CVE-2021-2007
Ubuntu 18.04mysql-5.7Fixed5.7.30-0ubuntu0.18.04.1UBUNTU-CVE-2021-2007
Ubuntu 16.04mariadb-10.0Fix pendingUBUNTU-CVE-2021-2007
Ubuntu 16.04mysql-5.7Fixed5.7.30-0ubuntu0.16.04.1UBUNTU-CVE-2021-2007
Ubuntu 16.04percona-server-5.6Fix pendingUBUNTU-CVE-2021-2007
Ubuntu 16.04percona-xtradb-cluster-5.6Fix pendingUBUNTU-CVE-2021-2007
Ubuntu 14.04mysql-5.5Fix pendingUBUNTU-CVE-2021-2007
Ubuntu 14.04mysql-5.6Fix pending
Ubuntu 14.04percona-xtradb-cluster-5.5Fix pending
Red Hat Enterprise Linux 8JudyFixed0:1.0.5-18.module+el8+2765+cfa4f87bRHSA-2019:3708
Red Hat Enterprise Linux 8Judy-develFixed0:1.0.5-18.module+el8+2765+cfa4f87bRHSA-2019:3708
Red Hat Enterprise Linux 8asioFixed0:1.10.8-7.module+el8+2765+cfa4f87bRHSA-2019:3708
Red Hat Enterprise Linux 8asio-develFixed0:1.10.8-7.module+el8+2765+cfa4f87bRHSA-2019:3708
Red Hat Enterprise Linux 8galeraFixed0:25.3.26-1.module+el8.1.0+3974+90eded84RHSA-2019:3708
Red Hat Enterprise Linux 8mariadbFixed3:10.3.17-1.module+el8.1.0+3974+90eded84RHSA-2019:3708
Red Hat Enterprise Linux 8mariadb-backupFixed3:10.3.17-1.module+el8.1.0+3974+90eded84RHSA-2019:3708
Red Hat Enterprise Linux 8mariadb-commonFixed3:10.3.17-1.module+el8.1.0+3974+90eded84RHSA-2019:3708
Red Hat Enterprise Linux 8mariadb-connector-cFixed0:3.1.11-2.el8_3RHSA-2020:5503
Red Hat Enterprise Linux 8mariadb-connector-c-configFixed0:3.1.11-2.el8_3RHSA-2020:5503
Red Hat Enterprise Linux 8mariadb-connector-c-develFixed0:3.1.11-2.el8_3RHSA-2020:5503
Red Hat Enterprise Linux 8mariadb-develFixed3:10.3.17-1.module+el8.1.0+3974+90eded84RHSA-2019:3708
Red Hat Enterprise Linux 8mariadb-embeddedFixed3:10.3.17-1.module+el8.1.0+3974+90eded84RHSA-2019:3708
Red Hat Enterprise Linux 8mariadb-embedded-develFixed3:10.3.17-1.module+el8.1.0+3974+90eded84RHSA-2019:3708
Red Hat Enterprise Linux 8mariadb-errmsgFixed3:10.3.17-1.module+el8.1.0+3974+90eded84RHSA-2019:3708
Red Hat Enterprise Linux 8mariadb-gssapi-serverFixed3:10.3.17-1.module+el8.1.0+3974+90eded84RHSA-2019:3708
Red Hat Enterprise Linux 8mariadb-oqgraph-engineFixed3:10.3.17-1.module+el8.1.0+3974+90eded84RHSA-2019:3708
Red Hat Enterprise Linux 8mariadb-serverFixed3:10.3.17-1.module+el8.1.0+3974+90eded84RHSA-2019:3708
Red Hat Enterprise Linux 8mariadb-server-galeraFixed3:10.3.17-1.module+el8.1.0+3974+90eded84RHSA-2019:3708
Red Hat Enterprise Linux 8mariadb-server-utilsFixed3:10.3.17-1.module+el8.1.0+3974+90eded84RHSA-2019:3708
Red Hat Enterprise Linux 8mariadb-testFixed3:10.3.17-1.module+el8.1.0+3974+90eded84RHSA-2019:3708
Red Hat Enterprise Linux 8mecabFixed0:0.996-1.module+el8.0.0+3898+e09bb8de.9RHSA-2020:3732
Red Hat Enterprise Linux 8mecab-ipadicFixed0:2.7.0.20070801-16.module+el8.0.0+3898+e09bb8deRHSA-2020:3732
Red Hat Enterprise Linux 8mecab-ipadic-EUCJPFixed0:2.7.0.20070801-16.module+el8.0.0+3898+e09bb8deRHSA-2020:3732
Red Hat Enterprise Linux 8mysqlFixed0:8.0.21-1.module+el8.2.0+7855+47abd494RHSA-2020:3732
Red Hat Enterprise Linux 8mysql-commonFixed0:8.0.21-1.module+el8.2.0+7855+47abd494RHSA-2020:3732
Red Hat Enterprise Linux 8mysql-develFixed0:8.0.21-1.module+el8.2.0+7855+47abd494RHSA-2020:3732
Red Hat Enterprise Linux 8mysql-errmsgFixed0:8.0.21-1.module+el8.2.0+7855+47abd494RHSA-2020:3732
Red Hat Enterprise Linux 8mysql-libsFixed0:8.0.21-1.module+el8.2.0+7855+47abd494RHSA-2020:3732
Red Hat Enterprise Linux 8mysql-serverFixed0:8.0.21-1.module+el8.2.0+7855+47abd494RHSA-2020:3732
Red Hat Enterprise Linux 8mysql-testFixed0:8.0.21-1.module+el8.2.0+7855+47abd494RHSA-2020:3732
Red Hat Enterprise Linux 7mariadbFixed1:5.5.65-1.el7RHSA-2020:1100
Red Hat Enterprise Linux 7mariadb-benchFixed1:5.5.65-1.el7RHSA-2020:1100
Red Hat Enterprise Linux 7mariadb-develFixed1:5.5.65-1.el7RHSA-2020:1100
Red Hat Enterprise Linux 7mariadb-embeddedFixed1:5.5.65-1.el7RHSA-2020:1100
Red Hat Enterprise Linux 7mariadb-embedded-develFixed1:5.5.65-1.el7RHSA-2020:1100
Red Hat Enterprise Linux 7mariadb-libsFixed1:5.5.65-1.el7RHSA-2020:1100
Red Hat Enterprise Linux 7mariadb-serverFixed1:5.5.65-1.el7RHSA-2020:1100
Red Hat Enterprise Linux 7mariadb-testFixed1:5.5.65-1.el7RHSA-2020:1100
Red Hat Enterprise Linux 6mysqlWill not fix
Out of support scope
Red Hat Enterprise Linux 6mysql-benchWill not fix
Out of support scope
Red Hat Enterprise Linux 6mysql-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6mysql-embeddedWill not fix
Out of support scope
Red Hat Enterprise Linux 6mysql-embedded-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6mysql-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 6mysql-serverWill not fix
Out of support scope
Red Hat Enterprise Linux 6mysql-testWill not fix
Out of support scope
AlmaLinux 8JudyFixed1.0.5-18.module_el8.3.0+2028+5e3224e9ALSA-2019:3708
AlmaLinux 8Judy-develFixed1.0.5-18.module_el8.6.0+3072+3c630e87ALSA-2019:3708
AlmaLinux 8asio-develFixed1.10.8-7.module_el8.6.0+2867+72759d2fALSA-2019:3708
AlmaLinux 8mariadb-connector-cFixed3.1.11-2.el8_3ALSA-2020:5503
AlmaLinux 8mariadb-connector-c-configFixed3.1.11-2.el8_3ALSA-2020:5503
AlmaLinux 8mariadb-connector-c-develFixed3.1.11-2.el8_3ALSA-2020:5503
AlmaLinux 8mecabFixed0.996-1.module_el8.4.0+2532+b8928c02.9ALSA-2020:3732
AlmaLinux 8mecab-ipadicFixed2.7.0.20070801-16.module_el8.5.0+33+8bc5f36aALSA-2020:3732
AlmaLinux 8mecab-ipadic-EUCJPFixed2.7.0.20070801-16.module_el8.4.0+2532+b8928c02ALSA-2020:3732
Rocky Linux 8JudyFixed0:1.0.5-18.module+el8.4.0+427+adf35707RLSA-2019:3708
Rocky Linux 8asioFixed0:1.10.8-7.module+el8.3.0+126+a7f7b5c5RLSA-2019:3708
Rocky Linux 8mariadb-connector-cFixed0:3.1.11-2.el8_3RLSA-2020:5503
Rocky Linux 8mecabFixed0:0.996-1.module+el8.3.0+242+87d3366a.9RLSA-2020:3732
Rocky Linux 8mecab-ipadicFixed0:2.7.0.20070801-16.module+el8.3.0+242+87d3366aRLSA-2020:3732
Rocky Linux 8mysqlFixed0:8.0.21-1.module+el8.3.0+242+87d3366aRLSA-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.

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.