Critical Vulnerability in MariaDB: Unauthorized Access and Denial of Service Risk

mariadb Updated 02 Oct 2025

Summary

16/04/2024
N/A
Yes i
Medium
4.9

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 ↓

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

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 →

Share this vulnerability

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.

Related vulnerabilities

Recent vulnerabilities recorded for mariadb.

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 →

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