---
title: "CVE-2021-2042"
canonical_url: "https://pkgseek.com/security/CVE-2021-2042"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "low"
---

# CVE-2021-2042

Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB). Supported versions that are affected are 8.0.21 and prior. Easily exploitable vulnerability allows high privileged attacker with logon to the infrastructure where MySQL Server executes to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized read access to a subset of MySQL Server accessible data. CVSS 3.1 Base Score 2.3 (Confidentiality impacts). CVSS Vector: (CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N).

CVE-2021-2042 is rated LOW (2.3), with 22 indexed affected package builds across 3 distributions.

- **Severity / Score**: LOW (2.3)
- **Affected builds**: 22
- **Affected distros**: 3
- **Distros with fixed_in**: Alibaba Cloud Linux, Oracle Linux, Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Alibaba Cloud Linux | 3 | mysql | 8.0.21-1.2.al8 | 8.0.26-1.1.al8 |
| Alibaba Cloud Linux | 3 | mysql-common | 8.0.21-1.2.al8 | 8.0.26-1.1.al8 |
| Alibaba Cloud Linux | 3 | mysql-devel | 8.0.21-1.2.al8 | 8.0.26-1.1.al8 |
| Alibaba Cloud Linux | 3 | mysql-errmsg | 8.0.21-1.2.al8 | 8.0.26-1.1.al8 |
| Alibaba Cloud Linux | 3 | mysql-libs | 8.0.21-1.2.al8 | 8.0.26-1.1.al8 |
| Alibaba Cloud Linux | 3 | mysql-server | 8.0.21-1.2.al8 | 8.0.26-1.1.al8 |
| Alibaba Cloud Linux | 3 | mysql-test | 8.0.21-1.2.al8 | 8.0.26-1.1.al8 |
| Oracle Linux | 8 | mysql | 8.0.21-1.module+el8.2.0+7793+cfe2b687 | 8.0.26-1.module+el8.4.0+20311+30d12931 |
| Oracle Linux | 8 | mysql-common | 8.0.21-1.module+el8.2.0+7793+cfe2b687 | 8.0.26-1.module+el8.4.0+20311+30d12931 |
| Oracle Linux | 8 | mysql-devel | 8.0.21-1.module+el8.2.0+7793+cfe2b687 | 8.0.26-1.module+el8.4.0+20311+30d12931 |
| Oracle Linux | 8 | mysql-errmsg | 8.0.21-1.module+el8.2.0+7793+cfe2b687 | 8.0.26-1.module+el8.4.0+20311+30d12931 |
| Oracle Linux | 8 | mysql-libs | 8.0.21-1.module+el8.2.0+7793+cfe2b687 | 8.0.26-1.module+el8.4.0+20311+30d12931 |
| Oracle Linux | 8 | mysql-server | 8.0.21-1.module+el8.2.0+7793+cfe2b687 | 8.0.26-1.module+el8.4.0+20311+30d12931 |
| Oracle Linux | 8 | mysql-test | 8.0.21-1.module+el8.2.0+7793+cfe2b687 | 8.0.26-1.module+el8.4.0+20311+30d12931 |
| Ubuntu | focal | libmysqlclient21 | 8.0.19-0ubuntu5 | 8.0.22-0ubuntu0.20.04.2 |
| Ubuntu | focal | libmysqlclient-dev | 8.0.19-0ubuntu5 | 8.0.22-0ubuntu0.20.04.2 |
| Ubuntu | focal | mysql-client | 8.0.19-0ubuntu5 | 8.0.22-0ubuntu0.20.04.2 |
| Ubuntu | focal | mysql-client-8.0 | 8.0.19-0ubuntu5 | 8.0.22-0ubuntu0.20.04.2 |
| Ubuntu | focal | mysql-client-core-8.0 | 8.0.19-0ubuntu5 | 8.0.22-0ubuntu0.20.04.2 |
| Ubuntu | focal | mysql-server | 8.0.19-0ubuntu5 | 8.0.22-0ubuntu0.20.04.2 |
| Ubuntu | focal | mysql-server-8.0 | 8.0.19-0ubuntu5 | 8.0.22-0ubuntu0.20.04.2 |
| Ubuntu | focal | mysql-server-core-8.0 | 8.0.19-0ubuntu5 | 8.0.22-0ubuntu0.20.04.2 |
