CVE-2023-21840
Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: PS). Supported...
Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: PS). Supported versions that are affected are 5.7.40 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).
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- High
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
4.9
Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: PS). Supported versions that are affected are 5.7.40 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).
- Record
CVE-2023-21840- CVSS 3.1
- 4.9 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
EUVDEUVD-2023-26006
4.9
Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: PS). Supported versions that are affected are 5.7.40 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).
- Record
EUVD-2023-26006- CVSS 3.1
- 4.9 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-jcp3-6qf5-qwcc
4.9
Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: PS). Supported...
Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: PS). Supported versions that are affected are 5.7.40 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).
- Record
GHSA-jcp3-6qf5-qwcc- CVSS 3.1
- 4.9 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
NVD
4.9
Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: PS). Supported versions that are affected are 5.7.40 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).
- Record
CVE-2023-21840- CVSS 3.1
- 4.9 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV
4.9
Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: PS). Supported versions that are affected are 5.7.40 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).
- Record
CVE-2023-21840- CVSS 3.1
- 4.9 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2023-21840
4.9
Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: PS). Supported versions that are affected are 5.7.40 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).
- Record
UBUNTU-CVE-2023-21840- CVSS 3.1
- 4.9 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVCLSA-2023-1675372579 No score
Fix CVE(s): CVE-2023-21840
- SECURITY UPDATE: Update to 5.7.41 to fix security issues
- CVE-2023-21840
- Record
CLSA-2023-1675372579- Updated
- 2026-11-02
OSVUSN-5823-1 No score
mysql-5.7, mysql-8.0 vulnerabilities
Multiple security issues were discovered in MySQL and this update includes new upstream MySQL versions to fix these issues.
MySQL has been updated to 8.0.32 in Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 22.10. Ubuntu 18.04 LTS has been updated to MySQL 5.7.41.
In addition to security fixes, the updated packages contain bug fixes, new features, and possibly incompatible changes.
Please see the following for more information:
https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-41.html https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-32.html https://www.oracle.com/security-alerts/cpujan2023.html
- Record
USN-5823-1- Updated
- 2026-11-02
OSVUSN-5823-2 No score
mysql-5.7 vulnerability
USN-5823-1 fixed a vulnerability in MySQL. This update provides the corresponding update for Ubuntu 16.04 ESM.
Original advisory details:
Multiple security issues were discovered in MySQL and this update includes new upstream MySQL versions to fix these issues.
MySQL has been updated to MySQL 5.7.41.
In addition to security fixes, the updated packages contain bug fixes, new features, and possibly incompatible changes.
Please see the following for more information:
https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-41.html https://www.oracle.com/security-alerts/cpujan2023.html
- Record
USN-5823-2- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libmysqlclient-devTuxCare:Ubuntu:16.04 |
before 5.7.41-0ubuntu0.16.04.1+tuxcare.els1 | 5.7.41-0ubuntu0.16.04.1+tuxcare.els1 |
libmysqlclient20TuxCare:Ubuntu:16.04 |
before 5.7.41-0ubuntu0.16.04.1+tuxcare.els1 | 5.7.41-0ubuntu0.16.04.1+tuxcare.els1 |
libmysqld-devTuxCare:Ubuntu:16.04 |
before 5.7.41-0ubuntu0.16.04.1+tuxcare.els1 | 5.7.41-0ubuntu0.16.04.1+tuxcare.els1 |
mysql-clientTuxCare:Ubuntu:16.04 |
before 5.7.41-0ubuntu0.16.04.1+tuxcare.els1 | 5.7.41-0ubuntu0.16.04.1+tuxcare.els1 |
mysql-client-5.7TuxCare:Ubuntu:16.04 |
before 5.7.41-0ubuntu0.16.04.1+tuxcare.els1 | 5.7.41-0ubuntu0.16.04.1+tuxcare.els1 |
mysql-client-core-5.7TuxCare:Ubuntu:16.04 |
before 5.7.41-0ubuntu0.16.04.1+tuxcare.els1 | 5.7.41-0ubuntu0.16.04.1+tuxcare.els1 |
mysql-commonTuxCare:Ubuntu:16.04 |
before 5.7.41-0ubuntu0.16.04.1+tuxcare.els1 | 5.7.41-0ubuntu0.16.04.1+tuxcare.els1 |
mysql-serverTuxCare:Ubuntu:16.04 |
before 5.7.41-0ubuntu0.16.04.1+tuxcare.els1 | 5.7.41-0ubuntu0.16.04.1+tuxcare.els1 |
mysql-server-5.7TuxCare:Ubuntu:16.04 |
before 5.7.41-0ubuntu0.16.04.1+tuxcare.els1 | 5.7.41-0ubuntu0.16.04.1+tuxcare.els1 |
mysql-server-core-5.7TuxCare:Ubuntu:16.04 |
before 5.7.41-0ubuntu0.16.04.1+tuxcare.els1 | 5.7.41-0ubuntu0.16.04.1+tuxcare.els1 |
Show 11 moreShow less
| Package | Affected | Fixed |
|---|---|---|
mysql-source-5.7TuxCare:Ubuntu:16.04 |
before 5.7.41-0ubuntu0.16.04.1+tuxcare.els1 | 5.7.41-0ubuntu0.16.04.1+tuxcare.els1 |
mysql-testsuiteTuxCare:Ubuntu:16.04 |
before 5.7.41-0ubuntu0.16.04.1+tuxcare.els1 | 5.7.41-0ubuntu0.16.04.1+tuxcare.els1 |
mysql-testsuite-5.7TuxCare:Ubuntu:16.04 |
before 5.7.41-0ubuntu0.16.04.1+tuxcare.els1 | 5.7.41-0ubuntu0.16.04.1+tuxcare.els1 |
mysql-5.5Ubuntu:14.04:LTS |
All versions, plus listed versions 5.5.32-0ubuntu75.5.34-0ubuntu15.5.34-0ubuntu25.5.35-0ubuntu15.5.35+dfsg-1ubuntu1 Show 20 moreShow less5.5.37-0ubuntu0.14.04.15.5.38-0ubuntu0.14.04.15.5.40-0ubuntu0.14.04.15.5.41-0ubuntu0.14.04.15.5.43-0ubuntu0.14.04.15.5.44-0ubuntu0.14.04.15.5.46-0ubuntu0.14.04.25.5.47-0ubuntu0.14.04.15.5.49-0ubuntu0.14.04.15.5.50-0ubuntu0.14.04.15.5.52-0ubuntu0.14.04.15.5.53-0ubuntu0.14.04.15.5.54-0ubuntu0.14.04.15.5.55-0ubuntu0.14.04.15.5.57-0ubuntu0.14.04.15.5.58-0ubuntu0.14.04.15.5.59-0ubuntu0.14.04.15.5.60-0ubuntu0.14.04.15.5.61-0ubuntu0.14.04.15.5.62-0ubuntu0.14.04.1 |
None known |
mysql-5.7Ubuntu:Pro:16.04:LTS |
before 5.7.41-0ubuntu0.16.04.1+esm1, plus listed versions 5.7.11-0ubuntu45.7.11-0ubuntu55.7.11-0ubuntu65.7.12-0ubuntu15.7.12-0ubuntu1.1 Show 27 moreShow less5.7.13-0ubuntu0.16.04.25.7.15-0ubuntu0.16.04.15.7.16-0ubuntu0.16.04.15.7.17-0ubuntu0.16.04.15.7.17-0ubuntu0.16.04.25.7.18-0ubuntu0.16.04.15.7.19-0ubuntu0.16.04.15.7.20-0ubuntu0.16.04.15.7.21-0ubuntu0.16.04.15.7.22-0ubuntu0.16.04.15.7.23-0ubuntu0.16.04.15.7.24-0ubuntu0.16.04.15.7.25-0ubuntu0.16.04.25.7.26-0ubuntu0.16.04.15.7.27-0ubuntu0.16.04.15.7.28-0ubuntu0.16.04.25.7.29-0ubuntu0.16.04.15.7.30-0ubuntu0.16.04.15.7.31-0ubuntu0.16.04.15.7.32-0ubuntu0.16.04.15.7.33-0ubuntu0.16.04.15.7.35-0ubuntu0.16.04.1+esm15.7.36-0ubuntu0.16.04.1+esm15.7.37-0ubuntu0.16.04.1+esm15.7.38-0ubuntu0.16.04.1+esm15.7.39-0ubuntu0.16.04.1+esm25.7.40-0ubuntu0.16.04.1+esm1 |
5.7.41-0ubuntu0.16.04.1+esm1 |
percona-server-5.6Ubuntu:16.04:LTS |
All versions, plus listed versions 5.6.22-rel71.0-0ubuntu25.6.22-rel71.0-0ubuntu45.6.22-rel71.0-0ubuntu4.1 |
None known |
percona-xtradb-cluster-5.6Ubuntu:16.04:LTS |
All versions, plus listed versions 5.6.21-25.8-0ubuntu25.6.21-25.8-0ubuntu35.6.21-25.8-0ubuntu3.15.6.21-25.8-0ubuntu3.25.6.34-26.19-0ubuntu0.16.04.15.6.34-26.19-0ubuntu0.16.04.25.6.37-26.21-0ubuntu0.16.04.15.6.37-26.21-0ubuntu0.16.04.2 |
None known |
mysql-5.7Ubuntu:18.04:LTS |
before 5.7.41-0ubuntu0.18.04.1, plus listed versions 5.7.19-0ubuntu15.7.20-0ubuntu0.17.10.15.7.20-1ubuntu15.7.21-1ubuntu15.7.22-0ubuntu18.04.1 Show 19 moreShow less5.7.23-0ubuntu0.18.04.15.7.24-0ubuntu0.18.04.15.7.25-0ubuntu0.18.04.25.7.26-0ubuntu0.18.04.15.7.27-0ubuntu0.18.04.15.7.28-0ubuntu0.18.04.45.7.29-0ubuntu0.18.04.15.7.30-0ubuntu0.18.04.15.7.31-0ubuntu0.18.04.15.7.32-0ubuntu0.18.04.15.7.33-0ubuntu0.18.04.15.7.34-0ubuntu0.18.04.15.7.35-0ubuntu0.18.04.15.7.35-0ubuntu0.18.04.25.7.36-0ubuntu0.18.04.15.7.37-0ubuntu0.18.04.15.7.38-0ubuntu0.18.04.15.7.39-0ubuntu0.18.04.25.7.40-0ubuntu0.18.04.1 |
5.7.41-0ubuntu0.18.04.1 |
mysql-5.7Ubuntu:18.04:LTS From an advisory covering 20 CVEs |
before 5.7.41-0ubuntu0.18.04.1, plus listed versions 5.7.19-0ubuntu15.7.20-0ubuntu0.17.10.15.7.20-1ubuntu15.7.21-1ubuntu15.7.22-0ubuntu18.04.1 Show 19 moreShow less5.7.23-0ubuntu0.18.04.15.7.24-0ubuntu0.18.04.15.7.25-0ubuntu0.18.04.25.7.26-0ubuntu0.18.04.15.7.27-0ubuntu0.18.04.15.7.28-0ubuntu0.18.04.45.7.29-0ubuntu0.18.04.15.7.30-0ubuntu0.18.04.15.7.31-0ubuntu0.18.04.15.7.32-0ubuntu0.18.04.15.7.33-0ubuntu0.18.04.15.7.34-0ubuntu0.18.04.15.7.35-0ubuntu0.18.04.15.7.35-0ubuntu0.18.04.25.7.36-0ubuntu0.18.04.15.7.37-0ubuntu0.18.04.15.7.38-0ubuntu0.18.04.15.7.39-0ubuntu0.18.04.25.7.40-0ubuntu0.18.04.1 |
5.7.41-0ubuntu0.18.04.1 |
mysql-8.0Ubuntu:20.04:LTS From an advisory covering 20 CVEs |
before 8.0.32-0buntu0.20.04.1, plus listed versions 8.0.17-0ubuntu28.0.17-0ubuntu38.0.18-0ubuntu38.0.18-0ubuntu48.0.18-0ubuntu5 Show 20 moreShow less8.0.19-0ubuntu28.0.19-0ubuntu38.0.19-0ubuntu48.0.19-0ubuntu58.0.20-0ubuntu0.20.04.18.0.21-0ubuntu0.20.04.38.0.21-0ubuntu0.20.04.48.0.22-0ubuntu0.20.04.28.0.22-0ubuntu0.20.04.38.0.23-0ubuntu0.20.04.18.0.25-0ubuntu0.20.04.18.0.26-0ubuntu0.20.04.28.0.26-0ubuntu0.20.04.38.0.27-0ubuntu0.20.04.18.0.28-0ubuntu0.20.04.38.0.29-0ubuntu0.20.04.28.0.29-0ubuntu0.20.04.38.0.30-0ubuntu0.20.04.28.0.31-0ubuntu0.20.04.18.0.31-0ubuntu0.20.04.2 |
8.0.32-0buntu0.20.04.1 |
mysql-8.0Ubuntu:22.04:LTS From an advisory covering 20 CVEs |
before 8.0.32-0buntu0.22.04.1, plus listed versions 8.0.26-0ubuntu18.0.27-0ubuntu0.21.10.18.0.28-0ubuntu38.0.28-0ubuntu48.0.29-0ubuntu0.22.04.1 Show 4 moreShow less8.0.29-0ubuntu0.22.04.28.0.29-0ubuntu0.22.04.38.0.30-0ubuntu0.22.04.18.0.31-0ubuntu0.22.04.1 |
8.0.32-0buntu0.22.04.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases, published | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-21840 is a medium vulnerability (CVSS 4.9) in Oracle Mysql Server, published January 17, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.15%, the 66th percentile. Fixed in libmysqlclient-dev 5.7.41-0ubuntu0.16.04.1+tuxcare.els1.
References
oracle.com/security-alerts/cpujan2023.html
nvd.nist.gov/vuln/detail/CVE-2023-21840
github.com/advisories/GHSA-jcp3-6qf5-qwcc
errata.cloudlinux.com/ubuntu16-els/CLSA-2023-1675372579
github.com/CVEProject/cvelistV5/tree/main/cves/2023/21xxx/CVE-2023-21840.json
ubuntu.com/security/CVE-2023-21840
Show 22 moreShow less
ubuntu.com/security/notices/USN-5823-1
ubuntu.com/security/notices/USN-5823-2
cve.org/CVERecord?id=CVE-2023-21840
ubuntu.com/security/CVE-2022-32221
ubuntu.com/security/CVE-2023-21836
ubuntu.com/security/CVE-2023-21863
ubuntu.com/security/CVE-2023-21867
ubuntu.com/security/CVE-2023-21868
ubuntu.com/security/CVE-2023-21869
ubuntu.com/security/CVE-2023-21870
ubuntu.com/security/CVE-2023-21871
ubuntu.com/security/CVE-2023-21873
ubuntu.com/security/CVE-2023-21875
ubuntu.com/security/CVE-2023-21876
ubuntu.com/security/CVE-2023-21877
ubuntu.com/security/CVE-2023-21878
ubuntu.com/security/CVE-2023-21879
ubuntu.com/security/CVE-2023-21880
ubuntu.com/security/CVE-2023-21881
ubuntu.com/security/CVE-2023-21882
ubuntu.com/security/CVE-2023-21883
ubuntu.com/security/CVE-2023-21887