Improper input validation in MySQL Server - CVE-2022-21459
Published: April 19, 2022
Vulnerability identifier: #VU62412
CSH Severity: Medium
CVSS v4: 7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-21459
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: Optimizer component in MySQL Server. A remote privileged user can exploit this vulnerability to damange or delete data.
Affected software
MySQL Server
Anolis OS
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Oracle Linux
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-8.0 (Ubuntu package)
mysql-test
mysql-server
mysql-libs
mysql-errmsg
mysql-devel
mysql-common
mysql
mysql (Red Hat package)
mysql-help
mysql-debugsource
mysql-debuginfo
mysql-config
Anolis OS
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Oracle Linux
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-8.0 (Ubuntu package)
mysql-test
mysql-server
mysql-libs
mysql-errmsg
mysql-devel
mysql-common
mysql
mysql (Red Hat package)
mysql-help
mysql-debugsource
mysql-debuginfo
mysql-config
How to mitigate CVE-2022-21459
Install updates from vendor's website.
rh-mysql80-mysql (Red Hat package) - update to 8.0.30-1.el7
mecab - update to 0.996-2
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.38-0ubuntu0.18.04.1
mysql-server-8.0 (Ubuntu package) - addressed in versions 8.0.29-0ubuntu0.20.04.2, 8.0.29-0ubuntu0.21.10.1, 8.0.29-0ubuntu0.22.04.1
mysql-test - update to 8.0.30-1.0.1
mysql-server - update to 8.0.30-1.0.1
mysql-libs - update to 8.0.30-1.0.1
mysql-errmsg - update to 8.0.30-1.0.1
mysql-devel - update to 8.0.30-1.0.1
mysql-common - update to 8.0.30-1.0.1
mysql - update to 8.0.30-1.0.1
mysql (Red Hat package) - update to 8.0.30-3.el9_0
mysql-server - update to 8.0.38-1
mysql-test - update to 8.0.38-1
mysql-libs - update to 8.0.38-1
mysql-help - update to 8.0.38-1
mysql-errmsg - update to 8.0.38-1
mysql-devel - update to 8.0.38-1
mysql-debugsource - update to 8.0.38-1
mysql-debuginfo - update to 8.0.38-1
mysql-config - update to 8.0.38-1
mysql-common - update to 8.0.38-1
mysql - update to 8.0.38-1
mecab - update to 0.996-2
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.38-0ubuntu0.18.04.1
mysql-server-8.0 (Ubuntu package) - addressed in versions 8.0.29-0ubuntu0.20.04.2, 8.0.29-0ubuntu0.21.10.1, 8.0.29-0ubuntu0.22.04.1
mysql-test - update to 8.0.30-1.0.1
mysql-server - update to 8.0.30-1.0.1
mysql-libs - update to 8.0.30-1.0.1
mysql-errmsg - update to 8.0.30-1.0.1
mysql-devel - update to 8.0.30-1.0.1
mysql-common - update to 8.0.30-1.0.1
mysql - update to 8.0.30-1.0.1
mysql (Red Hat package) - update to 8.0.30-3.el9_0
mysql-server - update to 8.0.38-1
mysql-test - update to 8.0.38-1
mysql-libs - update to 8.0.38-1
mysql-help - update to 8.0.38-1
mysql-errmsg - update to 8.0.38-1
mysql-devel - update to 8.0.38-1
mysql-debugsource - update to 8.0.38-1
mysql-debuginfo - update to 8.0.38-1
mysql-config - update to 8.0.38-1
mysql-common - update to 8.0.38-1
mysql - update to 8.0.38-1
External References
Related Security Bulletins
- Multiple vulnerabilities in MySQL Server
- Ubuntu update for mysql-5.7
- Red Hat Software Collections update for rh-mysql80-mysql
- Red Hat Enterprise Linux 9 update for mysql
- Multiple vulnerabilities in Oracle Linux
- Red Hat Enterprise Linux 8 update for the mysql:8.0 module
- openEuler 20.03 LTS SP4 update for mysql
- Anolis OS update for mysql:8.0 module