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

 

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

Published: July 20, 2021


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

Vulnerability details

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

The vulnerability exists due to improper input validation within the Server: Replication component in MySQL Server. A remote privileged user can exploit this vulnerability to damange or delete data.


Affected software

MySQL Server
Amazon Linux AMI
Anolis OS
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Ubuntu
openEuler
Fedora
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-EUCJP
mecab-ipadic
mysql-server-5.7 (Ubuntu package)
mysql-server (Ubuntu package)
mysql-server-8.0 (Ubuntu package)
mysql
community-mysql
mysql-server
mysql-test
mysql-libs
mysql-errmsg
mysql-devel
mysql-common

How to mitigate CVE-2021-2385

Install updates from vendor's website.

MySQL Server - addressed in versions 5.7.35, 8.0.26
rh-mysql80-mysql (Red Hat package) - update to 8.0.26-1.el7
mecab - update to 0.996-1
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.35-0ubuntu0.18.04.1
mysql-server (Ubuntu package) - update to 5.7.350ubuntu0.16.04.1+esm1
mysql-server-8.0 (Ubuntu package) - addressed in versions 8.0.26-0ubuntu0.20.04.2, 8.0.26-0ubuntu0.21.04.3
mysql - update to 8.0.26-1
community-mysql - addressed in versions 8.0.26-1.fc33, 8.0.26-1.fc34
mysql-server - update to 8.0.26-1.0.1
mysql-test - update to 8.0.26-1.0.1
mysql-libs - update to 8.0.26-1.0.1
mysql-errmsg - update to 8.0.26-1.0.1
mysql-devel - update to 8.0.26-1.0.1
mysql-common - update to 8.0.26-1.0.1
mysql - update to 8.0.26-1.0.1
mysql - addressed in versions 8.0-3320210817160118.601d93de, 8.0-3420210817160118.058368ca

External References

Related Security Bulletins