CVE-2021-2471
Incorrect Authorization in MySQL Connector Java
Reported by oracle · Published October 20, 2021
mysql-connector-java is fixed in 8.0.26 (Maven Central)
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).
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| mysql-connector-java | Maven Central | 8.0.26 |
| mysql:mysql-connector-java | Maven Central | 8.0.27 |
| mysql-connector-python | PyPI | 8.0.26 |
| quarkus | quarkus | 2.6.0, 2.2.4 |
| mysql_connectors | oracle | 8.0.26 |
| mysql-8.0 | Ubuntu:22.04:LTS | 8.0.27-0ubuntu0.21.10.1 |
| mysql-8.0 | Ubuntu:20.04:LTS | 8.0.27-0ubuntu0.20.04.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Oracle Corporation | MySQL Connectors | 8.0.26 and prior |
| Maven | mysql-connector-java | 8.0.0 |
| Oracle Corporation | MySQL Connectors | 8.0.26 |
| PyPI | mysql-connector-python | 8.0.0 |
| Maven | mysql:mysql-connector-java | 8.0.0 |
Timeline
- Oct 20, 2021 CVE Published
- Oct 21, 2021 EPSS Score (30 in total, the first dated here)
- Mar 7, 2026 Distribution Patch (27 in total, the first dated here)
- Mar 7, 2026 Security Advisory (29 in total, the first dated here)
- Aug 9, 2026 Coalition ESS Score
- Aug 9, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-2471
vulnetix vdb fixes CVE-2021-2471
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-2471/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2021-2471 advisory
- https://github.com/advisories/GHSA-w6f2-8wx4-47r5 advisory