CVE-2024-21096 Missing authorization in MySQL Server

Medium 4.9 Published Updated

An attacker with local access can compromise MySQL Server to read, modify, or delete data and cause partial denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-21096?

CVE-2024-21096 is a medium-severity missing authorization vulnerability in Debian Debian Linux, published on 16 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Vulnerability in the MySQL Server product of Oracle MySQL (component: Client: mysqldump). Supported versions that are affected are 8.0.36 and prior and 8.3.0 and prior. Difficult to exploit vulnerability allows unauthenticated attacker with logon to the infrastructure where MySQL Server executes to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized update, insert or delete access to some of MySQL Server accessible data as well as unauthorized read access to a subset of MySQL Server accessible data and unauthorized ability to cause a partial denial of service (partial DOS) of MySQL Server. CVSS 3.1 Base Score 4.9 (Confidentiality, Integrity and Availability impacts). CVSS Vector: (CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L).

Which versions are affected by CVE-2024-21096?

3 open source packages ship an affected version, including mariadb, mariadb-min and mysql-client. It affects 7 products.

PackageAffectedFixed in
mariadb BitnamiAll versions10.5.25, 10.6.18, 10.11.8, 11.0.6, 11.1.5, 11.2.4, 11.4.2
mariadb-min BitnamiAll versions11.4.7
mysql-client BitnamiAll versions10.5.25, 10.6.18, 10.11.8, 11.0.6, 11.1.5, 11.2.4, 11.4.2
Linux distribution packages (37)
Judy AlmaLinux:8All versions1.0.5-18.module_el8.10.0+3947+ac422511
Judy AlmaLinux:8All versions1.0.5-18.module_el8.10.0+3955+6534edaf
Judy AlmaLinux:8All versions1.0.5-18.module_el8.8.0+3620+5d452900
galera AlmaLinux:8All versions26.4.20-1.module_el8.10.0+3947+ac422511
galera AlmaLinux:8All versions26.4.20-1.module_el8.10.0+3955+6534edaf
mariadb AlmaLinux:8All versions3:10.11.10-1.module_el8.10.0+3955+6534edaf
mariadb-backup AlmaLinux:8All versions3:10.11.10-1.module_el8.10.0+3955+6534edaf
mariadb-common AlmaLinux:8All versions3:10.11.10-1.module_el8.10.0+3955+6534edaf
mariadb-devel AlmaLinux:8All versions3:10.11.10-1.module_el8.10.0+3955+6534edaf
mariadb-embedded AlmaLinux:8All versions3:10.11.10-1.module_el8.10.0+3955+6534edaf
mariadb-embedded-devel AlmaLinux:8All versions3:10.11.10-1.module_el8.10.0+3955+6534edaf
mariadb-errmsg AlmaLinux:8All versions3:10.11.10-1.module_el8.10.0+3955+6534edaf
mariadb-gssapi-server AlmaLinux:8All versions3:10.11.10-1.module_el8.10.0+3955+6534edaf
mariadb-oqgraph-engine AlmaLinux:8All versions3:10.11.10-1.module_el8.10.0+3955+6534edaf
mariadb-pam AlmaLinux:8All versions3:10.11.10-1.module_el8.10.0+3955+6534edaf
mariadb-server AlmaLinux:8All versions3:10.11.10-1.module_el8.10.0+3955+6534edaf
mariadb-server-galera AlmaLinux:8All versions3:10.11.10-1.module_el8.10.0+3955+6534edaf
mariadb-server-utils AlmaLinux:8All versions3:10.11.10-1.module_el8.10.0+3955+6534edaf
mariadb-test AlmaLinux:8All versions3:10.11.10-1.module_el8.10.0+3955+6534edaf
galera AlmaLinux:9All versions26.4.20-1.module_el9.5.0+135+c9657a87
mariadb AlmaLinux:9All versions3:10.11.10-1.module_el9.5.0+135+c9657a87
mariadb-backup AlmaLinux:9All versions3:10.11.10-1.module_el9.5.0+135+c9657a87
mariadb-common AlmaLinux:9All versions3:10.11.10-1.module_el9.5.0+135+c9657a87
mariadb-devel AlmaLinux:9All versions3:10.11.10-1.module_el9.5.0+135+c9657a87
mariadb-embedded AlmaLinux:9All versions3:10.11.10-1.module_el9.5.0+135+c9657a87
mariadb-embedded-devel AlmaLinux:9All versions3:10.11.10-1.module_el9.5.0+135+c9657a87
mariadb-errmsg AlmaLinux:9All versions3:10.11.10-1.module_el9.5.0+135+c9657a87
mariadb-gssapi-server AlmaLinux:9All versions3:10.11.10-1.module_el9.5.0+135+c9657a87
mariadb-oqgraph-engine AlmaLinux:9All versions3:10.11.10-1.module_el9.5.0+135+c9657a87
mariadb-pam AlmaLinux:9All versions3:10.11.10-1.module_el9.5.0+135+c9657a87
mariadb-server AlmaLinux:9All versions3:10.11.10-1.module_el9.5.0+135+c9657a87
mariadb-server-galera AlmaLinux:9All versions3:10.11.10-1.module_el9.5.0+135+c9657a87
mariadb-server-utils AlmaLinux:9All versions3:10.11.10-1.module_el9.5.0+135+c9657a87
mariadb-test AlmaLinux:9All versions3:10.11.10-1.module_el9.5.0+135+c9657a87
Judy Red Hat:enterprise_linux:8::appstreamAll versions0:1.0.5-18.module+el8.10.0+21221+7bee72c1
Judy-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:1.0.5-18.module+el8.10.0+21221+7bee72c1
Judy-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:1.0.5-18.module+el8.10.0+21221+7bee72c1

Products include Debian Debian Linux, Fedoraproject Fedora, Netapp Active Iq Unified Manager, Netapp Oncommand Insight, Netapp Oncommand Workflow Automation, Netapp Snapcenter and 1 more.

How do I fix CVE-2024-21096?

Upgrade mariadb to a fixed version for your release line: 10.5.25, 10.6.18, 10.11.8 or 11.0.6.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2024-21096 being exploited?

There is no known exploitation of CVE-2024-21096 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2024-21096, ALSA-2025:0737, ALSA-2025:0912, AZL-49936, AZL-49948, AZL-49962 and 18 more.

Is CVE-2024-21096 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free