Cloudanix VulnDB

CVE-2024-21160

Medium · 4.9

CVSS

4.9

EPSS

0.9%

Published

Jul 16, 2024

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A flaw in the database server lets certain trusted users with network access crash the system and interrupt services until it is restarted.

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

Allows a high-privileged network attacker to trigger a denial of service by causing InnoDB to hang or crash the MySQL Server.

Why it matters to the business

Leads to database service interruptions and potential data unavailability for applications relying on MySQL, though exploitation requires elevated privileges and the issue has remained low-risk since publication over two years ago.

How an attack unfolds

An attacker with high database privileges connects remotely via supported protocols and sends specially crafted requests targeting the InnoDB component to force a server hang or repeatable crash.

How to fix it

Upgrade affected MySQL Server installations (8.0.36 and prior, 8.3.0 and prior) to the latest patched releases provided by Oracle.

How to confirm the fix worked

Confirm MySQL Server version is updated past the affected releases, then perform stability testing with privileged network connections to verify the denial-of-service condition is resolved.

Typical attack path

  1. Obtain high-privileged MySQL account credentials
  2. Establish network connection to the MySQL server using supported protocols
  3. Send malicious queries or commands that exercise the vulnerable InnoDB code path
  4. Trigger server hang or crash resulting in complete denial of service

How to detect it

Inspect MySQL error logs for repeated InnoDB assertion failures, crashes, or abrupt server restarts; correlate with connection logs from privileged accounts during incident windows.

What your security team should do

  • Apply the latest MySQL Server patches immediately
  • Limit network exposure of MySQL ports to trusted sources only
  • Audit and minimize the number of high-privileged database accounts

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. 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
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