Improper input validation in MySQL Server - CVE-2025-21520

 

Improper input validation in MySQL Server - CVE-2025-21520

Published: January 21, 2025


Vulnerability identifier: #VU103206
CSH Severity: Low
CVSS v4: 1 [CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-21520
CWE-ID: CWE-20
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local privileged user to gain access to sensitive information.

The vulnerability exists due to improper input validation within the Server: Options component in MySQL Server. A local privileged user can exploit this vulnerability to gain access to sensitive information.


Affected software

MySQL Server
MySQL Cluster
Anolis OS
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
openEuler
mecab
mecab-ipadic-EUCJP
mecab-ipadic
mysql-test
mysql-server
mysql-libs
mysql-errmsg
mysql-devel
mysql-debugsource
mysql
mysql-debuginfo
mysql-config
mysql-common
mysql-help
mysql (Red Hat package)
Dell EMC Storage Monitoring and Reporting (SMR)
Storage Resource Manager

How to mitigate CVE-2025-21520

Install updates from vendor's website.

MySQL Server - addressed in versions 8.0.41, 8.4.4, 9.2.0
MySQL Cluster - addressed in versions 8.0.41, 9.2.0
mecab - update to 0.996-2
mecab-ipadic-EUCJP - update to 2.7.0.20070801-17.0.1
mecab-ipadic - update to 2.7.0.20070801-17.0.1
Dell EMC Storage Monitoring and Reporting (SMR) - addressed in versions 5.0.2.2, 5.1.0.0
Storage Resource Manager - addressed in versions 5.0.2.2, 5.1.0.0
mysql-test - update to 8.0.41-1
mysql-server - update to 8.0.41-1
mysql-libs - update to 8.0.41-1
mysql-errmsg - update to 8.0.41-1
mysql-devel - update to 8.0.41-1
mysql-debugsource - update to 8.0.41-1
mysql - update to 8.0.41-1
mysql-debuginfo - update to 8.0.41-1
mysql-config - update to 8.0.41-1
mysql-common - update to 8.0.41-1
mysql-help - update to 8.0.41-1
mysql-common - update to 8.0.41-1.0.1
mysql-test - update to 8.0.41-1.0.1
mysql-server - update to 8.0.41-1.0.1
mysql-libs - update to 8.0.41-1.0.1
mysql-errmsg - update to 8.0.41-1.0.1
mysql-devel - update to 8.0.41-1.0.1
mysql - update to 8.0.41-1.0.1
mysql (Red Hat package) - update to 8.0.41-2.el9_5

External References

Related Security Bulletins