CVE-2018-7574: Tensorflow Rejected CVE ID Vulnerability

HIGH
Advisory Identifier: GHSA-943p-xc6m-c6gr
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2018-7574
GHSA Identifier GHSA-943p-xc6m-c6gr
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Tensorflow
Package Ecosystem PyPI
Published Date
Last Updated

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.

tensorflow fixed: 1.7.0
pip install tensorflow>=1.7.0
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 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

** REJECT ** DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: CVE-2018-7576, CVE-2018-21233. Reason: this candidate was intended for one issue, but the description and references inadvertently combined multiple issues. Notes: All CVE users should consult CVE-2018-7576 and CVE-2018-21233 to determine which ID is appropriate. All references and descriptions in this candidate have been removed to prevent accidental usage.

CVE-2018-7574 Affected Tensorflow Versions

1 component(s)
Fixed Versions:
1.7.0
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?
CVE-2018-7574 is a security vulnerability in Tensorflow involving Rejected CVE ID under General Security Weakness.
Which Tensorflow versions are affected?
Affected versions include releases prior to 1.7.0 across affected packages: tensorflow.
What version fixes CVE-2018-7574?
Upgrading to 1.7.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is tensorflow affected?
Yes, tensorflow is affected in releases prior to 1.7.0. Upgrade your dependency to 1.7.0 or later.
What CWE is associated with CVE-2018-7574?
CVE-2018-7574 is classified under General Security Weakness.
How can I check PyPI dependencies for CVE-2018-7574?
Run the dependency tree command: 'pip show tensorflow'. 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-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"
  }
}