Skip to content
Heist/ feed
Back to feed
Medium

mysql-connector-python — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2024-21170

Vulnerability in the MySQL Connectors product of Oracle MySQL (component: Connector/Python). Supported versions that are affected are 8.4.0 and prior. Easily exploitable vulnerability allows low privileged attacker with network access via multiple protocols to compromise MySQL Connectors. Successful attacks of this vulnerability can result in unauthorized update, insert or delete access to some of MySQL Connectors accessible data as well as unauthorized read access to a subset of MySQL Connectors accessible data and unauthorized ability to cause a partial denial of service (partial DOS) of MySQL Connectors. CVSS 3.1 Base Score 6.3 (Confidentiality, Integrity and Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L).

Products
mysql-connector-python
Affected versions
2.0.4-1, 2.1.6-1, 26.7.0-1, 8.0.15-1, 8.0.15-2build1, 8.0.15-3, 8.0.15-4, 9.2.0-1, 9.3.0-1, 9.5.0-1, 9.7.0-1, 9.7.0-2
Fixed versions
Not specified
CVEs
CVE-2024-21170
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:44 UTC · Revision 1

Source evidence

UBUNTU-CVE-2024-21170

core-osv · Original source

Published 16 Jul 2024, 23:15 UTC

Vulnerability in the MySQL Connectors product of Oracle MySQL (component: Connector/Python). Supported versions that are affected are 8.4.0 and prior. Easily exploitable vulnerability allows low privileged attacker with network access via multiple protocols to compromise MySQL Connectors. Successful attacks of this vulnerability can result in unauthorized update, insert or delete access to some of MySQL Connectors accessible data as well as unauthorized read access to a subset of MySQL Connectors accessible data and unauthorized ability to cause a partial denial of service (partial DOS) of MySQL Connectors. CVSS 3.1 Base Score 6.3 (Confidentiality, Integrity and Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L).

osv:UBUNTU-CVE-2024-21170

mysql-connector-python

Fixed versions: Not specified

mysql-connector-python

Fixed versions: Not specified

mysql-connector-python

Fixed versions: Not specified

mysql-connector-python

Fixed versions: Not specified

mysql-connector-python

Fixed versions: Not specified

mysql-connector-python

Fixed versions: Not specified

mysql-connector-python

Fixed versions: Not specified

mysql-connector-python

Fixed versions: Not specified

Complete source record
{
  "id": "54d5f9eeec43e739414dfcb80a4d1453f2e3e5eb4a82a2997146b8e5788cef96",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2024-21170",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2024-21170",
    "summary": "Vulnerability in the MySQL Connectors product of Oracle MySQL (component: Connector/Python). Supported versions that are affected are 8.4.0 and prior. Easily exploitable vulnerability allows low privileged attacker with network access via multiple protocols to compromise MySQL Connectors. Successful attacks of this vulnerability can result in unauthorized update, insert or delete access to some of MySQL Connectors accessible data as well as unauthorized read access to a subset of MySQL Connectors accessible data and unauthorized ability to cause a partial denial of service (partial DOS) of MySQL Connectors. CVSS 3.1 Base Score 6.3 (Confidentiality, Integrity and Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L).",
    "evidence": "osv:UBUNTU-CVE-2024-21170",
    "products": [
      {
        "name": {
          "value": "mysql-connector-python",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.0.4-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "mysql-connector-python",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.1.6-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "mysql-connector-python",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "8.0.15-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "8.0.15-2build1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "mysql-connector-python",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "8.0.15-2build1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "mysql-connector-python",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "8.0.15-3",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "8.0.15-4",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "mysql-connector-python",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "9.2.0-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "9.3.0-1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "mysql-connector-python",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "9.5.0-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "9.7.0-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "9.7.0-2",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "26.7.0-1",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "mysql-connector-python",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "9.3.0-1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "9.5.0-1",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2024-21170",
      "aliases": [
        "UBUNTU-CVE-2024-21170"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "mysql-connector-python",
            "purl": "pkg:deb/ubuntu/mysql-connector-python?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "2.0.4-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-21170.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python-mysql.connector",
                "binary_version": "2.0.4-1"
              },
              {
                "binary_name": "python3-mysql.connector",
                "binary_version": "2.0.4-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "mysql-connector-python",
            "purl": "pkg:deb/ubuntu/mysql-connector-python?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "2.1.6-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-21170.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python-mysql.connector",
                "binary_version": "2.1.6-1"
              },
              {
                "binary_name": "python3-mysql.connector",
                "binary_version": "2.1.6-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "mysql-connector-python",
            "purl": "pkg:deb/ubuntu/mysql-connector-python?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "8.0.15-1",
            "8.0.15-2build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-21170.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-mysql.connector",
                "binary_version": "8.0.15-2build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "mysql-connector-python",
            "purl": "pkg:deb/ubuntu/mysql-connector-python?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "8.0.15-2build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-21170.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-mysql.connector",
                "binary_version": "8.0.15-2build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "mysql-connector-python",
            "purl": "pkg:deb/ubuntu/mysql-connector-python?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "8.0.15-3",
            "8.0.15-4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-21170.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-mysql.connector",
                "binary_version": "8.0.15-4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "mysql-connector-python",
            "purl": "pkg:deb/ubuntu/mysql-connector-python?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "9.2.0-1",
            "9.3.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-21170.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-mysql.connector",
                "binary_version": "9.3.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "mysql-connector-python",
            "purl": "pkg:deb/ubuntu/mysql-connector-python?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "9.5.0-1",
            "9.7.0-1",
            "9.7.0-2",
            "26.7.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-21170.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-mysql.connector",
                "binary_version": "26.7.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "mysql-connector-python",
            "purl": "pkg:deb/ubuntu/mysql-connector-python?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "9.3.0-1",
            "9.5.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-21170.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-mysql.connector",
                "binary_version": "9.5.0-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:57:22.843585388Z",
      "provider": "osv",
      "upstream": [
        "CVE-2024-21170"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2024-21170",
        "https://www.cve.org/CVERecord?id=CVE-2024-21170",
        "https://www.oracle.com/security-alerts/cpujul2024.html"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2024-21170",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 357368,
  "published_at": "2024-07-16T23:15:00+00:00"
}