CVE-2021-2471 json
Incorrect Authorization in MySQL Connector Java
published 5y ago modified 4mo ago also GHSA-w6f2-8wx4-47r5 , EUVD-2022-5511
- cvss
- 5.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 7.5%
- EPSS 7.5% chance of exploitation in 30 days, percentile 94%
- public exploits
- 0
- none known
Summary
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).
Patch / fix
- maven mysql:mysql-connector-java 8.0.27
- quarkus quarkus 2.2.4, 2.6.0
- mysql-8.0 Ubuntu 20.04 LTS 8.0.27-0ubuntu0.20.04.1
- mysql-8.0 Ubuntu 22.04 LTS 8.0.27-0ubuntu0.21.10.1
ubuntu advisories UBUNTU-CVE-2021-2471
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- mysql-connector-java SLE Software Development Kit 12 SP5, OpenStack Cloud Crowbar 9, OpenStack Cloud Crowbar 8 +3 more 8.0.25-5.13.1
suse advisories SUSE-SU-2022:1142-1
- mysql-connector-java openSUSE Tumbleweed 8.0.28-1.1
- mysql-connector-java openSUSE Leap 15.3 5.1.47-3.6.1
opensuse advisories openSUSE-SU-2024:11883-1openSUSE-SU-2022:0658-1
Is CVE-2021-2471 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-2471 updated cvss 7.4
mysql-connector-java: unauthorized access to critical
-
Red Hat build of Debezium 1 mysql-connector-java Red Hat build of Quarkus mysql-connector-javaaffected: no fix available
-
Red Hat Enterprise Linux 6 mysql-connector-java Red Hat Enterprise Linux 7 mysql-connector-javaaffected: no fix planned “Out of support scope”
-
Red Hat Integration Camel Quarkus 1 mysql-connector-javaaffected: no fix available
-
Red Hat JBoss Data Virtualization 6 mysql-connector-java Red Hat JBoss Enterprise Application Platform 6 mysql-connector-javaaffected: no fix planned “Out of support scope”
-
Red Hat JBoss Enterprise Application Platform 7 mysql-connector-javaaffected: no fix planned “Will not fix”
-
Red Hat JBoss Enterprise Application Platform Expansion Pack mysql-connector-java Red Hat JBoss Fuse 6 mysql-connector-javaaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Container Platform 4 openshift4/ose-metering-prestoaffected: no fix planned “Will not fix”
-
Red Hat Satellite 6 candlepin, candlepin-selinuxaffected: no fix available “Fix deferred”
show 5 moreshow fewer
-
Red Hat build of Quarkus 2.2.5fixed: vendor fix RHSA-2022:0589
-
Red Hat Fuse 7.11fixed: vendor fix RHSA-2022:5532
-
Red Hat RHAF Camel-K 1.8fixed: vendor fix RHSA-2022:6407
-
Red Hat RHINT Camel-Q 2.2.1fixed: vendor fix RHSA-2022:1013
-
Red Hat RHPAM 7.13.0 asyncfixed: vendor fix RHSA-2022:5903
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2y ago
Exploit prediction
7.49% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:H |
| NVD | 2.0 | 7.9 | AV:N/AC:M/Au:S/C:C/I:N/A:C |
| GitHub | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | mysql:mysql-connector-java | >=8.0.0, <8.0.27 |
8.0.27 |
Affected products
- Oracle Corporation MySQL Connectors
Classification
- Weakness
-
- CWE-863 Incorrect Authorization
References
-
oracle.com
/security-alerts/cpuoct2021.html
web, vendor-advisory
-
oracle.com
/security-alerts/cpuapr2022.html
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-2471
advisory
Sources
- CVE List CVE-2021-2471
- GitHub Advisory GHSA-w6f2-8wx4-47r5
- NVD CVE-2021-2471
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.