CVE-2024-21173
Medium · 4.9CVSS
4.9
EPSS
0.8%
Published
Jul 16, 2024
CISA due date
—
Cloudanix analysis
A problem in the database software lets certain trusted users over the network shut the database down, stopping applications that rely on it from working.
- 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 flaw in the InnoDB component permits 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 downtime that can interrupt dependent applications and services, increasing operational costs and affecting availability for organizations using affected MySQL versions.
How an attack unfolds
An attacker who already possesses high-privileged network credentials connects to the MySQL Server over supported protocols and sends specially crafted traffic that triggers the InnoDB vulnerability, causing the server to hang or crash.
How to fix it
Upgrade affected MySQL Server installations to versions newer than 8.0.37 and 8.4.0. When MySQL is used through bigbluebutton/bigbluebutton, apply the fix present in commit 04e916798b6b1f53f88513df3168f009b57b8f18.
How to confirm the fix worked
Confirm the running MySQL Server version is newer than the listed affected releases and test that the server remains stable under the same privileged network operations that previously triggered the crash.
Typical attack path
- Obtain high-privileged network credentials for the MySQL Server
- Establish a connection using one of the supported network protocols
- Transmit crafted requests that exercise the vulnerable InnoDB code path
- Cause the server process to hang or terminate
How to detect it
Review database server logs for unexpected crashes or hangs, correlate with privileged connection events, and examine network traffic to the MySQL ports from administrative accounts around the time of any availability incidents.
What your security team should do
- Prioritize patching MySQL Server instances to the fixed releases as soon as possible
- Restrict network access to MySQL ports to only trusted administrative hosts
- Review privilege assignments to ensure only necessary accounts have high-privileged network access
- Monitor for availability alerts on MySQL services
The record
Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB). Supported versions that are affected are 8.0.37 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.39-0ubuntu0.20.04.1 |
| Ubuntu:22.04:LTS | mariadb-10.6 | 0 | No fix |
| Ubuntu:22.04:LTS | mysql-8.0 | 0 | 8.0.39-0ubuntu0.22.04.1 |
| Ubuntu:24.04:LTS | mariadb | 0 | No fix |
| Ubuntu:24.04:LTS | mysql-8.0 | 0 | 8.0.39-0ubuntu0.24.04.1 |
| Ubuntu:24.10 | mariadb | 0 | No fix |
| Ubuntu:24.10 | mysql-8.0 | 0 | 8.0.38-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
- CVE-2024-21163 Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer). Also affects mysql-8.0
- CVE-2024-21162 Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer). Also affects mysql-8.0
- CVE-2024-21166 Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB). Also affects mysql-8.0
- CVE-2024-21160 Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB). Also affects mysql-8.0
- CVE-2024-21159 Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB). Also affects mysql-8.0
- CVE-2024-21157 Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB). Also affects mysql-8.0
- CVE-2024-21142 Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Security… Also affects mysql-8.0
- CVE-2024-21135 Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer). Also affects mysql-8.0