CVE-2017-3590: Mysql connector python MySQL Connectors Privilege Escalation Vulnerability
LOWCVE-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
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).
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.
pip install mysql-connector-python>=Latest secure release
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
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?
Which Mysql connector python versions are affected?
What version fixes CVE-2017-3590?
Is mysql-connector-python affected?
What is the CVSS score of CVE-2017-3590?
What CWE is associated with CVE-2017-3590?
How can I check PyPI dependencies for CVE-2017-3590?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}