Improper input validation in MySQL Server - CVE-2022-21526

 

Improper input validation in MySQL Server - CVE-2022-21526

Published: July 20, 2022


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

Vulnerability details

The vulnerability allows a remote privileged user to perform a denial of service (DoS) attack.

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 perform a denial of service (DoS) attack.


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 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
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Oracle Linux
Ubuntu
openEuler
Fedora
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-server-5.7 (Ubuntu package)
mysql-server-8.0 (Ubuntu package)
mysql-server
mysql-libs
mysql-errmsg
mysql-devel
mysql-common
mysql
mysql-test
community-mysql
mysql (Red Hat package)
mysql-debuginfo
mysql-debugsource
mysql-help
mysql-config
IBM Security Guardium
Isolation Segment
VMware Tanzu Application Service for VMs

How to mitigate CVE-2022-21526

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
Isolation Segment - addressed in versions 2.3.0, 2.4.0, 2.5.0, 2.6.0, 2.7.0, 2.8.0, 2.9.0, 2.10.0, 2.11.0, 2.12.0
VMware Tanzu Application Service for VMs - addressed in versions 2.3.3, 2.4.0, 2.5.0, 2.6.0, 2.7.0, 2.8.0, 2.9.0, 2.10.0, 2.11.0, 2.12.0, 2.13.0
mecab-ipadic - update to 2.7.0.20070801-16.0.1
mecab-ipadic-EUCJP - update to 2.7.0.20070801-16.0.1
mysql-server-5.7 (Ubuntu package) - update to 5.7.39-0ubuntu0.18.04.2
mysql-server-8.0 (Ubuntu package) - addressed in versions 8.0.30-0ubuntu0.20.04.2, 8.0.30-0ubuntu0.22.04.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-test - update to 8.0.30-1.0.1
community-mysql - addressed in versions 8.0.30-2.fc35, 8.0.30-2.fc36
mysql (Red Hat package) - update to 8.0.30-3.el9_0
mysql-debuginfo - addressed in versions 8.0.35-1, 8.0.38-1
mysql-server - addressed in versions 8.0.35-1, 8.0.38-1
mysql-devel - addressed in versions 8.0.35-1, 8.0.38-1
mysql-debugsource - addressed in versions 8.0.35-1, 8.0.38-1
mysql-errmsg - addressed in versions 8.0.35-1, 8.0.38-1
mysql-help - addressed in versions 8.0.35-1, 8.0.38-1
mysql-libs - addressed in versions 8.0.35-1, 8.0.38-1
mysql-test - addressed in versions 8.0.35-1, 8.0.38-1
mysql-common - addressed in versions 8.0.35-1, 8.0.38-1
mysql - addressed in versions 8.0.35-1, 8.0.38-1
mysql-config - addressed in versions 8.0.35-1, 8.0.38-1
mysql - addressed in versions 8.0-3520220810164614.f27b74a8, 8.0-3620220810164614.5e5ad4a0

External References

Related Security Bulletins