Improper input validation in MySQL Server - CVE-2022-21367
Published: January 19, 2022
Vulnerability identifier: #VU59771
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-21367
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: Compiling component in MySQL Server. A remote privileged user can exploit this vulnerability to damange or delete data.
Affected software
MySQL Server
Oracle Linux
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Anolis OS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Ubuntu
openEuler
rh-mysql80-mysql (Red Hat package)
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
mysql-server-5.7 (Ubuntu package)
mecab
mecab-ipadic-EUCJP
mecab-ipadic
mysql5-common
mysql5-test
mysql5-server
mysql5-libs
mysql5-errmsg
mysql5-embedded-devel
mysql5-embedded
mysql5-devel
mysql5-debugsource
mysql5-debuginfo
mysql5
mysql
mysql-devel
mysql-common
mysql-errmsg
mysql-libs
mysql-server
mysql-test
mysql-server-8.0 (Ubuntu package)
Juniper Junos Space
Oracle Linux
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Anolis OS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Ubuntu
openEuler
rh-mysql80-mysql (Red Hat package)
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
mysql-server-5.7 (Ubuntu package)
mecab
mecab-ipadic-EUCJP
mecab-ipadic
mysql5-common
mysql5-test
mysql5-server
mysql5-libs
mysql5-errmsg
mysql5-embedded-devel
mysql5-embedded
mysql5-devel
mysql5-debugsource
mysql5-debuginfo
mysql5
mysql
mysql-devel
mysql-common
mysql-errmsg
mysql-libs
mysql-server
mysql-test
mysql-server-8.0 (Ubuntu package)
Juniper Junos Space
How to mitigate CVE-2022-21367
Install updates from vendor's website.
MySQL Server - addressed in versions 5.7.37, 8.0.28
rh-mysql80-mysql (Red Hat package) - update to 8.0.30-1.el7
mysql-server-5.7 (Ubuntu package) - addressed in versions 5.7.37-0ubuntu0.16.04.1+esm1, 5.7.37-0ubuntu0.18.04.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
mysql5-common - update to 5.7.37-1
mysql5-test - update to 5.7.37-1
mysql5-server - update to 5.7.37-1
mysql5-libs - update to 5.7.37-1
mysql5-errmsg - update to 5.7.37-1
mysql5-embedded-devel - update to 5.7.37-1
mysql5-embedded - update to 5.7.37-1
mysql5-devel - update to 5.7.37-1
mysql5-debugsource - update to 5.7.37-1
mysql5-debuginfo - update to 5.7.37-1
mysql5 - update to 5.7.37-1
mysql - update to 8.0.28-1
mysql-devel - update to 8.0.30-1.0.1
mysql - update to 8.0.30-1.0.1
mysql-common - update to 8.0.30-1.0.1
mysql-errmsg - update to 8.0.30-1.0.1
mysql-libs - update to 8.0.30-1.0.1
mysql-server - update to 8.0.30-1.0.1
mysql-test - update to 8.0.30-1.0.1
Juniper Junos Space - update to 22.1R1
mysql-server-8.0 (Ubuntu package) - addressed in versions 8.0.28-0ubuntu0.20.04.3, 8.0.28-0ubuntu0.21.10.3
rh-mysql80-mysql (Red Hat package) - update to 8.0.30-1.el7
mysql-server-5.7 (Ubuntu package) - addressed in versions 5.7.37-0ubuntu0.16.04.1+esm1, 5.7.37-0ubuntu0.18.04.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
mysql5-common - update to 5.7.37-1
mysql5-test - update to 5.7.37-1
mysql5-server - update to 5.7.37-1
mysql5-libs - update to 5.7.37-1
mysql5-errmsg - update to 5.7.37-1
mysql5-embedded-devel - update to 5.7.37-1
mysql5-embedded - update to 5.7.37-1
mysql5-devel - update to 5.7.37-1
mysql5-debugsource - update to 5.7.37-1
mysql5-debuginfo - update to 5.7.37-1
mysql5 - update to 5.7.37-1
mysql - update to 8.0.28-1
mysql-devel - update to 8.0.30-1.0.1
mysql - update to 8.0.30-1.0.1
mysql-common - update to 8.0.30-1.0.1
mysql-errmsg - update to 8.0.30-1.0.1
mysql-libs - update to 8.0.30-1.0.1
mysql-server - update to 8.0.30-1.0.1
mysql-test - update to 8.0.30-1.0.1
Juniper Junos Space - update to 22.1R1
mysql-server-8.0 (Ubuntu package) - addressed in versions 8.0.28-0ubuntu0.20.04.3, 8.0.28-0ubuntu0.21.10.3
External References
Related Security Bulletins
- Multiple vulnerabilities in MySQL Server
- Ubuntu update for mysql-5.7
- Ubuntu update for mysql-5.7
- Multiple vulnerabilities in Junos Space
- Red Hat Software Collections update for rh-mysql80-mysql
- Red Hat Enterprise Linux 8 update for the mysql:8.0 module
- Multiple vulnerabilities in Oracle Linux
- openEuler update for mysql
- openEuler update for mysql5
- Anolis OS update for mysql:8.0 module