NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
☕
☕ Maven
Not in CISA KEV
MEDIUM severity

CVE-2021-2471 — mysql-connector-java

MEDIUM

CVE-2021-2471 is a medium-severity (CVSS 5.9) vulnerability in mysql:mysql-connector-java. 6 public exploit or proof-of-concept references are indexed, so weaponization risk is real. A fix is available for mysql:mysql-connector-java — see the affected versions and patch details below.

Incorrect Authorization in MySQL Connector Java

Also known asGHSA-w6f2-8wx4-47r5
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
6 known
Exploitation data as of Nov 4, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2021-2471.

EPSS Exploitation Probability

via FIRST.org ↗
7.5%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs95th percentile — riskier than 95% of all scored CVEsHighest risk
0.00%26.9%53.8%80.8%63.8%7.5%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected
☕mysql:mysql-connector-java

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

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

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
☕Mavenmysql:mysql-connector-java≥ 8.0.0&&< 8.0.278.0.27mysql:mysql-connector-java:8.0.27

Affected Products

6 products · 7 configurations
Application
communications cloud native core consoleoracle
1 version
1.9.0
Application
communications cloud native core network slice selection functionoracle
1 version
1.8.0
Application
communications cloud native core policyoracle
1 version
1.15.0
Application
communications cloud native core security edge protection proxyoracle
1 version
1.7.0
Application
mysql connectorsoracle
≥ 8.0.0 && ≤ 8.0.26
range
Application
quarkusquarkus
≥ 2.3.0 && < 2.6.0
range
Exploits & PoCs
6

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for mysql:mysql-connector-java, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update mysql:mysql-connector-java to 8.0.27 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2021-2471 is resolved across your whole dependency graph.

  3. Workarounds

    Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate

In OpenShift Container Platform (OCP), the Presto component is part of the OCP Metering stack and it ships the vulnerable version of the MySQL Connector/J package. Since the release of OCP 4.6, the Metering product has been deprecated and is removed from OCP starting from 4.9 version [1], hence the affected component…

ProductFixed inAdvisory
Red Hat build of Quarkus 2.2.5mysql-connector-javaRHSA-2022:0589
Red Hat Fuse 7.11mysql-connector-javaRHSA-2022:5532
RHAF Camel-K 1.8mysql-connector-javaRHSA-2022:6407
RHINT Camel-Q 2.2.1see advisoryRHSA-2022:1013
RHPAM 7.13.0 asyncmysql-connector-javaRHSA-2022:5903

Frequently Asked Questions

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 Availab
O3 Security · Impact-Aware SCA

Is CVE-2021-2471 in your dependencies?

Find it across Maven, including transitive dependencies.

CVE-2021-2471: mysql-connector DoS — Fixed in 8.0.27