CVE-2024-21015
Medium · 5.5CVSS
5.5
EPSS
0.8%
Published
Apr 16, 2024
CISA due date
—
Cloudanix analysis
A problem in the database server lets certain trusted users with remote access crash the system or change some stored information.
- 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 Server: DML component permits a high-privileged network attacker to trigger repeated crashes or hangs while also performing unauthorized data modifications through crafted DML operations.
Why it matters to the business
Database services can experience prolonged outages and data integrity issues, increasing operational costs and compliance risk even though the vulnerability requires elevated privileges.
How an attack unfolds
An authenticated high-privileged user with network access crafts malicious DML statements that exploit the DML handling logic, resulting in denial of service and limited unauthorized data changes.
How to fix it
Apply the latest Oracle MySQL Server security updates that address the DML component vulnerability in versions 8.0.34 and 8.3.0 and earlier.
How to confirm the fix worked
Verify that MySQL Server instances are running patched versions by checking the output of SELECT VERSION() and reviewing Oracle's Critical Patch Update notes for the affected releases.
Typical attack path
- Obtain high-privileged MySQL account with network connectivity
- Connect to the MySQL Server instance using supported protocols
- Submit specially crafted DML statements targeting the vulnerable code path
- Trigger repeated crashes or data modifications without further authentication
How to detect it
Examine MySQL error logs for repeated crash or hang entries correlated with DML statements from privileged accounts; review audit logs for unexpected data modifications performed by high-privileged users.
What your security team should do
- Prioritize patching all MySQL Server instances to the latest fixed releases
- Restrict network access to database ports to only trusted clients
- Review and minimize the number of high-privileged accounts with remote access
- Monitor for unusual crash patterns in MySQL error logs
The record
Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: DML). Supported versions that are affected are 8.0.34 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 as well as unauthorized update, insert or delete access to some of MySQL Server accessible data. CVSS 3.1 Base Score 5.5 (Integrity and Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/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 |
| Red Hat:rhel_software_collections:3::el7 | rh-mysql80-mysql | 0 | 0:8.0.36-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-mysql80-mysql-common | 0 | 0:8.0.36-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-mysql80-mysql-config | 0 | 0:8.0.36-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-mysql80-mysql-config-syspaths | 0 | 0:8.0.36-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-mysql80-mysql-debuginfo | 0 | 0:8.0.36-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-mysql80-mysql-devel | 0 | 0:8.0.36-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-mysql80-mysql-errmsg | 0 | 0:8.0.36-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-mysql80-mysql-icu-data-files | 0 | 0:8.0.36-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-mysql80-mysql-server | 0 | 0:8.0.36-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-mysql80-mysql-server-syspaths | 0 | 0:8.0.36-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-mysql80-mysql-syspaths | 0 | 0:8.0.36-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-mysql80-mysql-test | 0 | 0:8.0.36-1.el7 |
| 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.35-0ubuntu0.20.04.1 |
| Ubuntu:22.04:LTS | mysql-8.0 | 0 | 8.0.35-0ubuntu0.22.04.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
- CVE-2024-21173 Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB). Also affects mysql-8.0
- 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