# CVE-2023-21872: libmysqlclient21: Vulnerability in the MySQL Server product of Oracle MySQL (component:Server: Optimizer)

CVE-2023-21872 is fixed in 20 products on 1 platform, first by RHSA-2022:6590, released September 20, 2022. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2023-21872
- Priority: High
- CVSS: 7.2 (Medium)
- EPSS: 0.0097
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Sep 20, 2022

## Description

Vulnerability in the MySQL Server product of Oracle MySQL (component:Server: Optimizer).  Supported versions that are affected are 8.0.29 andprior. Easily exploitable vulnerability allows high privileged attackerwith network access via multiple protocols to compromise MySQL Server.Successful attacks of this vulnerability can result in unauthorized abilityto cause a hang or frequently repeatable crash (complete DOS) of MySQLServer as well as  unauthorized update, insert or delete access to some ofMySQL Server accessible data. CVSS 3.1 Base Score 5.5 (Integrity andAvailability impacts).  CVSS Vector:(CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H).

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libmysqlclient21 Ubuntu 20.04 LTS (focal) | 8.0.30-0ubuntu0.20.04.2 | [libmysqlclient21 8.0.30-0ubuntu0.20.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libmysqlclient21-8.0.30-0ubuntu0.20.04.2.md) | Jan 17, 2023 |
| Linux | libmysqlclient21 Ubuntu 22.04.1 LTS (jammy) | 8.0.30-0ubuntu0.22.04.1 | [libmysqlclient21 8.0.30-0ubuntu0.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libmysqlclient21-8.0.30-0ubuntu0.22.04.1.md) | Jan 17, 2023 |
| Linux | libmysqlclient21 Ubuntu 24.10 (oracular) | 8.0.30-0ubuntu1 | [libmysqlclient21 8.0.30-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-libmysqlclient21-8.0.30-0ubuntu1.md) | Oct 19, 2022 |
| Linux | mecab RHEL 8 | 0:0.996-2.module+el8.6.0+16523+5cb0e868 | [RHSA-2022:7119](https://patchblox.com/security/data/fix/linux/rhsa-2022-7119.md) | Oct 25, 2022 |
| Linux | mecab almalinux 8 | 0.996-2.module_el8.6.0+3340+d764b636 | [ALSA-2022:7119](https://patchblox.com/security/data/fix/linux/alsa-2022-7119.md) | Oct 25, 2022 |
| Linux | mecab rocky 8 | 0:0.996-2.module+el8.6.0+1057+4d6a1721 | [RLSA-2022:7119](https://patchblox.com/security/data/fix/linux/rlsa-2022-7119.md) | Oct 25, 2022 |
| Linux | mecab-ipadic RHEL 8 | 0:2.7.0.20070801-16.module+el8.0.0+3898+e09bb8de | [RHSA-2022:7119](https://patchblox.com/security/data/fix/linux/rhsa-2022-7119.md) | Oct 25, 2022 |
| Linux | mecab-ipadic almalinux 8 | 2.7.0.20070801-16.module_el8.6.0+3340+d764b636 | [ALSA-2022:7119](https://patchblox.com/security/data/fix/linux/alsa-2022-7119.md) | Oct 25, 2022 |
| Linux | mecab-ipadic rocky 8 | 0:2.7.0.20070801-16.module+el8.3.0+242+87d3366a | [RLSA-2022:7119](https://patchblox.com/security/data/fix/linux/rlsa-2022-7119.md) | Oct 25, 2022 |
| Linux | mecab-ipadic-EUCJP RHEL 8 | 0:2.7.0.20070801-16.module+el8.0.0+3898+e09bb8de | [RHSA-2022:7119](https://patchblox.com/security/data/fix/linux/rhsa-2022-7119.md) | Oct 25, 2022 |
| Linux | mecab-ipadic-EUCJP almalinux 8 | 2.7.0.20070801-16.module_el8.6.0+3340+d764b636 | [ALSA-2022:7119](https://patchblox.com/security/data/fix/linux/alsa-2022-7119.md) | Oct 25, 2022 |
| Linux | mysql RHEL 8 | 0:8.0.30-1.module+el8.6.0+16523+5cb0e868 | [RHSA-2022:7119](https://patchblox.com/security/data/fix/linux/rhsa-2022-7119.md) | Oct 25, 2022 |
| Linux | mysql RHEL 9 | 0:8.0.30-3.el9_0 | [RHSA-2022:6590](https://patchblox.com/security/data/fix/linux/rhsa-2022-6590.md) | Sep 20, 2022 |
| Linux | mysql almalinux 8 | 8.0.30-1.module_el8.6.0+3340+d764b636 | [ALSA-2022:7119](https://patchblox.com/security/data/fix/linux/alsa-2022-7119.md) | Oct 25, 2022 |
| Linux | mysql rocky 8 | 0:8.0.30-1.module+el8.6.0+1057+4d6a1721 | [RLSA-2022:7119](https://patchblox.com/security/data/fix/linux/rlsa-2022-7119.md) | Oct 25, 2022 |
| Linux | mysql rocky 9 | 0:8.0.30-3.el9_0 | [RLSA-2022:6590](https://patchblox.com/security/data/fix/linux/rlsa-2022-6590.md) | Sep 20, 2022 |
| Linux | mysql-client Ubuntu 20.04 LTS (focal) | 8.0.30-0ubuntu0.20.04.2 | [mysql-client 8.0.30-0ubuntu0.20.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-mysql-client-8.0.30-0ubuntu0.20.04.2.md) | Jan 17, 2023 |
| Linux | mysql-client Ubuntu 22.04.1 LTS (jammy) | 8.0.30-0ubuntu0.22.04.1 | [mysql-client 8.0.30-0ubuntu0.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-mysql-client-8.0.30-0ubuntu0.22.04.1.md) | Jan 17, 2023 |
| Linux | mysql-client Ubuntu 24.10 (oracular) | 8.0.30-0ubuntu1 | [mysql-client 8.0.30-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-mysql-client-8.0.30-0ubuntu1.md) | Oct 19, 2022 |
| Linux | mysql-client-8.0 Ubuntu 20.04 LTS (focal) | 8.0.30-0ubuntu0.20.04.2 | [mysql-client-8.0 8.0.30-0ubuntu0.20.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-mysql-client-8.0-8.0.30-0ubuntu0.20.04.2.md) | Jan 17, 2023 |
| Linux | mysql-client-8.0 Ubuntu 22.04.1 LTS (jammy) | 8.0.30-0ubuntu0.22.04.1 | [mysql-client-8.0 8.0.30-0ubuntu0.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-mysql-client-8.0-8.0.30-0ubuntu0.22.04.1.md) | Jan 17, 2023 |
| Linux | mysql-client-8.0 Ubuntu 24.10 (oracular) | 8.0.30-0ubuntu1 | [mysql-client-8.0 8.0.30-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-mysql-client-8.0-8.0.30-0ubuntu1.md) | Oct 19, 2022 |
| Linux | mysql-client-core-8.0 Ubuntu 20.04 LTS (focal) | 8.0.30-0ubuntu0.20.04.2 | [mysql-client-core-8.0 8.0.30-0ubuntu0.20.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-mysql-client-core-8.0-8.0.30-0ubuntu0.20.04.2.md) | Jan 17, 2023 |
| Linux | mysql-client-core-8.0 Ubuntu 22.04.1 LTS (jammy) | 8.0.30-0ubuntu0.22.04.1 | [mysql-client-core-8.0 8.0.30-0ubuntu0.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-mysql-client-core-8.0-8.0.30-0ubuntu0.22.04.1.md) | Jan 17, 2023 |
| Linux | mysql-client-core-8.0 Ubuntu 24.10 (oracular) | 8.0.30-0ubuntu1 | [mysql-client-core-8.0 8.0.30-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-mysql-client-core-8.0-8.0.30-0ubuntu1.md) | Oct 19, 2022 |
| Linux | mysql-common RHEL 8 | 0:8.0.30-1.module+el8.6.0+16523+5cb0e868 | [RHSA-2022:7119](https://patchblox.com/security/data/fix/linux/rhsa-2022-7119.md) | Oct 25, 2022 |
| Linux | mysql-common RHEL 9 | 0:8.0.30-3.el9_0 | [RHSA-2022:6590](https://patchblox.com/security/data/fix/linux/rhsa-2022-6590.md) | Sep 20, 2022 |
| Linux | mysql-common almalinux 8 | 8.0.30-1.module_el8.6.0+3340+d764b636 | [ALSA-2022:7119](https://patchblox.com/security/data/fix/linux/alsa-2022-7119.md) | Oct 25, 2022 |
| Linux | mysql-devel RHEL 8 | 0:8.0.30-1.module+el8.6.0+16523+5cb0e868 | [RHSA-2022:7119](https://patchblox.com/security/data/fix/linux/rhsa-2022-7119.md) | Oct 25, 2022 |
| Linux | mysql-devel RHEL 9 | 0:8.0.30-3.el9_0 | [RHSA-2022:6590](https://patchblox.com/security/data/fix/linux/rhsa-2022-6590.md) | Sep 20, 2022 |
| Linux | mysql-devel almalinux 8 | 8.0.30-1.module_el8.6.0+3340+d764b636 | [ALSA-2022:7119](https://patchblox.com/security/data/fix/linux/alsa-2022-7119.md) | Oct 25, 2022 |
| Linux | mysql-errmsg RHEL 8 | 0:8.0.30-1.module+el8.6.0+16523+5cb0e868 | [RHSA-2022:7119](https://patchblox.com/security/data/fix/linux/rhsa-2022-7119.md) | Oct 25, 2022 |
| Linux | mysql-errmsg RHEL 9 | 0:8.0.30-3.el9_0 | [RHSA-2022:6590](https://patchblox.com/security/data/fix/linux/rhsa-2022-6590.md) | Sep 20, 2022 |
| Linux | mysql-errmsg almalinux 8 | 8.0.30-1.module_el8.6.0+3340+d764b636 | [ALSA-2022:7119](https://patchblox.com/security/data/fix/linux/alsa-2022-7119.md) | Oct 25, 2022 |
| Linux | mysql-libs RHEL 8 | 0:8.0.30-1.module+el8.6.0+16523+5cb0e868 | [RHSA-2022:7119](https://patchblox.com/security/data/fix/linux/rhsa-2022-7119.md) | Oct 25, 2022 |
| Linux | mysql-libs RHEL 9 | 0:8.0.30-3.el9_0 | [RHSA-2022:6590](https://patchblox.com/security/data/fix/linux/rhsa-2022-6590.md) | Sep 20, 2022 |
| Linux | mysql-libs almalinux 8 | 8.0.30-1.module_el8.6.0+3340+d764b636 | [ALSA-2022:7119](https://patchblox.com/security/data/fix/linux/alsa-2022-7119.md) | Oct 25, 2022 |
| Linux | mysql-router Ubuntu 20.04 LTS (focal) | 8.0.30-0ubuntu0.20.04.2 | [mysql-router 8.0.30-0ubuntu0.20.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-mysql-router-8.0.30-0ubuntu0.20.04.2.md) | Jan 17, 2023 |
| Linux | mysql-router Ubuntu 22.04.1 LTS (jammy) | 8.0.30-0ubuntu0.22.04.1 | [mysql-router 8.0.30-0ubuntu0.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-mysql-router-8.0.30-0ubuntu0.22.04.1.md) | Jan 17, 2023 |
| Linux | mysql-router Ubuntu 24.10 (oracular) | 8.0.30-0ubuntu1 | [mysql-router 8.0.30-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-mysql-router-8.0.30-0ubuntu1.md) | Oct 19, 2022 |
| Linux | mysql-server RHEL 8 | 0:8.0.30-1.module+el8.6.0+16523+5cb0e868 | [RHSA-2022:7119](https://patchblox.com/security/data/fix/linux/rhsa-2022-7119.md) | Oct 25, 2022 |
| Linux | mysql-server RHEL 9 | 0:8.0.30-3.el9_0 | [RHSA-2022:6590](https://patchblox.com/security/data/fix/linux/rhsa-2022-6590.md) | Sep 20, 2022 |
| Linux | mysql-server Ubuntu 20.04 LTS (focal) | 8.0.30-0ubuntu0.20.04.2 | [mysql-server 8.0.30-0ubuntu0.20.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-mysql-server-8.0.30-0ubuntu0.20.04.2.md) | Jan 17, 2023 |
| Linux | mysql-server Ubuntu 22.04.1 LTS (jammy) | 8.0.30-0ubuntu0.22.04.1 | [mysql-server 8.0.30-0ubuntu0.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-mysql-server-8.0.30-0ubuntu0.22.04.1.md) | Jan 17, 2023 |
| Linux | mysql-server Ubuntu 24.10 (oracular) | 8.0.30-0ubuntu1 | [mysql-server 8.0.30-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-mysql-server-8.0.30-0ubuntu1.md) | Oct 19, 2022 |
| Linux | mysql-server almalinux 8 | 8.0.30-1.module_el8.6.0+3340+d764b636 | [ALSA-2022:7119](https://patchblox.com/security/data/fix/linux/alsa-2022-7119.md) | Oct 25, 2022 |
| Linux | mysql-server-8.0 Ubuntu 20.04 LTS (focal) | 8.0.30-0ubuntu0.20.04.2 | [mysql-server-8.0 8.0.30-0ubuntu0.20.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-mysql-server-8.0-8.0.30-0ubuntu0.20.04.2.md) | Jan 17, 2023 |
| Linux | mysql-server-8.0 Ubuntu 22.04.1 LTS (jammy) | 8.0.30-0ubuntu0.22.04.1 | [mysql-server-8.0 8.0.30-0ubuntu0.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-mysql-server-8.0-8.0.30-0ubuntu0.22.04.1.md) | Jan 17, 2023 |
| Linux | mysql-server-8.0 Ubuntu 24.10 (oracular) | 8.0.30-0ubuntu1 | [mysql-server-8.0 8.0.30-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-mysql-server-8.0-8.0.30-0ubuntu1.md) | Oct 19, 2022 |
| Linux | mysql-server-core-8.0 Ubuntu 20.04 LTS (focal) | 8.0.30-0ubuntu0.20.04.2 | [mysql-server-core-8.0 8.0.30-0ubuntu0.20.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-mysql-server-core-8.0-8.0.30-0ubuntu0.20.04.2.md) | Jan 17, 2023 |
| Linux | mysql-server-core-8.0 Ubuntu 22.04.1 LTS (jammy) | 8.0.30-0ubuntu0.22.04.1 | [mysql-server-core-8.0 8.0.30-0ubuntu0.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-mysql-server-core-8.0-8.0.30-0ubuntu0.22.04.1.md) | Jan 17, 2023 |
| Linux | mysql-server-core-8.0 Ubuntu 24.10 (oracular) | 8.0.30-0ubuntu1 | [mysql-server-core-8.0 8.0.30-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-mysql-server-core-8.0-8.0.30-0ubuntu1.md) | Oct 19, 2022 |
| Linux | mysql-source-8.0 Ubuntu 20.04 LTS (focal) | 8.0.30-0ubuntu0.20.04.2 | [mysql-source-8.0 8.0.30-0ubuntu0.20.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-mysql-source-8.0-8.0.30-0ubuntu0.20.04.2.md) | Jan 17, 2023 |
| Linux | mysql-source-8.0 Ubuntu 22.04.1 LTS (jammy) | 8.0.30-0ubuntu0.22.04.1 | [mysql-source-8.0 8.0.30-0ubuntu0.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-mysql-source-8.0-8.0.30-0ubuntu0.22.04.1.md) | Jan 17, 2023 |
| Linux | mysql-source-8.0 Ubuntu 24.10 (oracular) | 8.0.30-0ubuntu1 | [mysql-source-8.0 8.0.30-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-mysql-source-8.0-8.0.30-0ubuntu1.md) | Oct 19, 2022 |
| Linux | mysql-test RHEL 8 | 0:8.0.30-1.module+el8.6.0+16523+5cb0e868 | [RHSA-2022:7119](https://patchblox.com/security/data/fix/linux/rhsa-2022-7119.md) | Oct 25, 2022 |
| Linux | mysql-test RHEL 9 | 0:8.0.30-3.el9_0 | [RHSA-2022:6590](https://patchblox.com/security/data/fix/linux/rhsa-2022-6590.md) | Sep 20, 2022 |
| Linux | mysql-test almalinux 8 | 8.0.30-1.module_el8.6.0+3340+d764b636 | [ALSA-2022:7119](https://patchblox.com/security/data/fix/linux/alsa-2022-7119.md) | Oct 25, 2022 |
| Linux | mysql-testsuite Ubuntu 20.04 LTS (focal) | 8.0.30-0ubuntu0.20.04.2 | [mysql-testsuite 8.0.30-0ubuntu0.20.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-mysql-testsuite-8.0.30-0ubuntu0.20.04.2.md) | Jan 17, 2023 |
| Linux | mysql-testsuite Ubuntu 22.04.1 LTS (jammy) | 8.0.30-0ubuntu0.22.04.1 | [mysql-testsuite 8.0.30-0ubuntu0.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-mysql-testsuite-8.0.30-0ubuntu0.22.04.1.md) | Jan 17, 2023 |
| Linux | mysql-testsuite Ubuntu 24.10 (oracular) | 8.0.30-0ubuntu1 | [mysql-testsuite 8.0.30-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-mysql-testsuite-8.0.30-0ubuntu1.md) | Oct 19, 2022 |
| Linux | mysql-testsuite-8.0 Ubuntu 20.04 LTS (focal) | 8.0.30-0ubuntu0.20.04.2 | [mysql-testsuite-8.0 8.0.30-0ubuntu0.20.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-mysql-testsuite-8.0-8.0.30-0ubuntu0.20.04.2.md) | Jan 17, 2023 |
| Linux | mysql-testsuite-8.0 Ubuntu 22.04.1 LTS (jammy) | 8.0.30-0ubuntu0.22.04.1 | [mysql-testsuite-8.0 8.0.30-0ubuntu0.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-mysql-testsuite-8.0-8.0.30-0ubuntu0.22.04.1.md) | Jan 17, 2023 |
| Linux | mysql-testsuite-8.0 Ubuntu 24.10 (oracular) | 8.0.30-0ubuntu1 | [mysql-testsuite-8.0 8.0.30-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-mysql-testsuite-8.0-8.0.30-0ubuntu1.md) | Oct 19, 2022 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
