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

 

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

Published: January 17, 2023


Vulnerability identifier: #VU71268
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-2023-21872
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
IBM Security Guardium
openEuler
mysql-config
mysql
mysql-help
mysql-test
mysql-devel
mysql-common
mysql-libs
mysql-debuginfo
mysql-server
mysql-debugsource
mysql-errmsg

How to mitigate CVE-2023-21872

Install updates from vendor's website.

MySQL Server - update to 8.0.30
mysql-config - addressed in versions 8.0.35-1, 8.0.38-1
mysql - 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-devel - 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-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-errmsg - addressed in versions 8.0.35-1, 8.0.38-1

External References

Related Security Bulletins