VDB

CVE-2021-2471

CVE-2021-2471 PUBLISHED CVSS 5.9 MEDIUM

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.

PackageEcosystemFixed in
mysql-connector-javaMaven Central8.0.26
mysql:mysql-connector-javaMaven Central8.0.27
mysql-connector-pythonPyPI8.0.26
quarkusquarkus2.6.0, 2.2.4
mysql_connectorsoracle8.0.26
mysql-8.0Ubuntu:22.04:LTS8.0.27-0ubuntu0.21.10.1
mysql-8.0Ubuntu:20.04:LTS8.0.27-0ubuntu0.20.04.1

Risk scores

CVSS 3.1
5.9
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:H

Affected products

VendorProductVersions
Oracle CorporationMySQL Connectors8.0.26 and prior
Mavenmysql-connector-java8.0.0
Oracle CorporationMySQL Connectors8.0.26
PyPImysql-connector-python8.0.0
Mavenmysql:mysql-connector-java8.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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›