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

 

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

Published: April 18, 2023


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

Vulnerability details

The vulnerability allows a remote authenticated user to execute arbitrary code.

The vulnerability exists due to improper input validation within the Client programs component in MySQL Server. A remote authenticated user can exploit this vulnerability to execute arbitrary code.


Affected software

MySQL Server
Amazon Linux AMI
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
Anolis OS
Oracle Solaris
Ubuntu
openEuler
IBM Security Guardium
mysql-server-5.7 (Ubuntu package)
mecab
mecab-ipadic
mecab-ipadic-EUCJP
mysql57
mysql-server-8.0 (Ubuntu package)
mysql-libs
mysql-errmsg
mysql-debugsource
mysql-server
mysql-devel
mysql-debuginfo
mysql-test
mysql-help
mysql-config
mysql-common
mysql
rh-mysql80-mysql (Red Hat package)
mysql (Red Hat package)
IBM Planning Analytics Workspace
Isolation Segment
VMware Tanzu Application Service for VMs
VMware Tanzu Operations Manager

How to mitigate CVE-2023-21980

Install updates from vendor's website.

mysql-server-5.7 (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 5.7.42-0ubuntu0.18.04.1
mecab - update to 0.996-2
IBM Planning Analytics Workspace - addressed in versions 2.0.95, 2.1.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, 2.13.0, 3.0.0, 4.0.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, 3.0.0, 4.0.0
mecab-ipadic - update to 2.7.0.20070801-16.0.1
mecab-ipadic-EUCJP - update to 2.7.0.20070801-16.0.1
VMware Tanzu Operations Manager - update to 3.0.10
mysql57 - update to 5.7.42-1.19
mysql-server-8.0 (Ubuntu package) - addressed in versions 8.0.33-0ubuntu0.20.04.1, 8.0.33-0ubuntu0.22.04.1, 8.0.33-0ubuntu0.22.10.1, 8.0.33-0ubuntu0.23.04.1
mysql-libs - 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-debugsource - 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-debuginfo - 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-help - 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-common - addressed in versions 8.0.35-1, 8.0.38-1
mysql - addressed in versions 8.0.35-1, 8.0.38-1
rh-mysql80-mysql (Red Hat package) - update to 8.0.36-1.el7
mysql (Red Hat package) - update to 8.0.36-1.el9_3
mysql-test - update to 8.0.36-1.0.1
mysql - update to 8.0.36-1.0.1
mysql-common - update to 8.0.36-1.0.1
mysql-devel - update to 8.0.36-1.0.1
mysql-errmsg - update to 8.0.36-1.0.1
mysql-libs - update to 8.0.36-1.0.1
mysql-server - update to 8.0.36-1.0.1

External References

Related Security Bulletins