Improper input validation in MySQL Server - CVE-2023-21882

 

Improper input validation in MySQL Server - CVE-2023-21882

Published: January 17, 2023


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

Vulnerability details

The vulnerability allows a remote privileged user to manipulate 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 manipulate data.


Affected software

MySQL Server
Isolation Segment
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
Ubuntu
openEuler
IBM Security Guardium
mecab
mecab-ipadic
mecab-ipadic-EUCJP
mysql-server-5.7 (Ubuntu package)
mysql-server-8.0 (Ubuntu package)
rh-mysql80-mysql (Red Hat package)
mysql (Red Hat package)
mysql-server
mysql-libs
mysql-errmsg
mysql-devel
mysql-common
mysql
mysql-test
mysql-debuginfo
mysql-debugsource
mysql-config
mysql-help

How to mitigate CVE-2023-21882

Install updates from vendor's website.

MySQL Server - update to 8.0.32
mecab - update to 0.996-2
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.41-0ubuntu0.18.04.1
mysql-server-8.0 (Ubuntu package) - addressed in versions 8.0.32-0buntu0.20.04.1, 8.0.32-0buntu0.22.04.1, 8.0.32-0buntu0.22.10.1
rh-mysql80-mysql (Red Hat package) - update to 8.0.32-1.el7
mysql (Red Hat package) - update to 8.0.32-1.el9_2
mysql-server - update to 8.0.32-1.0.1
mysql-libs - update to 8.0.32-1.0.1
mysql-errmsg - update to 8.0.32-1.0.1
mysql-devel - update to 8.0.32-1.0.1
mysql-common - update to 8.0.32-1.0.1
mysql - update to 8.0.32-1.0.1
mysql-test - update to 8.0.32-1.0.1
mysql-devel - 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-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-debugsource - 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-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-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

External References

Related Security Bulletins