Cloudanix VulnDB

CVE-2024-21157

Medium · 4.9

CVSS

4.9

EPSS

0.9%

Published

Jul 16, 2024

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in the database software lets certain authorized users remotely make the system stop responding, causing temporary outages for anything that depends on it.

Exploitation
Remote Authenticated
Attacker needs
High Privilege
Complexity
Low
Impact
Denial Of Service
Component
Application
Class
Denial of service
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The vulnerability in InnoDB allows a high-privileged network attacker to trigger a hang or repeatable crash, resulting in complete denial of service for the MySQL Server process.

Why it matters to the business

Successful exploitation leads to unplanned database outages that disrupt applications and services relying on MySQL, increasing operational recovery costs and potential revenue loss during downtime.

How an attack unfolds

An attacker with high-privileged network credentials connects to the MySQL Server via supported protocols and submits specially crafted requests that exploit a flaw in the InnoDB storage engine, forcing the server into a hung or crashed state.

How to fix it

Upgrade affected MySQL Server installations to the latest patched versions that address the InnoDB vulnerability; apply vendor security updates promptly and verify post-upgrade stability.

How to confirm the fix worked

Confirm the running MySQL version is no longer in the vulnerable range, review release notes for the fix, and perform controlled load testing to ensure InnoDB no longer exhibits crash behavior under similar conditions.

Typical attack path

  1. Obtain high-privileged database credentials with network access
  2. Establish a connection to the target MySQL Server using supported protocols
  3. Transmit crafted queries or commands targeting the InnoDB component
  4. Trigger repeated crashes or hangs to sustain denial of service

How to detect it

Examine MySQL error logs and system crash dumps for repeated InnoDB-related failures or abrupt server terminations; correlate with network connection logs from high-privileged accounts around the time of incidents.

What your security team should do

  • Prioritize patching MySQL Server instances to the latest fixed versions within standard change windows
  • Restrict high-privileged database accounts to only necessary network sources
  • Enable and monitor MySQL error and crash logs for signs of repeated InnoDB failures
  • Test failover and recovery procedures to minimize impact from potential DoS events

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.4.0 and prior. Easily exploitable vulnerability allows high privileged attacker with network access via multiple protocols to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Server. CVSS 3.1 Base Score 4.9 (Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/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
Chainguard mysql-8.4 0 8.4.1-r0
Chainguard mysql-8.4-bitnami-compat 0 8.4.1-r0
Chainguard mysql-8.4-client 0 8.4.1-r0
Chainguard mysql-8.4-dev 0 8.4.1-r0
Chainguard mysql-8.4-iamguarded-compat 0 8.4.1-r0
Chainguard mysql-8.4-oci-entrypoint 0 8.4.1-r0
Chainguard mysql-8.4-oci-entrypoint-compat 0 8.4.1-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