CVE-2021-2081
MySQL vulnerability analysis and mitigation

Overview

Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Stored Procedure) affecting versions 8.0.22 and prior. This vulnerability was disclosed in January 2021 as part of Oracle's Critical Patch Update. The vulnerability allows high privileged attackers with network access via multiple protocols to compromise MySQL Server (Oracle Advisory).

Technical details

The vulnerability has a CVSS 3.1 Base Score of 4.9 (Medium severity) with the following vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H. The vulnerability is easily exploitable but requires high privileges. It affects the Stored Procedure component of MySQL Server (NVD).

Impact

Successful exploitation of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Server. The vulnerability only affects availability with no impact on confidentiality or integrity (Oracle Advisory).

Exploitability

The vulnerability is considered easily exploitable but requires high privileges and network access via multiple protocols. An attacker needs to have high-privileged access to successfully exploit this vulnerability (NVD).

Mitigation and workarounds

Oracle released patches for this vulnerability in MySQL version 8.0.23. Users are strongly recommended to upgrade to this version or later. For Ubuntu systems, fixed versions are available in version 8.0.23-1 for various releases. Gentoo users should upgrade to MySQL version >= 8.0.24 (Gentoo Advisory, Ubuntu Security).

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-2026-63385CRITICAL9.2
  • MySQL logoMySQL
  • libevent-devel
NoYesAug 20, 2026
CVE-2026-63384HIGH8.7
  • MySQL logoMySQL
  • libevent
NoYesAug 20, 2026
CVE-2026-63383HIGH8.7
  • MySQL logoMySQL
  • libevent
NoYesAug 20, 2026
CVE-2026-63388HIGH8.4
  • MySQL logoMySQL
  • libevent2.src
NoYesAug 20, 2026
CVE-2026-63387HIGH7
  • MySQL logoMySQL
  • ntp
NoYesAug 20, 2026

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