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

 

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

Published: January 20, 2021


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

Vulnerability details

The vulnerability allows a remote privileged user to manipulate or delete data.

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 manipulate or delete data.


Affected software

MySQL Server
Gentoo Linux
openEuler
Fedora
mysql
community-mysql
mysql-connector-odbc

How to mitigate CVE-2021-1998

Install updates from vendor's website.

MySQL Server - update to 8.0.21
mysql - update to 8.0.22-3
community-mysql - addressed in versions 8.0.23-1.fc32, 8.0.23-1.fc33
mysql-connector-odbc - addressed in versions 8.0.23-1.fc32, 8.0.23-1.fc33
mysql - addressed in versions 8.0-3220210504011648.43bbeeef, 8.0-3320210504011648.601d93de, 8.0-3420210504011648.058368ca

External References

Related Security Bulletins