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

 

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

Published: October 19, 2021


Vulnerability identifier: #VU57515
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-35577
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: Optimizer component in MySQL Server. A remote privileged user can exploit this vulnerability to perform a denial of service (DoS) attack.


Affected software

MySQL Server
Oracle Linux
Anolis OS
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Ubuntu
openEuler
Fedora
rh-mysql80-mysql (Red Hat package)
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
mecab
mecab-ipadic-EUCJP
mecab-ipadic
mysql-server-5.7 (Ubuntu package)
mysql-server-8.0 (Ubuntu package)
mysql
community-mysql
mysql-common
mysql-devel
mysql-errmsg
mysql-libs
mysql-server
mysql-test
IBM Security Guardium

How to mitigate CVE-2021-35577

Install updates from vendor's website.

MySQL Server - update to 8.0.27
rh-mysql80-mysql (Red Hat package) - update to 8.0.30-1.el7
mecab - update to 0.996-2
mecab-ipadic-EUCJP - update to 2.7.0.20070801-16.0.1
mecab-ipadic - update to 2.7.0.20070801-16.0.1
mysql-server-5.7 (Ubuntu package) - update to 5.7.36-0ubuntu0.18.04.1
mysql-server-8.0 (Ubuntu package) - addressed in versions 8.0.27-0ubuntu0.20.04.1, 8.0.27-0ubuntu0.21.04.1, 8.0.27-0ubuntu0.21.10.1
mysql - addressed in versions 8.0.27-1, 8.0.28-1
community-mysql - addressed in versions 8.0.27-1.fc33, 8.0.27-1.fc34, 8.0.27-1.fc35
mysql - update to 8.0.30-1.0.1
mysql-common - update to 8.0.30-1.0.1
mysql-devel - update to 8.0.30-1.0.1
mysql-errmsg - update to 8.0.30-1.0.1
mysql-libs - update to 8.0.30-1.0.1
mysql-server - update to 8.0.30-1.0.1
mysql-test - update to 8.0.30-1.0.1
mysql - addressed in versions 8.0-3320211031142409.601d93de, 8.0-3420211031142409.058368ca, 8.0-3520211031142409.f27b74a8

External References

Related Security Bulletins