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

# CVE-2021-2226

Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Information Schema). Supported versions that are affected are 5.7.33 and prior and 8.0.23 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 access to critical data or complete access to all MySQL Server accessible data. CVSS 3.1 Base Score 4.9 (Confidentiality impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N).

CVE-2021-2226 is rated MEDIUM (4.9), with 22 indexed affected package builds across 3 distributions.

- **Severity / Score**: MEDIUM (4.9)
- **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.25-0ubuntu0.20.04.1 |
| Ubuntu | focal | libmysqlclient-dev | 8.0.19-0ubuntu5 | 8.0.25-0ubuntu0.20.04.1 |
| Ubuntu | focal | mysql-client | 8.0.19-0ubuntu5 | 8.0.25-0ubuntu0.20.04.1 |
| Ubuntu | focal | mysql-client-8.0 | 8.0.19-0ubuntu5 | 8.0.25-0ubuntu0.20.04.1 |
| Ubuntu | focal | mysql-client-core-8.0 | 8.0.19-0ubuntu5 | 8.0.25-0ubuntu0.20.04.1 |
| Ubuntu | focal | mysql-server | 8.0.19-0ubuntu5 | 8.0.25-0ubuntu0.20.04.1 |
| Ubuntu | focal | mysql-server-8.0 | 8.0.19-0ubuntu5 | 8.0.25-0ubuntu0.20.04.1 |
| Ubuntu | focal | mysql-server-core-8.0 | 8.0.19-0ubuntu5 | 8.0.25-0ubuntu0.20.04.1 |
