CVE-2022-21336
MySQL vulnerability analysis and mitigation

Overview

CVE-2022-21336 is a vulnerability in the MySQL Cluster product of Oracle MySQL (component: Cluster: General). The vulnerability affects versions 7.4.34 and prior, 7.5.24 and prior, 7.6.20 and prior, and 8.0.27 and prior. It is classified as a difficult-to-exploit vulnerability that allows high-privileged attackers with access to the physical communication segment attached to the hardware where MySQL Cluster executes to compromise the system. The vulnerability has a CVSS 3.1 Base Score of 6.3 (Medium) with vector: (CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H) (Oracle Advisory).

Technical details

The specific flaw exists within the processing of Data Node jobs. The vulnerability stems from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. Successful exploitation requires human interaction from a person other than the attacker and access to the physical communication segment where MySQL Cluster executes (ZDI Advisory).

Impact

Successful exploitation of this vulnerability can result in complete takeover of MySQL Cluster, potentially leading to unauthorized access with high impacts on confidentiality, integrity, and availability. The vulnerability allows attackers to execute arbitrary code in the context of the service account (ZDI Advisory, NetApp Advisory).

Mitigation and workarounds

Oracle has released security patches to address this vulnerability in their January 2022 Critical Patch Update. Users are strongly recommended to update to the latest version of MySQL Cluster. For systems that cannot be immediately updated, limiting physical access to the communication segment and restricting high-privilege account access can help reduce the risk (Oracle Advisory).

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
  • mysql8.4-test
NoYesOct 21, 2025
CVE-2025-53053MEDIUM5.5
  • MySQLMySQL
  • mysql8.4-devel
NoYesOct 21, 2025
CVE-2025-53069MEDIUM4.9
  • MySQLMySQL
  • mysql8.4-errmsg
NoYesOct 21, 2025
CVE-2025-53067MEDIUM4.9
  • MySQLMySQL
  • cpe:2.3:a:oracle:mysql_server
NoYesOct 21, 2025
CVE-2025-53062MEDIUM4.9
  • MySQLMySQL
  • mysql-test-data
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