CVE-2023-21869
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedVulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB). Supported versions that are affected are 8.0.31 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).
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceA vulnerability in the InnoDB storage engine of MySQL Server 8.0.31 and prior allows high-privileged attackers with network access to cause denial of service through crashes or hangs, and potentially achieve unauthorized data manipulation (insert/update/delete). The flaw is exploitable remotely but requires high-level database privileges.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 8.0.0, <= 8.0.31CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- High
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- Low
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Determine MySQL Server versionRun the command: mysql -V or connect to MySQL and execute SELECT VERSION();Affected if The version displayed is 8.0.31 or any version from 8.0.0 up to and including 8.0.31 (for example, 8.0.30, 8.0.28, 8.0.25, etc.)
-
Confirm InnoDB storage engine is in useConnect to MySQL and execute: SHOW ENGINES; Look for InnoDB in the output with 'Support' set to 'YES' or 'DEFAULT'.Affected if InnoDB is enabled (Support = YES or DEFAULT) as this is the vulnerable component
-
Verify MySQL is listening on network interfacesCheck MySQL configuration or running processes: Look for bind-address in my.cnf/my.ini, or run: netstat -tlnp | grep 3306 (or your configured port).Affected if MySQL is bound to a network-accessible IP address (not 127.0.0.1 only), indicating remote network exposure
-
Identify high-privilege accounts with network accessConnect to MySQL and execute: SELECT user, host, plugin FROM mysql.user WHERE_priv='Y' OR Super_priv='Y'; Also check: SELECT user, host FROM mysql.db WHERE db='mysql' AND select_priv='Y' AND insert_priv='Y' AND update_priv='Y' AND delete_priv='Y';Affected if There are database users with high privileges (root, DBA-level, or users with INSERT/UPDATE/DELETE on critical tables) accessible from non-localhost hosts
You are affected if your MySQL Server version is 8.0.0 through 8.0.31, InnoDB is enabled, the server is network-accessible, and high-privilege accounts exist that can be reached over the network.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade MySQL Server to a version beyond 8.0.31 (or apply Oracle's corresponding patch) to address the InnoDB vulnerability. In the interim, restrict network access to MySQL ports and limit high-privilege account exposure.
MySQL Server 8.0.32 or later
- 1. Backup your MySQL database using mysqldump or your preferred backup method.
- 2. Stop the MySQL Server service.
- 3. Update the MySQL Server package to version 8.0.32 or later using your system's package manager (e.g., yum update mysql-server, apt-get install mysql-server, or equivalent).
- 4. After installation, start the MySQL Server service.
- 5. Run mysql_upgrade to check and repair tables if necessary.
- 6. Verify the MySQL Server version using: SELECT VERSION();
- 7. Test your applications to ensure functionality remains intact.
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing6.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,600.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2023-21869 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2023-21869 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data