{"id":"CVE-2024-21272","aliases":["CVE-2024-21272","GHSA-hgjp-83m4-h4fj","PYSEC-2026-1685"],"related":[],"kind":"vulnerability","state":"published","title":"MySQL Connector/Python connector takeover vulnerability","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).","summarySource":"cvelist","descriptions":[{"lang":"en-US","text":"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).","source":"cvelist"},{"lang":"es","text":"Vulnerabilidad en el producto MySQL Connectors de Oracle MySQL (componente: Connector/Python). Las versiones compatibles afectadas son 9.0.0 y anteriores. Esta vulnerabilidad, que es difícil de explotar, permite que un atacante con pocos privilegios y acceso a la red a través de múltiples protocolos ponga en peligro MySQL Connectors. Los ataques exitosos de esta vulnerabilidad pueden dar como resultado la toma de control de MySQL Connectors. Puntuación base CVSS 3.1: 7,5 (impactos en la confidencialidad, integridad y disponibilidad). Vector CVSS: (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H).","source":"nvd"}],"published":"2024-10-15T19:52:58.536Z","modified":"2026-09-10T03:50:19.802Z","severity":{"scorer":"oracle","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"oracle","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"cwes":["CWE-89","CWE-306"],"affected":[{"ranges":[{"type":"custom","introduced":"*","lastAffected":"9.0.0","status":"affected"}],"vendor":"Oracle Corporation","product":"MySQL Connectors","cpe":"cpe:2.3:a:oracle:mysql_connector\\/python:9.0.0_and_prior:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"9.1.0"}],"ecosystem":"PyPI","package":"mysql-connector-python","purl":"pkg:pypi/mysql-connector-python","source":"ghsa"},{"ranges":[{"status":"affected","version":"9.0.0"}],"vendor":"oracle","product":"mysql","cpe":"cpe:2.3:a:oracle:mysql:9.0.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"9.1.0"}],"ecosystem":"PyPI","package":"mysql-connector-python","purl":"pkg:pypi/mysql-connector-python","source":"pysec"}],"references":[{"url":"https://www.oracle.com/security-alerts/cpuoct2024.html","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21272","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/mysql/mysql-connector-python/commit/e6b927af06e8a85bd3754f602df96a5592b4558c","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/mysql/mysql-connector-python","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/mysql-connector-python","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-hgjp-83m4-h4fj","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"oracle","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-10-15T20:31:30.753Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-21272","url":"https://www.cve.org/CVERecord?id=CVE-2024-21272","licence":"CVE Terms of Use","modified":"2024-10-16T15:00:31.534Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hgjp-83m4-h4fj","url":"https://github.com/advisories/GHSA-hgjp-83m4-h4fj","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:19.802Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-21272","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21272","licence":"Public domain","modified":"2026-06-17T07:08:51.313Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1685","url":"https://osv.dev/vulnerability/PYSEC-2026-1685","licence":"CC-BY-4.0","modified":"2026-07-07T17:47:06.186Z"}],"updatedAt":"2026-11-25T22:58:46.797Z","epss":{"score":0.00513,"percentile":0.4525,"date":"2026-12-02T12:00:21.000Z"}}