CVE Vulnerabilities

CVE-2024-21057

Uncontrolled Resource Consumption

Published: Apr 16, 2024 | Modified: Apr 09, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
4.9 MODERATE
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM

Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer). Supported versions that are affected are 8.0.35 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).

Weakness

The product does not properly control the allocation and maintenance of a limited resource.

Affected Software

Name Vendor Start Version End Version
Mysql_server Oracle 8.0.0 (including) 8.0.35 (including)
Red Hat Enterprise Linux 8 RedHat mysql:8.0-8090020240126173013.a75119d5 *
Red Hat Enterprise Linux 9 RedHat mysql-0:8.0.36-1.el9_3 *
Red Hat Software Collections for Red Hat Enterprise Linux 7 RedHat rh-mysql80-mysql-0:8.0.36-1.el7 *
Mariadb-10.3 Ubuntu focal *
Mysql-5.5 Ubuntu esm-infra-legacy/trusty *
Mysql-5.5 Ubuntu trusty/esm *
Mysql-5.7 Ubuntu esm-infra/xenial *
Mysql-8.0 Ubuntu esm-infra/focal *
Mysql-8.0 Ubuntu focal *
Mysql-8.0 Ubuntu jammy *
Mysql-8.0 Ubuntu mantic *
Mysql-8.0 Ubuntu noble *
Mysql-8.0 Ubuntu oracular *
Mysql-8.0 Ubuntu upstream *

Potential Mitigations

  • Mitigation of resource exhaustion attacks requires that the target system either:

  • The first of these solutions is an issue in itself though, since it may allow attackers to prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question.

  • The second solution is simply difficult to effectively institute – and even when properly done, it does not provide a full solution. It simply makes the attack require more resources on the part of the attacker.

References