Improper input validation in MySQL Server - CVE-2021-2166

 

Improper input validation in MySQL Server - CVE-2021-2166

Published: April 21, 2021


Vulnerability identifier: #VU52396
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-2166
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote privileged user to perform a denial of service (DoS) attack.

The vulnerability exists due to improper input validation within the Server: DML component in MySQL Server. A remote privileged user can exploit this vulnerability to perform a denial of service (DoS) attack.


Affected software

MySQL Server
Arch Linux
Gentoo Linux
Anolis OS
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
SUSE OpenStack Cloud
SUSE OpenStack Cloud Crowbar
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Server
SUSE Linux Enterprise Module for Server Applications
Ubuntu
openEuler
Fedora
Red Hat Software Collections
rh-mysql80-mysql (Red Hat package)
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
mecab
Judy
Judy-devel
asio-devel
mecab-ipadic-EUCJP
mecab-ipadic
mysql-server-5.7 (Ubuntu package)
mysql-server (Ubuntu package)
mysql
community-mysql
mysql-server-8.0 (Ubuntu package)
mysql-libs
mysql-test
mysql-server
mysql-errmsg
mysql-devel
mysql-common
mariadb-client-debuginfo
mariadb-tools-debuginfo
mariadb-tools
mariadb-client
mariadb
mariadb-debuginfo
mariadb-debugsource
mariadb-galera
mariadb-errormessages
mariadb-embedded
mariadb-devel
mariadb-common
mariadb-embedded-devel
mariadb-errmsg
mariadb-gssapi-server
mariadb-oqgraph-engine
mariadb-backup
mariadb-server
mariadb-server-galera
mariadb-server-utils
mariadb-test
rh-mariadb103-mariadb (Red Hat package)
mariadb-pam
rh-mariadb105-mariadb (Red Hat package)
galera
rh-mariadb103-galera (Red Hat package)
rh-mariadb105-galera (Red Hat package)
Dell EMC Storage Monitoring and Reporting (SMR)

How to mitigate CVE-2021-2166

Install updates from vendor's website.

MySQL Server - addressed in versions 5.7.34, 8.0.24
rh-mysql80-mysql (Red Hat package) - update to 8.0.26-1.el7
mecab - update to 0.996-1
Judy - update to 1.0.5-18
Judy-devel - update to 1.0.5-18
asio-devel - update to 1.10.8-7
mecab-ipadic-EUCJP - update to 2.7.0.20070801-16.0.1
mecab-ipadic - update to 2.7.0.20070801-16.0.1
Dell EMC Storage Monitoring and Reporting (SMR) - update to 4.6.0.0
mysql-server-5.7 (Ubuntu package) - update to 5.7.34-0ubuntu0.18.04.1
mysql-server (Ubuntu package) - update to 5.7.350ubuntu0.16.04.1+esm1
mysql - update to 8.0.24-1
community-mysql - addressed in versions 8.0.24-1.fc32, 8.0.24-1.fc33, 8.0.24-1.fc34
mysql-server-8.0 (Ubuntu package) - addressed in versions 8.0.25-0ubuntu0.20.04.1, 8.0.25-0ubuntu0.20.10.1, 8.0.25-0ubuntu0.21.04.1
mysql-libs - update to 8.0.26-1.0.1
mysql-test - update to 8.0.26-1.0.1
mysql-server - update to 8.0.26-1.0.1
mysql-errmsg - update to 8.0.26-1.0.1
mysql-devel - update to 8.0.26-1.0.1
mysql-common - update to 8.0.26-1.0.1
mysql - update to 8.0.26-1.0.1
mysql - addressed in versions 8.0-3220210504011648.43bbeeef, 8.0-3320210504011648.601d93de, 8.0-3420210504011648.058368ca
mariadb-client-debuginfo - update to 10.2.39-3.36.1
mariadb-tools-debuginfo - update to 10.2.39-3.36.1
mariadb-tools - update to 10.2.39-3.36.1
mariadb-client - update to 10.2.39-3.36.1
mariadb - update to 10.2.39-3.36.1
mariadb-debuginfo - update to 10.2.39-3.36.1
mariadb-debugsource - update to 10.2.39-3.36.1
mariadb-galera - update to 10.2.39-3.36.1
mariadb-errormessages - update to 10.2.39-3.36.1
mariadb-embedded - addressed in versions 10.3.32-2, 10.5.13-1
mariadb-devel - addressed in versions 10.3.32-2, 10.5.13-1
mariadb-common - addressed in versions 10.3.32-2, 10.5.13-1
mariadb-embedded-devel - addressed in versions 10.3.32-2, 10.5.13-1
mariadb-errmsg - addressed in versions 10.3.32-2, 10.5.13-1
mariadb-gssapi-server - addressed in versions 10.3.32-2, 10.5.13-1
mariadb-oqgraph-engine - addressed in versions 10.3.32-2, 10.5.13-1
mariadb-backup - addressed in versions 10.3.32-2, 10.5.13-1
mariadb-server - addressed in versions 10.3.32-2, 10.5.13-1
mariadb-server-galera - addressed in versions 10.3.32-2, 10.5.13-1
mariadb-server-utils - addressed in versions 10.3.32-2, 10.5.13-1
mariadb-test - addressed in versions 10.3.32-2, 10.5.13-1
mariadb - addressed in versions 10.3.32-2, 10.5.13-1
rh-mariadb103-mariadb (Red Hat package) - update to 10.3.32-2.el7
mariadb - addressed in versions 10.3-3220210511012214.43bbeeef, 10.3-3320210511012214.601d93de, 10.3-3420210511012214.058368ca, 10.4.19-1.fc32, 10.4.19-1.fc33, 10.4-3220210511025215.43bbeeef, 10.4-3320210511025215.601d93de, 10.4-3420210511025215.058368ca, 10.5.10-1.fc34, 10.5-3220210511134129.43bbeeef, 10.5-3320210511134129.601d93de, 10.5-3420210511134129.058368ca
mariadb-pam - update to 10.5.13-1
rh-mariadb105-mariadb (Red Hat package) - update to 10.5.13-1.el7
galera - addressed in versions 25.3.34-4, 26.4.9-4
rh-mariadb103-galera (Red Hat package) - update to 25.3.34-4.el7
rh-mariadb105-galera (Red Hat package) - update to 26.4.9-3.el7

External References

Related Security Bulletins