CVE-2021-2429
MySQL vulnerability analysis and mitigation

Overview

A vulnerability in MySQL Server's InnoDB memcached plugin was identified as CVE-2021-2429. This heap-based buffer overflow vulnerability allows remote attackers to execute arbitrary code on affected installations of MySQL. The vulnerability was discovered and disclosed in July 2021, affecting MySQL Server versions 5.7.34 and prior, as well as 8.0.25 and prior (Oracle CPE, ZDI Advisory).

Technical details

The vulnerability exists within the processing of InnoDB commands. The specific flaw results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. The vulnerability has been assigned a CVSS v3.1 base score of 8.1 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H), indicating a high severity issue (ZDI Advisory).

Impact

Successful exploitation of this vulnerability could allow an attacker to execute code in the context of the service account. The vulnerability enables remote attackers to potentially take complete control of the affected MySQL Server installation without requiring authentication (ZDI Advisory).

Mitigation and workarounds

Oracle has released security patches to address this vulnerability in their July 2021 Critical Patch Update. Users are strongly advised to update to MySQL Server versions newer than 5.7.34 or 8.0.25 (Oracle CPE).

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
  • mysql:8.4::mecab-ipadic
NoYesOct 21, 2025
CVE-2025-53053MEDIUM5.5
  • MySQLMySQL
  • mecab-ipadic
NoYesOct 21, 2025
CVE-2025-53069MEDIUM4.9
  • MySQLMySQL
  • mysql:8.4::mysql-libs
NoYesOct 21, 2025
CVE-2025-53067MEDIUM4.9
  • MySQLMySQL
  • cpe:2.3:a:oracle:mysql_server
NoYesOct 21, 2025
CVE-2025-53062MEDIUM4.9
  • MySQLMySQL
  • mysql-server
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