Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. mysql-connector-python
  4. ›
  5. CVE-2024-21272

CVE-2024-21272: MySQL Connector/Python connector takeover vulnerability

October 15, 2024 (updated October 24, 2024)

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

References

  • github.com/advisories/GHSA-hgjp-83m4-h4fj
  • github.com/mysql/mysql-connector-python
  • github.com/mysql/mysql-connector-python/commit/e6b927af06e8a85bd3754f602df96a5592b4558c
  • nvd.nist.gov/vuln/detail/CVE-2024-21272
  • www.oracle.com/security-alerts/cpuoct2024.html

Code Behaviors & Features

Detect and mitigate CVE-2024-21272 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 9.1.0

Fixed versions

  • 9.1.0

Solution

Upgrade to version 9.1.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

pypi/mysql-connector-python/CVE-2024-21272.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:40 +0000.