Critical Vulnerability in MySQL Server: Denial of Service Risk in mysql-8.0 Package

mysql-5.5 Updated 02 Oct 2025

Summary

18/04/2023
N/A
No i
Medium
4.9

UBUNTU-CVE-2023-21982: Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer). Affects mysql-5.5 versions 5.5.32-0ubuntu7 – 5.5.62-0ubuntu0.14.04.1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

MySQL is a widely-used open-source relational database management system that enables users to manage and store data efficiently. The mysql-8.0 package is a key component of MySQL, providing essential functionalities for database operations. This package is known for its high performance, reliability, and ease of use, making it a popular choice for developers and businesses alike. However, it is susceptible to vulnerabilities that can compromise its integrity and availability.

Vulnerability Detail

The vulnerability identified as CVE-2023-21982 affects MySQL Server versions 8.0.32 and prior. It originates from a flaw in the Server: Optimizer component, which can be exploited by high-privileged attackers with network access. Successful exploitation can lead to a denial of service (DoS) condition, causing the MySQL Server to hang or crash repeatedly. This vulnerability poses a significant risk to database availability, with a CVSS score of 4.9 indicating medium severity.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, consider restricting network access to the MySQL Server to trusted hosts only. This can be achieved by configuring the MySQL server's bind-address setting in the my.cnf configuration file to limit connections.

Conclusion

The CVE-2023-21982 vulnerability in MySQL Server poses a significant risk to database availability, allowing potential denial of service attacks. It is essential for users to update to the latest patched version of the mysql-8.0 package to mitigate this risk. Additionally, implementing network access restrictions can serve as a temporary workaround until the update is applied.

See every vulnerability recorded for mysql-5.5 →

Share this vulnerability

FAQ

CVE-2023-21982 is a vulnerability in MySQL Server that allows high-privileged attackers to cause a denial of service.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

The vulnerability can lead to unauthorized access and cause the MySQL Server to hang or crash, resulting in service disruption.

Yes, a patched version of the mysql-8.0 package is available. Update to version 8.0.33-0ubuntu0.20.04.1 or later.

The CVSS score of CVE-2023-21982 is 4.9, indicating a medium severity level.

Related vulnerabilities

Recent vulnerabilities recorded for mysql-5.5.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback