Critical Vulnerability in MariaDB: Unauthorized Access and Denial of Service Risk
Summary
ALPINE-CVE-2024-21096: Vulnerability in the MySQL Server product of Oracle MySQL (component: Client: mysqldump). Affects mariadb versions < 10.11.8-r0. Fixed in 10.11.8-r0. 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
MariaDB is an open-source relational database management system that is widely used for managing and storing data. It is a fork of MySQL and offers enhanced features, performance improvements, and a strong focus on security. However, recent vulnerabilities have been identified that could potentially compromise the integrity and availability of the database, particularly affecting versions 10.11.8 and earlier.
Vulnerability Detail
The vulnerability identified as CVE-2024-21096 affects the MySQL Server component of Oracle MySQL, specifically the client tool mysqldump. It allows unauthenticated attackers with access to the infrastructure where MySQL Server runs to exploit the vulnerability. Successful exploitation can lead to unauthorized updates, inserts, or deletions of data, unauthorized read access to sensitive data, and the potential for a partial denial of service (DoS) attack. The CVSS score for this vulnerability is 4.9, indicating moderate severity with impacts on confidentiality, integrity, and availability.
How To Fix
Minimum fixed version
10.11.8-r0
This is the first release that contains the fix.
sudo apk add --upgrade mariadb
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, consider restricting access to the MySQL Server infrastructure to trusted users only. Implementing firewall rules to limit access can help mitigate the risk until the package is updated.
Conclusion
The CVE-2024-21096 vulnerability poses a significant risk to MariaDB users, allowing unauthorized access and potential denial of service. It is crucial to update to the latest patched versions to mitigate these risks. Users are encouraged to monitor their systems and utilize tools like Vulert for real-time vulnerability alerts.
See every vulnerability recorded for mariadb →
FAQ
CVE-2024-21096 is a vulnerability in the MySQL Server product that allows unauthorized access and potential denial of service.
Affected versions include MariaDB on Alpine Linux v3.18 (up to 10.11.8-r0), v3.19 (up to 10.11.11-r0), v3.20, v3.21, and v3.22 (up to 10.11.8-r0).
You can use Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without needing to sign up.
The vulnerability can lead to unauthorized data access, data manipulation, and partial denial of service, affecting the overall security and performance of the database.
If immediate updates are not possible, restrict access to the MySQL Server and implement firewall rules to limit exposure until the patch can be applied.
References
Related vulnerabilities
Recent vulnerabilities recorded for mariadb.