CVE-2022-21438
MySQL vulnerability analysis and mitigation

Overview

CVE-2022-21438 is a security vulnerability affecting MySQL Server versions 8.0.28 and prior. This vulnerability is specifically related to the MySQL Server Optimizer component and could potentially allow a high privileged attacker with network access to compromise the MySQL Server (Oracle CPU Apr 2022).

Technical details

The vulnerability has been assigned a CVSS v3.1 base score of 4.9 (MEDIUM) with the following vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H. This indicates that the vulnerability requires network access and high privileges to exploit, but requires no user interaction. The attack can lead to high availability impact but does not affect confidentiality or integrity (NetApp Security).

Impact

Successful exploitation of this vulnerability could allow an attacker to cause a denial of service condition in the MySQL Server Optimizer component. The vulnerability specifically affects the server's availability while maintaining no direct impact on data confidentiality or integrity (RHSA Advisory).

Mitigation and workarounds

The vulnerability has been fixed in MySQL version 8.0.29. Organizations are strongly recommended to upgrade to this version or later to address the security issue. For systems that cannot be immediately upgraded, it's important to ensure that MySQL server access is restricted to trusted users with appropriate privileges (Ubuntu Security).

Additional resources


SourceThis report was generated using AI

Related MySQL vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-53054MEDIUM5.5
  • MySQLMySQL
  • mecab-ipadic-EUCJP
NoYesOct 21, 2025
CVE-2025-53053MEDIUM5.5
  • MySQLMySQL
  • mecab
NoYesOct 21, 2025
CVE-2025-53069MEDIUM4.9
  • MySQLMySQL
  • mysql:8.4::mysql-common
NoYesOct 21, 2025
CVE-2025-53067MEDIUM4.9
  • MySQLMySQL
  • cpe:2.3:a:oracle:mysql_server
NoYesOct 21, 2025
CVE-2025-53062MEDIUM4.9
  • MySQLMySQL
  • mysql-libs
NoYesOct 21, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management