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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Oracle | MySQL Connectors | 8.0.26 and prior | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | mysql-8.0 | 8.0.27-0ubuntu0.21.10.1 | — |
| Ubuntu 20.04 LTS | mysql-8.0 | 8.0.27-0ubuntu0.20.04.1 | — |
| Ubuntu 16.04 LTS | percona-server-5.6 +1 | No fix yet | — |
| Ubuntu 14.04 LTS | mysql-5.5 | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | mysql-connector-java | 8.0.25-5.13.1 | SUSE-SU-2022:1142-1 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE OpenStack Cloud Crowbar 9 | mysql-connector-java | 8.0.25-5.13.1 | SUSE-SU-2022:1142-1 |
| SUSE OpenStack Cloud Crowbar 8 | mysql-connector-java | 8.0.25-5.13.1 | SUSE-SU-2022:1142-1 |
| SUSE OpenStack Cloud 9 | mysql-connector-java | 8.0.25-5.13.1 | SUSE-SU-2022:1142-1 |
| SUSE OpenStack Cloud 8 | mysql-connector-java | 8.0.25-5.13.1 | SUSE-SU-2022:1142-1 |
| SUSE HPE Helion OpenStack 8 | mysql-connector-java | 8.0.25-5.13.1 | SUSE-SU-2022:1142-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | mysql-connector-java | 8.0.28-1.1 | openSUSE-SU-2024:11883-1 |
| openSUSE Leap 15.3 | mysql-connector-java | 5.1.47-3.6.1 | openSUSE-SU-2022:0658-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 3 repositories
-
SecCoder-Security-Lab/jdbc-sqlxml-xxe ★ 54 · Oct 22, 2021
h2-jdbc(https://github.com/h2database/h2database/issues/3195) & mysql-jdbc(CVE-2021-2471) SQLXML XXE vulnerability reproduction.
-
cckuailong/CVE-2021-2471 ★ 3 · Oct 22, 2021
-
DrunkenShells/CVE-2021-2471 ★ 3 · Oct 22, 2021
PoC for CVE-2021-2471 - XXE in MySQL Connector/J
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | mysql:mysql-connector-java | >= 8.0.0, < 8.0.27 | 8.0.27 | GHSA-w6f2-8wx4-47r5 |
Advisories 5
- WID-SEC-2024-0794 Dell ECS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- WID-SEC-2022-0607 Red Hat FUSE: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 9, 2026
- openSUSE-SU-2024:11883-1 mysql-connector-java-8.0.28-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2022:0658-1 Security update for mysql-connector-java SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:1142-1 Security update for mysql-connector-java SUSE / openSUSE Security Updates · Feb 4, 2026