Skip to content
OpenAdvisories
Medium · 5.9 Public exploit CVE-2021-2471 EUVD-2022-5511GHSA-w6f2-8wx4-47r5

Incorrect Authorization in MySQL Connector Java

Published Oct 20, 2021 · Updated Sep 25, 2024 · Assigned by oracle

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

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

ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 3 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven mysql:mysql-connector-java >= 8.0.0, < 8.0.27 8.0.27 GHSA-w6f2-8wx4-47r5

Advisories 5

References