CVE-2022-21370
MySQL vulnerability analysis and mitigation

Overview

CVE-2022-21370 is a vulnerability in the MySQL Server Optimizer component affecting MySQL Server versions 8.0.27 and prior. This security flaw was disclosed as part of Oracle's January 2022 Critical Patch Update (Oracle CPU, Ubuntu Notice).

Technical details

The vulnerability exists in the MySQL Server's Optimizer component and has been assigned a CVSS v3.1 base score of 4.9 (MEDIUM), with the vector: AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H. This indicates that the vulnerability requires high privileges to exploit, but could potentially result in high availability impact to the system (NetApp Advisory).

Impact

Successful exploitation of this vulnerability could allow a high-privileged attacker with network access to cause a denial of service (DoS) condition, potentially resulting in a hang or frequently repeatable crash of the MySQL Server (Oracle CPU).

Exploitability

The vulnerability requires high privileges and network access to exploit. While public discussion of this vulnerability exists, detailed exploit code has not been publicly disclosed (NetApp Advisory).

Mitigation and workarounds

Oracle has released patches to address this vulnerability in MySQL version 8.0.28. Users are strongly recommended to update to this version or later. The fix has been included in Ubuntu's security updates for versions 21.10 and 20.04 LTS (Ubuntu Notice).

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-2026-61109MEDIUM6.5
  • MySQL logoMySQL
  • mysql8.4-test-data
NoYesJul 21, 2026
CVE-2026-61108MEDIUM6.5
  • MySQL logoMySQL
  • mariadb123
NoYesJul 21, 2026
CVE-2026-61144MEDIUM4.9
  • MySQL logoMySQL
  • mariadb114
NoYesJul 21, 2026
CVE-2026-61128MEDIUM4.9
  • MySQL logoMySQL
  • mysql-common
NoYesJul 21, 2026
CVE-2026-61096LOW2.9
  • MySQL logoMySQL
  • mysql-8.0
NoYesJul 21, 2026

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