Cloudanix VulnDB

CVE-2024-21047

Medium · 4.9

CVSS

4.9

EPSS

0.9%

Published

Apr 16, 2024

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A problem in the MySQL database software lets trusted users with special access crash the entire database system from afar, stopping normal operations until it's 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

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

Why it matters to the business

Successful exploitation leads to database server downtime, disrupting applications and services reliant on the MySQL database, potentially causing operational interruptions and data unavailability.

How an attack unfolds

An attacker with high-privileged network access connects to the MySQL Server using multiple protocols and sends specially crafted requests that exploit a flaw in InnoDB, causing the server to hang or crash repeatedly.

How to fix it

Apply the latest security patches released by Oracle for MySQL Server versions 8.0 and 8.3 to address the vulnerability in InnoDB.

How to confirm the fix worked

Verify the MySQL Server version is updated beyond the affected releases and monitor for any remaining crash incidents in server logs.

Typical attack path

  1. Gain high-privileged access to the MySQL Server
  2. Establish network connection via supported protocols
  3. Transmit malicious packets targeting the InnoDB component
  4. Trigger repeated crashes or hangs leading to denial of service

How to detect it

Examine MySQL error logs for repeated InnoDB assertion failures or crashes, and review connection logs for high-privileged access from unexpected sources around the time of incidents.

  • InnoDB assertion failure
  • mysqld got signal
  • mysqld process crash

What your security team should do

  • Prioritize patching MySQL Server instances to the latest fixed versions
  • Restrict network access to MySQL ports to trusted sources only
  • Implement monitoring for unusual database crashes or hangs
  • Review and limit high-privileged accounts with network access

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
Chainguard percona-server-8.3 0 8.3.0-r1
Chainguard percona-server-8.3-dev 0 8.3.0-r1
Chainguard percona-server-8.3-oci-entrypoint 0 8.3.0-r1
Chainguard percona-server-8.3-oci-entrypoint-compat 0 8.3.0-r1
Ubuntu:14.04:LTS mysql-5.5 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: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 mysql-8.0 0 8.0.37-0ubuntu0.22.04.3
Ubuntu:23.10 mysql-8.0 0 8.0.37-0ubuntu0.23.10.2
Ubuntu:24.04:LTS mysql-8.0 0 8.0.37-0ubuntu0.24.04.1
Ubuntu:24.10 mysql-8.0 0 8.0.37-1
Ubuntu:Pro:14.04:LTS mysql-5.5 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 mysql-5.7 0 No fix
Wolfi percona-server-8.3 0 8.3.0-r1
Wolfi percona-server-8.3-dev 0 8.3.0-r1
Wolfi percona-server-8.3-oci-entrypoint 0 8.3.0-r1
Wolfi percona-server-8.3-oci-entrypoint-compat 0 8.3.0-r1

Related vulnerabilities