TensorFlowGHSA-mw6v-crh8-8533
Integer Overflow or Wraparound in Google TensorFlow
Critical9.8CVE-2018-7575 · Published Apr 30, 2019 · updated Oct 28, 2024
### Issue Description Google TensorFlow 1.7.x and earlier is affected by a Buffer Overflow vulnerability. The type of exploitation is context-dependent. The block size in meta file might contain a large int64 value which causes an integer overflow upon addition. Subsequent code using n as index may cause an out-of-bounds read. ### Impact A maliciously crafted meta checkpoint could be used to cause the TensorFlow process to perform an out of bounds read on in process memory.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| tensorflow PyPI | >= 1.0.0, < 1.7.1 | 1.7.1 |
Details and references
- CVSS 3.0
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-190
- Also known as
- CVE-2018-7575, PYSEC-2019-205, PYSEC-2019-223, PYSEC-2019-230
- nvd.nist.gov/vuln/detail/CVE-2018-7575
- github.com/tensorflow/tensorflow/commit/d107fee1e4a9a4462f01564798d345802acc2aef
- github.com/advisories/GHSA-mw6v-crh8-8533
- github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2019-223.yaml
- github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2019-230.yaml
- github.com/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2019-205.yaml
- github.com/tensorflow/tensorflow
- github.com/tensorflow/tensorflow/blob/master/tensorflow/security/advisory/tfsa-2018-004.md
More TensorFlow advisories
All TensorFlow| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Dec 162019 | Heap buffer overflow in `UnsortedSegmentSum` in TensorFlow | Low2.6 | 1.15.0 |
| Apr 302019 | Improper Input Validation in Google TensorFlow | High8.1 | 1.7.1 |
| Apr 302019 | Improper Restriction of Operations within the Bounds of a Memory Buffer in Google TensorFlow | High8.1 | 1.7.1 |
| Apr 302019 | NULL Pointer Dereference in Google TensorFlow | High6.5 | 1.12.1 |
| Apr 242019 | Improper Restriction of Operations within the Bounds of a Memory Buffer in Google TensorFlow | High8.8 | 1.7.1 |
| Apr 242019 | Null pointer dereference in TensorFlow leads to exploitation | High6.5 | 1.6.0 |