Cloudanix VulnDB

CVE-2024-21166

Medium · 5.9

CVSS

5.9

EPSS

0.7%

Published

Jul 16, 2024

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in certain versions of the MySQL database server could allow a trusted network user to corrupt important data or shut the database down.

Exploitation
Remote Authenticated
Attacker needs
High Privilege
Complexity
High
Impact
Data Tampering
Component
Application
Class
Authorization Bypass
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Authorization bypass in InnoDB allows a high-privileged network attacker to perform unauthorized modifications to critical data structures or induce repeated crashes resulting in denial of service.

Why it matters to the business

Successful exploitation can lead to data corruption or loss and extended database downtime, affecting application availability and requiring recovery efforts; low EPSS and absence from KEV indicate limited observed exploitation risk despite the 820 days since publication.

How an attack unfolds

An attacker with valid high-privilege credentials connects to the MySQL Server over supported network protocols and leverages the InnoDB authorization flaw to issue operations that bypass intended access controls, resulting in data tampering or service disruption.

How to fix it

Upgrade affected MySQL Server installations (8.0.36 and earlier, 8.3.0 and earlier) to the latest patched releases provided by Oracle; apply vendor security updates as soon as available and restrict unnecessary network access for privileged accounts.

How to confirm the fix worked

Verify MySQL Server version is no longer in the affected range, review release notes for the specific CVE fix, and confirm through regression testing that the described integrity and availability impacts are no longer reproducible.

Typical attack path

  1. Obtain high-privileged network credentials for the target MySQL instance
  2. Establish a connection using one of the supported protocols
  3. Issue crafted operations that trigger the InnoDB authorization bypass
  4. Perform unauthorized data modifications or induce repeated crashes

How to detect it

Inspect MySQL error logs and general query logs for repeated unexpected InnoDB crashes or hang conditions originating from privileged sessions; correlate with authentication events from high-privilege accounts.

What your security team should do

  • Prioritize patching MySQL Server instances to the latest fixed versions
  • Limit network exposure of database ports to trusted sources only
  • Review and minimize the number of high-privileged accounts with remote access
  • Monitor for anomalous InnoDB-related crashes or data anomalies

The record

Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB). Supported versions that are affected are 8.0.36 and prior and 8.3.0 and prior. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized creation, deletion or modification access to critical data or all MySQL Server accessible data and unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Server. CVSS 3.1 Base Score 5.9 (Integrity and Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:H).

Affected packages

Ecosystem Package Introduced Fixed
Chainguard mysql-8.0 0 8.0.38-r0
Chainguard mysql-8.0-bitnami-compat 0 8.0.38-r0
Chainguard mysql-8.0-client 0 8.0.38-r0
Chainguard mysql-8.0-dev 0 8.0.38-r0
Chainguard mysql-8.0-iamguarded-compat 0 8.0.38-r0
Chainguard mysql-8.0-oci-entrypoint 0 8.0.38-r0
Chainguard mysql-8.0-oci-entrypoint-compat 0 8.0.38-r0
Ubuntu:14.04:LTS mysql-5.5 0 No fix
Ubuntu:16.04:LTS mariadb-10.0 0 No fix
Ubuntu:16.04:LTS percona-server-5.6 0 No fix
Ubuntu:16.04:LTS percona-xtradb-cluster-5.6 0 No fix
Ubuntu:18.04:LTS mariadb-10.1 0 No fix
Ubuntu:20.04:LTS mariadb-10.3 0 No fix
Ubuntu:20.04:LTS mysql-8.0 0 8.0.37-0ubuntu0.20.04.3
Ubuntu:22.04:LTS mariadb-10.6 0 No fix
Ubuntu:22.04:LTS mysql-8.0 0 8.0.37-0ubuntu0.22.04.3
Ubuntu:24.04:LTS mariadb 0 No fix
Ubuntu:24.04:LTS mysql-8.0 0 8.0.37-0ubuntu0.24.04.1
Ubuntu:24.10 mariadb 0 No fix
Ubuntu:24.10 mysql-8.0 0 8.0.37-1
Ubuntu:25.04 mariadb 0 No fix
Ubuntu:25.10 mariadb 0 No fix
Ubuntu:Pro:14.04:LTS mysql-5.5 0 No fix
Ubuntu:Pro:16.04:LTS mariadb-10.0 0 No fix
Ubuntu:Pro:16.04:LTS mysql-5.7 0 No fix
Ubuntu:Pro:16.04:LTS percona-server-5.6 0 No fix
Ubuntu:Pro:16.04:LTS percona-xtradb-cluster-5.6 0 No fix
Ubuntu:Pro:18.04:LTS mariadb-10.1 0 No fix
Ubuntu:Pro:18.04:LTS mysql-5.7 0 No fix
Ubuntu:Pro:20.04:LTS mariadb-10.3 0 No fix

Related vulnerabilities