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

 

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

Published: January 20, 2021


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

Vulnerability details

The vulnerability allows a local privileged user to gain access to sensitive information.

The vulnerability exists due to improper input validation within the InnoDB component in MySQL Server. A local privileged user can exploit this vulnerability to gain access to sensitive information.


Affected software

MySQL Server
Gentoo Linux
Anolis OS
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux Server - AUS
openEuler
Red Hat Software Collections
rh-mysql80-mysql (Red Hat package)
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
mecab
mecab-ipadic
mecab-ipadic-EUCJP
mysql
mysql-common
mysql-devel
mysql-errmsg
mysql-libs
mysql-server
mysql-test

How to mitigate CVE-2021-2042

Install updates from vendor's website.

MySQL Server - update to 8.0.22
rh-mysql80-mysql (Red Hat package) - update to 8.0.26-1.el7
mecab - update to 0.996-1
mecab-ipadic - update to 2.7.0.20070801-16.0.1
mecab-ipadic-EUCJP - update to 2.7.0.20070801-16.0.1
mysql - update to 8.0.22-3
mysql - update to 8.0.26-1.0.1
mysql-common - update to 8.0.26-1.0.1
mysql-devel - update to 8.0.26-1.0.1
mysql-errmsg - update to 8.0.26-1.0.1
mysql-libs - update to 8.0.26-1.0.1
mysql-server - update to 8.0.26-1.0.1
mysql-test - update to 8.0.26-1.0.1

External References

Related Security Bulletins