CVE-2021-2162
MySQL vulnerability analysis and mitigation

Overview

CVE-2021-2162 is a vulnerability in the MySQL Server product of Oracle MySQL, specifically affecting the Server: Audit Plug-in component. The affected versions are MySQL 5.7.33 and prior, and 8.0.23 and prior. This vulnerability was disclosed on April 22, 2021, as part of Oracle's Critical Patch Update (Oracle CPU).

Technical details

The vulnerability has a CVSS 3.1 Base Score of 4.3 (Medium severity) with the following vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N. The vulnerability is easily exploitable and requires low attack complexity with network access via multiple protocols. The attack requires low privilege level and no user interaction (Oracle CPU, NVD).

Impact

Successful exploitation of this vulnerability can result in unauthorized update, insert or delete access to some of MySQL Server accessible data. The vulnerability only affects data integrity, with no impact on confidentiality or availability (Oracle CPU).

Mitigation and workarounds

Oracle has released patches to address this vulnerability in MySQL versions. Users should upgrade to MySQL version 5.7.34 or 8.0.25 or later versions. Ubuntu users can update to mysql-server-8.0 version 8.0.25-0ubuntu0.20.04.1 for Ubuntu 20.04, or mysql-server-5.7 version 5.7.34-0ubuntu0.18.04.1 for Ubuntu 18.04 (Ubuntu Notice).

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