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

 

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

Published: April 21, 2021


Vulnerability identifier: #VU52402
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-2160
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
openEuler
mysql5
mysql5-common
mysql5-debuginfo
mysql5-debugsource
mysql5-devel
mysql5-embedded
mysql5-embedded-devel
mysql5-errmsg
mysql5-libs
mysql5-server
mysql5-test

How to mitigate CVE-2021-2160

Install updates from vendor's website.

MySQL Server - addressed in versions 5.7.31, 8.0.18
mysql5 - update to 5.7.38-1
mysql5-common - update to 5.7.38-1
mysql5-debuginfo - update to 5.7.38-1
mysql5-debugsource - update to 5.7.38-1
mysql5-devel - update to 5.7.38-1
mysql5-embedded - update to 5.7.38-1
mysql5-embedded-devel - update to 5.7.38-1
mysql5-errmsg - update to 5.7.38-1
mysql5-libs - update to 5.7.38-1
mysql5-server - update to 5.7.38-1
mysql5-test - update to 5.7.38-1

External References

Related Security Bulletins