CVE-2021-2471
A public proof of concept exists; no exploitation attested.
- Published2021-10-20
- Fixed in8.0.27
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
Vulnerability in the MySQL Connectors product of Oracle MySQL (component: Connector/J). Supported versions that are affected are 8.0.26 and prior. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromise MySQL Connectors. Successful attacks of this vulnerability can result in unauthorized access to critical data or complete access to all MySQL Connectors accessible data and unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Connectors. CVSS 3.1 Base Score 5.9 (Confidentiality and Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:H).
Timeline
dates in UTC- 2021-10-2011:16CVE publishedNVD
- 2026-10-2319:23First public proof of conceptPoC-in-GitHub
Versions per branch
OSV · NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 8.0 | ≥ 8.0.0, < 8.0.27 | 8.0.27 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.x | ≥ 2.3.0, < 2.6.0 | 2.6.0 | NVD |
| 2.2 | < 2.2.4 | 2.2.4 | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.9 | = 1.9.0 | no fix published | NVD |
4 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As oracle, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- Oracle Corporation MySQL ConnectorsAffected
- = 8.0.26 and priorno fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2022-04-19
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- mysqlopenEuler:20.03-LTS-SP3all versions · fixed in 8.0.28-1.oe1
- mysqlopenEuler:20.03-LTS-SP2all versions · fixed in 8.0.27-1.oe1
- mysqlopenEuler:20.03-LTS-SP1all versions · fixed in 8.0.27-1.oe1
- mysql-5.5Ubuntu:14.04:LTSall versions · no fixed version listed
- mysql-8.0Ubuntu:22.04:LTSall versions · fixed in 8.0.27-0ubuntu0.21.10.1
- mysql-8.0Ubuntu:20.04:LTSall versions · fixed in 8.0.27-0ubuntu0.20.04.1
- mysql-connector-javaSUSE:OpenStack Cloud Crowbar 9all versions · fixed in 8.0.25-5.13.1
- mysql-connector-javaSUSE:OpenStack Cloud Crowbar 8all versions · fixed in 8.0.25-5.13.1
14 more package ranges on OSV.dev
Vendor advisories
mysql-connector-java: unauthorized access to critical
mysql-connector-java as a component of Red Hat build of Debezium 1 · mysql-connector-java as a component of Red Hat build of Quarkus · mysql-connector-java.src as a component of Red Hat Enterprise Linux 6 · +11 more
Red Hat Security Advisory: Red Hat Integration Camel-K 1.8 security update
Red Hat Security Advisory: Red Hat Process Automation Manager 7.13.0 security update
Red Hat Security Advisory: Red Hat Fuse 7.11.0 release and security update
Red Hat Security Advisory: Red Hat Integration Camel Extensions for Quarkus 2.2.1 security update
Red Hat Security Advisory: Red Hat build of Quarkus 2.2.5 release and security update
Fix
- Update mysql-connector-java to 8.0.27
- Vendor fix Red Hat Product Security RHSA-2022:6407 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2022:5903 · 1 productFor on-premise installations, before applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on. It is recommended to halt the server by stopping the JBoss Application Server process before installing this up…
- Vendor fix Red Hat Product Security RHSA-2022:5532 · 1 productBefore applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on. Installation instructions are available from the Fuse 7.11.0 product documentation page: https://access.redhat.com/documentation/en-us/red_ha…
- Vendor fix Red Hat Product Security RHSA-2022:0589 · 1 productBefore applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on. The References section of this erratum contains a download link for the update. You must be logged in to download the update.
- No fix available, says the vendor Red Hat Product Security CVE-2021-2471 · 3 productsFix deferred
- No fix available, says the vendor Red Hat Product Security CVE-2021-2471 · 3 productsAffected
Advisories and patches
- www.oracle.comVendor Advisory
- www.oracle.comVendor Advisory
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHub3 repositories, unverifiedknown since 2026-11-01SecCoder-Security-Lab/jdbc-sqlxml-xxecckuailong/CVE-2021-2471DrunkenShells/CVE-2021-2471
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2024-09-25
- CNACVSS 3.15.9known since 2026-10-23
- NVDCVSS 2.07.9read 2026-10-23
- FIRST EPSSEPSS score7.5 %2026-11-18
- PoC-in-GitHubproof of concept3known since 2026-11-01
- OSVaffected packages—
- GitHub AdvisoriesadvisoryMODERATE2022-06-22
Identifiers
- EUVD-2022-5511same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-w6f2-8wx4-47r5same flawGitHub Advisory Database · CC-BY-4.0
- OESA-2021-1448advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2022-1960advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2024-1103advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2022:0658-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11883-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- SUSE-SU-2022:1142-1advisory covering several CVEsSUSE · LicenseRef-unstated
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:H
- Published
- 2021-10-20
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-w6f2-8wx4-47r5
Frequently asked questions
What is CVE-2021-2471?
Is CVE-2021-2471 actively exploited?
What is the CVSS score for CVE-2021-2471?
Running mysql-connector-java? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-w6f2-8wx4-47r5
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0