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

 

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

Published: January 20, 2021


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

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to gain access to sensitive information.

The vulnerability exists due to improper input validation within the C API component in MySQL Client. A remote non-authenticated attacker can exploit this vulnerability to gain access to sensitive information.


Affected software

MySQL Server
Gentoo Linux
Anolis OS
openEuler
Fedora
mariadb-connector-c-config
mariadb-connector-c-devel
mariadb-connector-c
mysql5-debuginfo
mysql5-debugsource
mysql5-devel
mysql5-embedded
mysql5-embedded-devel
mysql5-errmsg
mysql5-libs
mysql5-server
mysql5-test
mysql5-common
mysql5
mysql
community-mysql
mysql-connector-odbc

How to mitigate CVE-2021-2007

Install updates from vendor's website.

MySQL Server - addressed in versions 5.6.48, 5.7.30, 8.0.20
mariadb-connector-c-config - update to 3.1.11-2
mariadb-connector-c-devel - update to 3.1.11-2
mariadb-connector-c - update to 3.1.11-2
mysql5-debuginfo - update to 5.7.37-1
mysql5-debugsource - update to 5.7.37-1
mysql5-devel - update to 5.7.37-1
mysql5-embedded - update to 5.7.37-1
mysql5-embedded-devel - update to 5.7.37-1
mysql5-errmsg - update to 5.7.37-1
mysql5-libs - update to 5.7.37-1
mysql5-server - update to 5.7.37-1
mysql5-test - update to 5.7.37-1
mysql5-common - update to 5.7.37-1
mysql5 - update to 5.7.37-1
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