WaratekVRT Sign in

CVE-2021-2471 Oracle MySQL Connectors

Affected softwareOracle MySQL Connectors
Affected versions8.0.26 and prior
Severity5.9 Medium CVSS 3.1 2 scores
Fixed inOracle Critical Patch Update October 2021
WeaknessIncorrect authorization (CWE-863)
Published20 Oct 2021
Updated17 Jun 2026

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

Exploitation status

Proof of concept only

A proof of concept exists, but no reviewed exploit catalogue lists this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC 3 indexed Published artifacts you can open, in GitHub PoC; first seen 2021-10-22.
  • EPSS 7.5% chance in 30 days

2 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC h2-jdbc(https://github.com/h2database/h2database/issues/3195) & mysql-jdbc(CVE-2021-2471) SQLXML XXE vulnerability reproduction. 54 2021-10-22
GitHub PoC PoC for CVE-2021-2471 - XXE in MySQL Connector/J 3 2021-10-22
GitHub PoC cckuailong/CVE-2021-2471 3 2021-10-22

Waratek protection

Mitigation candidate

A kind of vulnerability Waratek's rules address, with exploit code published or exploitation reported. No rule exists and none is planned yet. The decision below says what we found to build a rule from.

  • Protection none
  • Action unverified
  • Review automated Inferred
  • Record active
Decided by The affected package being open source on Maven, so the fix can be read
Finding This CVE affects an open-source Java library published on Maven Central (Maven packages: mysql:mysql-connector-java), so it is squarely in ARMR's territory and the source needed to understand the defect is public. That makes it a candidate for an ARMR patch rule. No rule exists and none is scheduled: the diff between the affected and fixed versions has not been read, and a closer look may find no hook point ARMR can act on.

CVSS

5.9 MEDIUM v3.1 CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 5.9 MEDIUM CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:H secalert_us@oracle.com Secondary published
CVSS 2.0 7.9 none AV:N/AC:M/Au:S/C:C/I:N/A:C NVD Primary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update April 2022 ↗ CPU 2022-Q2 Oracle Communications / CNC Console (MySQL Connectors) (1.9.0)
Oracle Communications / NSSF (MySQL) (1.8.0)
Oracle Communications / Policy (MySQL) (1.15.0)
Oracle Communications / SEPP (MySQL) (1.7.0)
Oracle Critical Patch Update October 2021 ↗ CPU 2021-Q4 Oracle MySQL / Connector/J (8.0.26 and prior)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Communications CNC Console (MySQL Connectors) 1.9.0 1.9.0
Oracle Communications NSSF (MySQL) 1.8.0 1.8.0
Oracle Communications Policy (MySQL) 1.15.0 1.15.0
Oracle Communications SEPP (MySQL) 1.7.0 1.7.0
Oracle MySQL Connector/J 8.0.26 and prior

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
mysql:mysql-connector-java 8.0.0 8.0.27 unbounded

Products and versions

7 products, 8 version entries
SourceVendorProductSchemeAffected versions
osv mysql mysql-connector-java generic ≥ 8.0.0 and < 8.0.27
nvd oracle communications cloud native core console generic 1.9.0
nvd oracle communications cloud native core network slice selection function generic 1.8.0
nvd oracle communications cloud native core policy generic 1.15.0
nvd oracle communications cloud native core security edge protection proxy generic 1.7.0
nvd oracle mysql connectors generic ≥ 8.0.0 and ≤ 8.0.26
nvd quarkus quarkus generic < 2.2.4 · ≥ 2.3.0 and < 2.6.0

References

URLTags
https://www.oracle.com/security-alerts/cpuapr2022.html WEB
https://www.oracle.com/security-alerts/cpuoct2021.html WEB

Timeline

Published2021-10-20By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.