CVE-2021-2390: MySQL memcached Plugin Integer Underflow Remote Code Execution Vulnerability
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 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. 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 5.7.34 and prior and 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 5.7.34 and prior and 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
Event History
Frequently Asked Questions
What is the severity of CVE-2021-2390?
CVE-2021-2390 is classified as a difficult to exploit vulnerability that allows unauthenticated attackers to compromise MySQL Server.
How do I fix CVE-2021-2390?
To fix CVE-2021-2390, upgrade your MySQL Server to version 5.7.35 or 8.0.26 or later.
Which versions of MySQL Server are affected by CVE-2021-2390?
MySQL Server versions 5.7.34 and earlier, and 8.0.25 and earlier are affected by CVE-2021-2390.
Can CVE-2021-2390 be exploited remotely?
Yes, CVE-2021-2390 can be exploited by unauthenticated attackers with network access via multiple protocols.
What component of MySQL Server does CVE-2021-2390 affect?
CVE-2021-2390 affects the InnoDB component of the MySQL Server product.