CVE-2019-2435: Mysql connector python Improper Access Control Vulnerability
HIGHCVE-2019-2435 is a HIGH (CVSS 8.1) improper access control vulnerability (CWE-284: Improper Access Control) affecting Mysql connector python libraries in the PyPI ecosystem. The issue involves improper access control in mysql connector python. Remediation is available by upgrading affected packages to version 8.0.19.
CVE-2019-2435 at a Glance
Security Impact
CVSS: 8.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N).
How to Fix CVE-2019-2435
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>=8.0.19
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-2019-2435, 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 8.0.19), 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 CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. 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-2019-2435 Affected Mysql connector python Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
mysql-connector-python
|
PyPI |
≥ 8.0.0
< 8.0.19
|
8.0.19
|
|
mysql-connector-python
|
PyPI |
≥ 2.1.0
≤ 2.1.8
|
|
References
Frequently Asked Questions
What is CVE-2019-2435?
Which Mysql connector python versions are affected?
What version fixes CVE-2019-2435?
Is mysql-connector-python affected?
What is the CVSS score of CVE-2019-2435?
What CWE is associated with CVE-2019-2435?
How can I check PyPI dependencies for CVE-2019-2435?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-v5rq-w2xm-7g5f",
"modified" : "2022-06-27T16:09:55Z",
"published" : "2022-05-13T01:22:02Z",
"aliases" : [ "CVE-2019-2435" ],
"summary" : "Improper Access Control in MySQL Connector Python",
"details" : "Vulnerability in the MySQL Connectors component of Oracle MySQL (subcomponent: Connector/Python). Supported versions that are affected are 8.0.13 and prior and 2.1.8 and prior. Easily exploitable vulnerability allows unauthenticated attacker with network access via TLS to compromise MySQL Connectors. Successful attacks require human interaction from a person other than the attacker. Successful attacks of this vulnerability can result in unauthorized creation, deletion or modification access to critical data or all MySQL Connectors accessible data as well as unauthorized access to critical data or complete access to all MySQL Connectors accessible data. ",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "mysql-connector-python"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0.0"
}, {
"fixed" : "8.0.19"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 8.0.13"
}
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "mysql-connector-python"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.1.0"
}, {
"last_affected" : "2.1.8"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-2435"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/mysql/mysql-connector-python"
}, {
"type" : "WEB",
"url" : "https://security.netapp.com/advisory/ntap-20190118-0002"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00044.html"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00053.html"
}, {
"type" : "WEB",
"url" : "http://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/106616"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-284" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-06-27T16:09:55Z",
"nvd_published_at" : "2019-01-16T19:30:00Z"
}
}