CVE-2017-3590: Mysql connector python MySQL Connectors Privilege Escalation Vulnerability

LOW
Advisory Identifier: GHSA-2cf3-g243-hhfx
CVSS 3.3
Published
Advisory Summary

CVE-2017-3590 is a LOW (CVSS 3.3) mysql connectors privilege escalation vulnerability (General Security Weakness) affecting Mysql connector python libraries in the PyPI ecosystem. The issue involves mysql connectors privilege escalation. Remediation is available in the latest vendor maintenance releases.

CVE-2017-3590 at a Glance

CVE Identifier CVE-2017-3590
GHSA Identifier GHSA-2cf3-g243-hhfx
Severity LOW
CVSS v3.1 Base Score 3.3
CWE Classification General Security Weakness
Affected Product Mysql connector python
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 3.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2017-3590

To remediate this vulnerability, upgrade all affected Mysql connector python dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

mysql-connector-python fixed: Latest secure release
pip install mysql-connector-python>=Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show mysql-connector-python

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2017-3590, inspect your installed packages using pip:

pip show mysql-connector-python

Analyze the terminal output to locate any version of Mysql connector python in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The pip show mysql-connector-python command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In Mysql connector python, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Vulnerability in the MySQL Connectors component of Oracle MySQL (subcomponent: Connector/Python). Supported versions that are affected are 2.1.5 and earlier. Easily "exploitable" vulnerability allows low privileged attacker with logon to the infrastructure where MySQL Connectors executes 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. CVSS 3.0 Base Score 3.3 (Integrity impacts). CVSS Vector: (CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N).

CVE-2017-3590 Affected Mysql connector python Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
mysql-connector-python
PyPI
≤ 2.1.5

References

Frequently Asked Questions

What is CVE-2017-3590?
CVE-2017-3590 is a security vulnerability in Mysql connector python involving MySQL Connectors Privilege Escalation under General Security Weakness.
Which Mysql connector python versions are affected?
Affected versions include releases prior to current release patches across affected packages: mysql-connector-python.
What version fixes CVE-2017-3590?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is mysql-connector-python affected?
Yes, mysql-connector-python is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2017-3590?
CVE-2017-3590 has a CVSS v3.1 base score of 3.3 (LOW) with vector string CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N.
What CWE is associated with CVE-2017-3590?
CVE-2017-3590 is classified under General Security Weakness.
How can I check PyPI dependencies for CVE-2017-3590?
Run the dependency tree command: 'pip show mysql-connector-python'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-2cf3-g243-hhfx",
  "modified" : "2024-04-22T22:58:16Z",
  "published" : "2022-05-13T01:45:43Z",
  "aliases" : [ "CVE-2017-3590" ],
  "summary" : "MySQL Connectors Privilege Escalation",
  "details" : "Vulnerability in the MySQL Connectors component of Oracle MySQL (subcomponent: Connector/Python). Supported versions that are affected are 2.1.5 and earlier. Easily \"exploitable\" vulnerability allows low privileged attacker with logon to the infrastructure where MySQL Connectors executes 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. CVSS 3.0 Base Score 3.3 (Integrity impacts). CVSS Vector: (CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N).",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "mysql-connector-python"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "2.1.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-3590"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/mysql/mysql-connector-python"
  }, {
    "type" : "WEB",
    "url" : "http://www.oracle.com/technetwork/security-advisory/cpuapr2017-3236618.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/97840"
  }, {
    "type" : "WEB",
    "url" : "http://www.securitytracker.com/id/1038287"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-04-22T22:58:16Z",
    "nvd_published_at" : "2017-04-24T19:59:00Z"
  }
}