CVE-2021-2429: MySQL InnoDB Heap-based Buffer Overflow Remote Code Execution Vulnerability

Published Jul 20, 2021
·
Updated

This vulnerability allows remote attackers to execute arbitrary code on affected installations of MySQL. Authentication is not required to exploit this vulnerability. The specific flaw exists within the processing of InnoDB commands. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the service account.

Other sources

Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB). Supported versions that are affected are 8.0.25 and prior. Difficult to exploit vulnerability allows unauthenticated attacker with network access via multiple protocols to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Server.

External References:

http://www.oracle.com/security-alerts/cpujul2021.html#AppendixMSQL

Red Hat

Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB). Supported versions that are affected are 8.0.25 and prior. Difficult to exploit vulnerability allows unauthenticated attacker with network access via multiple protocols to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Server. CVSS 3.1 Base Score 5.9 (Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H).

MITRE

Affected Software

4 affected componentsFixes available
redhat/mysql<8.0.26
8.0.26
ORACLE MySQL Server>=8.0.0<=8.0.25
NetApp OnCommand Insight
ORACLE MySQL

Event History

Jul 20, 2021
CVE Published
via MITRE·10:44 PM
Data Sourced
via MITRE·10:44 PM
DescriptionSeverityWeakness
Mar 25, 2025
Advisory Published
via ZDI·02:26 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2021-2429?

CVE-2021-2429 is categorized as a difficult to exploit vulnerability with a moderate severity rating.

2

How do I fix CVE-2021-2429?

To fix CVE-2021-2429, upgrade MySQL Server to version 8.0.26 or later.

3

Who is affected by CVE-2021-2429?

CVE-2021-2429 affects MySQL Server versions 8.0.25 and earlier.

4

What type of attack is possible with CVE-2021-2429?

CVE-2021-2429 allows unauthenticated attackers with network access to compromise the MySQL Server.

5

Which MySQL Server components are involved in CVE-2021-2429?

CVE-2021-2429 specifically involves the InnoDB component of the MySQL Server.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203