CVE-2018-7574: Tensorflow Rejected CVE ID Vulnerability
HIGHCVE-2018-7574 is a HIGH rejected cve id vulnerability (General Security Weakness) affecting Tensorflow libraries in the PyPI ecosystem. The issue involves rejected cve id. Remediation is available by upgrading affected packages to version 1.7.0.
CVE-2018-7574 at a Glance
How to Fix CVE-2018-7574
To remediate this vulnerability, upgrade all affected Tensorflow 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 tensorflow>=1.7.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show tensorflow
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2018-7574, inspect your installed packages using pip:
pip show tensorflow
Analyze the terminal output to locate any version of Tensorflow in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.7.0), your application is affected.
Note: The pip show tensorflow 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 Tensorflow, 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-2018-7574 Affected Tensorflow Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
tensorflow
|
PyPI |
≥ 1.3.0
< 1.7.0
|
1.7.0
|
References
Frequently Asked Questions
What is CVE-2018-7574?
Which Tensorflow versions are affected?
What version fixes CVE-2018-7574?
Is tensorflow affected?
What CWE is associated with CVE-2018-7574?
How can I check PyPI dependencies for CVE-2018-7574?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-943p-xc6m-c6gr",
"modified" : "2021-12-03T14:34:42Z",
"published" : "2019-04-30T15:37:27Z",
"withdrawn" : "2020-05-13T15:49:20Z",
"aliases" : [ "CVE-2018-7574" ],
"summary" : "Rejected CVE ID",
"details" : "** REJECT ** DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: CVE-2018-7576,\nCVE-2018-21233. Reason: this candidate was intended for one issue, but the\ndescription and references inadvertently combined multiple issues. Notes:\nAll CVE users should consult CVE-2018-7576 and CVE-2018-21233 to determine\nwhich ID is appropriate. All references and descriptions in this candidate\nhave been removed to prevent accidental usage.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "tensorflow"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.3.0"
}, {
"fixed" : "1.7.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-7574"
}, {
"type" : "WEB",
"url" : "https://github.com/tensorflow/tensorflow/blob/master/tensorflow/security/advisory/tfsa-2018-001.md"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2019-04-30T15:16:01Z",
"nvd_published_at" : "2019-04-24T21:29:00Z"
}
}