CVE-2018-7577: Improper Input Validation in Google TensorFlow
8.1
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.38417%
CWE
Published
4/30/2019
Updated
10/28/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
tensorflow | pip | >= 1.1.0, < 1.7.1 | 1.7.1 |
tensorflow-gpu | pip | >= 1.1.0, < 1.7.1 | 1.7.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from Google's Snappy library (v1.1.4) used by TensorFlow, not from TensorFlow's own code. The patch shows TensorFlow addressed this by upgrading the Snappy dependency to v1.1.7. The root cause was in Snappy's implementation of memory handling (memcpy with overlapping parameters), but:
- The provided diffs only show dependency version changes and build configuration updates
- No TensorFlow-specific functions are modified in the patch
- The vulnerability manifests through usage of Snappy's compression functions, but the exact vulnerable functions belong to Snappy's internal implementation
- There's no evidence of vulnerable TensorFlow code patterns in the provided commit/patch data Without access to Snappy's internal function-level changes between 1.1.4 and 1.1.7, we can't confidently identify specific vulnerable functions within the TensorFlow codebase itself.