Improper input validation in MySQL Server - CVE-2021-2307
Published: April 21, 2021
Vulnerability identifier: #VU52391
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-2307
CWE-ID: CWE-20
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local non-authenticated attacker to read and manipulate data.
The vulnerability exists due to improper input validation within the Server: Packaging component in MySQL Server. A local non-authenticated attacker can exploit this vulnerability to read and manipulate data.
Affected software
MySQL Server
Red Hat Software Collections
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 Server - TUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Ubuntu
openEuler
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
mysql-server-8.0 (Ubuntu package)
mysql-common
mysql-devel
mysql-errmsg
mysql-libs
mysql-server
mysql-test
Dell EMC Storage Monitoring and Reporting (SMR)
Red Hat Software Collections
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 Server - TUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Ubuntu
openEuler
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
mysql-server-8.0 (Ubuntu package)
mysql-common
mysql-devel
mysql-errmsg
mysql-libs
mysql-server
mysql-test
Dell EMC Storage Monitoring and Reporting (SMR)
How to mitigate CVE-2021-2307
Install updates from vendor's website.
MySQL Server - addressed in versions 5.7.34, 8.0.24
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
Dell EMC Storage Monitoring and Reporting (SMR) - update to 4.6.0.0
mysql-server-5.7 (Ubuntu package) - update to 5.7.34-0ubuntu0.18.04.1
mysql-server (Ubuntu package) - update to 5.7.350ubuntu0.16.04.1+esm1
mysql - update to 8.0.24-1
mysql-server-8.0 (Ubuntu package) - addressed in versions 8.0.25-0ubuntu0.20.04.1, 8.0.25-0ubuntu0.20.10.1, 8.0.25-0ubuntu0.21.04.1
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
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
Dell EMC Storage Monitoring and Reporting (SMR) - update to 4.6.0.0
mysql-server-5.7 (Ubuntu package) - update to 5.7.34-0ubuntu0.18.04.1
mysql-server (Ubuntu package) - update to 5.7.350ubuntu0.16.04.1+esm1
mysql - update to 8.0.24-1
mysql-server-8.0 (Ubuntu package) - addressed in versions 8.0.25-0ubuntu0.20.04.1, 8.0.25-0ubuntu0.20.10.1, 8.0.25-0ubuntu0.21.04.1
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
- Multiple vulnerabilities in MySQL Server
- Red Hat Enterprise Linux 8.4 update for the mysql:8.0 module
- Red Hat Software Collections update for rh-mysql80-mysql
- Ubuntu update for mysql-5.7
- Ubuntu update for mysql-5.7
- Multiple vulnerabilities in Dell Storage Monitoring and Reporting (SMR)
- openEuler 20.03 LTS SP1 update for mysql
- Anolis OS update for mysql:8.0 module