Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2021-2166

mysql: Server: DML unspecified vulnerability (CPU Apr 2021)

Overview

Published
22 Apr 2021
Modified
17 Jun 2026
Medium CVE
3 Registry packages
97 OS packages
12 Linux distributions
Yes Fix available

Description

Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: DML). Supported versions that are affected are 5.7.33 and prior and 8.0.23 and prior. Easily exploitable vulnerability allows high privileged attacker with network access via multiple protocols to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Server. CVSS 3.1 Base Score 4.9 (Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H).

Source: OX vulnerability database

Severity

4.9 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
High
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

Affected packages · 3

Packages affected by CVE-2021-2166
EcosystemPackageVulnerableFixed in
Bitnami mariadb >=10.2.0, <10.2.38>=10.3.0, <10.3.29>=10.4.0, <10.4.19>=10.5.0, <10.5.10 10.2.3810.3.2910.4.1910.5.10
Bitnami mariadb-min >=10.2.0, <10.2.38>=10.3.0, <10.3.29>=10.4.0, <10.4.19>=10.5.0, <10.5.10 10.2.3810.3.2910.4.1910.5.10
Bitnami mysql-client >=10.2.0, <10.2.38>=10.3.0, <10.3.29>=10.4.0, <10.4.19>=10.5.0, <10.5.10 10.2.3810.3.2910.4.1910.5.10

Open a package to see all its vulnerabilities.

Operating systems · 67 fixes

Oracle Linux 1 release · 6 packages

fixed 6
mecab judy mecab-ipadic galera mariadb mysql
Oracle Linux fixes for CVE-2021-2166
ReleasePackageFixed in
8 mecab 0.996-1.module+el8.0.0+5253+1dce7bb2.9
8 judy 1.0.5-18.0.1.module+el8.3.0+9616+7a81225f
8 mecab-ipadic +1 2.7.0.20070801-16.0.1.module+el8.0.0+5253+1dce7bb2
8 galera 26.4.9-4.module+el8.5.0+20630+d7805586
8 mariadb +13 3:10.5.13-1.module+el8.5.0+20630+d7805586
8 mysql +6 8.0.26-1.module+el8.4.0+20311+30d12931

Photon OS 1 release · 1 package

fixed 1
mysql
Photon OS fixes for CVE-2021-2166
ReleasePackageFixed in
4.0 mysql +2 8.0.24-1.ph4

Red Hat 4 releases · 11 packages

eol 1 wont fix 1 fixed 20
mariadb rh-mariadb103-galera rh-mariadb105-galera rh-mysql80-mysql rh-mariadb103-mariadb rh-mariadb105-mariadb +5
Red Hat fixes for CVE-2021-2166
ReleasePackageFixed inAdvisory
7 mariadb +10 eol —
7 mariadb +8 wont fix —
7 rh-mariadb103-galera 0:25.3.34-4.el7 RHSA-2022:1010
7 rh-mariadb105-galera 0:26.4.9-3.el7 RHSA-2022:1007
7 rh-mysql80-mysql +9 0:8.0.26-1.el7 RHSA-2021:3811
7 rh-mariadb103-mariadb +18 3:10.3.32-2.el7 RHSA-2022:1010

16 more rows

SUSE Linux Enterprise 1 release · 1 package

fixed 1
mariadb
SUSE Linux Enterprise fixes for CVE-2021-2166
ReleasePackageFixed inAdvisory
12.5 mariadb +3 10.2.39-3.36.1 SUSE-SU-2021:2634-1

alma 3 releases · 6 packages

fixed 9
judy galera mariadb mecab mecab-ipadic mysql
alma fixes for CVE-2021-2166
ReleasePackageFixed in
8 (mariadb:10.3) judy 1.0.5-18.module_el8.5.0+2632+14ced695
8 (mariadb:10.3) galera 25.3.34-4.module_el8.5.0+2632+14ced695
8 (mariadb:10.3) mariadb +12 3:10.3.32-2.module_el8.5.0+2632+14ced695
8 (mariadb:10.5) judy 1.0.5-18.module_el8.5.0+2637+d11efe18
8 (mariadb:10.5) galera 26.4.9-4.module_el8.5.0+2637+d11efe18
8 (mariadb:10.5) mariadb +13 3:10.5.13-1.module_el8.5.0+2637+d11efe18

3 more rows

alpine 4 releases · 1 package

fixed 4
mariadb
alpine fixes for CVE-2021-2166
ReleasePackageFixed in
3.22 mariadb 10.5.11-r0
3.23 mariadb 10.5.11-r0
3.24 mariadb 10.5.11-r0
edge mariadb 10.5.11-r0

chainguard 1 release · 1 package

fixed 1
mysql-8-0
chainguard fixes for CVE-2021-2166
ReleasePackageFixed in
mysql-8-0 8.0.38-r0

debian 2 releases · 2 packages

fixed 2
mariadb-10-3 mariadb-10-5
debian fixes for CVE-2021-2166
ReleasePackageFixed in
10 mariadb-10-3 1:10.3.29-0+deb10u1
11 mariadb-10-5 1:10.5.10-1

openSUSE 1 release · 1 package

fixed 1
libmariadbd-devel
openSUSE fixes for CVE-2021-2166
ReleasePackageFixed inAdvisory
Tumbleweed libmariadbd-devel +9 10.6.5-3.1 openSUSE-SU-2024:11648-1

rocky 3 releases · 6 packages

fixed 13
galera mariadb mysql judy mecab mecab-ipadic
rocky fixes for CVE-2021-2166
ReleasePackageFixed in
8 galera 25.3.34-4.module+el8.5.0+777+18007c86
8 galera 26.4.9-4.module+el8.5.0+773+f75e97f7
8 mariadb +12 3:10.3.32-2.module+el8.5.0+777+18007c86
8 mariadb +13 3:10.5.13-1.module+el8.5.0+773+f75e97f7
8 mysql +6 8.0.26-1.module+el8.4.0+652+6de068a7
8 (mariadb:10.3) judy 1.0.5-18.module+el8.4.0+427+adf35707

7 more rows

root.io debian 1 release · 1 package

fixed 1
rootio-mariadb-10-5
root.io debian fixes for CVE-2021-2166
ReleasePackageFixed in
11 rootio-mariadb-10-5 1:10.5.10-1

ubuntu 6 releases · 2 packages

fixed 6
mysql-5-7 mysql-8-0
ubuntu fixes for CVE-2021-2166
ReleasePackageFixed in
18.04 mysql-5-7 5.7.34-0ubuntu0.18.04.1
18.04-ESM mysql-5-7 5.7.34-0ubuntu0.18.04.1
20.04 mysql-8-0 8.0.25-0ubuntu0.20.04.1
20.04-ESM mysql-8-0 8.0.25-0ubuntu0.20.04.1
22.04 mysql-8-0 8.0.25-0ubuntu3
24.04 mysql-8-0 8.0.25-0ubuntu3

References

Show all 69 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.