Skip to main content
Public proof of conceptFix available

CVE-2021-2471

A public proof of concept exists; no exploitation attested.

  • Published2021-10-20
  • Fixed in8.0.27

Am I 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
  1. 2021-10-2011:16CVE publishedNVD
  2. 2026-10-2319:23First public proof of conceptPoC-in-GitHub

Versions per branch

OSV · NVD
mysql-connector-java
BranchAffectedFixed in
8.0≥ 8.0.0, < 8.0.278.0.27
Quarkus
BranchAffectedFixed in
2.x≥ 2.3.0, < 2.6.02.6.0
2.2< 2.2.42.2.4
Oracle communications cloud native core console
BranchAffectedFixed in
1.9= 1.9.0no fix published

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 Connectors
    Affected
    • = 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

  • CVE-2021-2471 Red Hat Product Security5 products fixed · 14 known affected

    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

  • RHSA-2022:6407 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Integration Camel-K 1.8 security update

  • RHSA-2022:5903 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Process Automation Manager 7.13.0 security update

  • RHSA-2022:5532 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Fuse 7.11.0 release and security update

  • RHSA-2022:1013 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Integration Camel Extensions for Quarkus 2.2.1 security update

  • RHSA-2022:0589 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat build of Quarkus 2.2.5 release and security update

Full record on NVD

Fix

  1. Update mysql-connector-java to 8.0.27
  2. 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
  3. 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…
  4. 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…
  5. 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.
  6. No fix available, says the vendor Red Hat Product Security CVE-2021-2471 · 3 productsFix deferred
  7. No fix available, says the vendor Red Hat Product Security CVE-2021-2471 · 3 productsAffected

Advisories and patches

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

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?

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).

Is CVE-2021-2471 actively exploited?

Active exploitation of CVE-2021-2471 has not been confirmed. Its EPSS score was 7.5% on 2026-11-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-2471?

CVE-2021-2471 has a CVSS v3 base score of 5.9 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:H.

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

Sources for this record