Critical Vulnerability in MySQL Server: Denial of Service Risk in mysql-8.0 Package
Summary
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 ↓
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.
No signup required · Results in about 60 seconds
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 →
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.