CVE-2021-2390
MySQL vulnerability analysis and mitigation

Overview

The vulnerability (CVE-2021-2390) affects the MySQL Server product of Oracle MySQL, specifically in the InnoDB component. The affected versions include MySQL Server 5.7.34 and prior, as well as 8.0.25 and prior (NVD, Ubuntu).

Technical details

This vulnerability allows remote attackers to execute arbitrary code on affected installations of MySQL. The specific flaw exists within the processing of Authentication commands in the memcached plugin. The issue results from the lack of proper validation of user-supplied data, which can result in an integer underflow before writing to memory. The vulnerability has been assigned a CVSS v3.1 base score of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) (ZDI).

Impact

An attacker can leverage this vulnerability to execute code in the context of the service account. The high CVSS score indicates that successful exploitation could lead to complete compromise of the system's confidentiality, integrity, and availability (ZDI).

Mitigation and workarounds

Oracle has issued an update to correct this vulnerability. The fix was released as part of Oracle's July 2021 Critical Patch Update (Oracle CPU).

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