CVE-2024-21272 json
MySQL Connector/Python connector takeover vulnerability
published 2024-10-15 2 y ago modified 2026-09-10 1 mo ago also EUVD-2024-3056 , GHSA-hgjp-83m4-h4fj , PYSEC-2026-1685
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 44%
- public exploits
- 0
- none known
Summary
Vulnerability in the MySQL Connectors product of Oracle MySQL (component: Connector/Python). Supported versions that are affected are 9.0.0 and prior. Difficult to exploit vulnerability allows low privileged attacker with network access via multiple protocols to compromise MySQL Connectors. Successful attacks of this vulnerability can result in takeover of MySQL Connectors. CVSS 3.1 Base Score 7.5 (Confidentiality, Integrity and Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H).
Patch / fix
- pypi mysql-connector-python 9.1.0
- oracle mysql_connector/python 9.1.0
- oracle mysql_connectors 9.1.0
- python-mysql-connector-python openSUSE Tumbleweed 9.7.0-1.2
- python-mysql-connector-python Package Hub 15 SP5, openSUSE Leap 15.5 9.1.0-bp155.3.3.1
- python-mysql-connector-python openSUSE Tumbleweed 9.1.0-1.1
opensuse advisories openSUSE-SU-2026:12019-1openSUSE-SU-2024:0351-1openSUSE-SU-2024:14421-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-21272 updated cvss 7.5
mysql-connector-python: MySQL Connector/Python connector takeover vulnerability
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
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
- total
- Assessed
- 2 y ago
Exploit prediction
0.51% chance of exploitation in the next 30 days, higher than 44% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | mysql-connector-python | <9.1.0 |
9.1.0 |
Affected products
- Oracle Corporation MySQL Connectors
Classification
References
-
github.com
/mysql/mysql-connector-python/commit/e6b927af06e8a85bd3754f602df96a5592b4558c
web
-
oracle.com
/security-alerts/cpuoct2024.html
vendor-advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2024-21272
advisory
-
github.com
/mysql/mysql-connector-python
package
-
pypi.org
/project/mysql-connector-python
package
-
github.com
/advisories/GHSA-hgjp-83m4-h4fj
advisory
Sources
- CVE List CVE-2024-21272
- GitHub Advisory GHSA-hgjp-83m4-h4fj
- NVD CVE-2024-21272
- OSV PYSEC-2026-1685
Fencer Vulns 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.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.