CVE-2019-16778 Heap buffer overflow in `UnsortedSegmentSum` in TensorFlow
CriticalCVSS 9.8
EPSS 0.79%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Debian
Description
In TensorFlow before 1.15, a heap buffer overflow in UnsortedSegmentSum can be produced when the Index template argument is int32. In this case data_size and num_segments fields are truncated from int64 to int32 and can produce negative numbers, resulting in accessing out of bounds heap memory. This is unlikely to be exploitable and was detected and fixed internally in TensorFlow 1.15 and 2.0.
Upgrade path
5 packages: 5 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Google tensorflow | >= 1.0.0, < 1.15.0 | 1.15.0 | Fixed |
| pypi tensorflow(PyPI) | < 1.15.0; = 0.12.0; = 0.12.1; = 1.0.0 +63 more | 1.15.0 | Fixed |
| pypi tensorflow-cpu(PyPI) | < 1.15.0; >= 1.0.0, < 1.15.0 | 1.15.0 | Fixed |
| pypi tensorflow-gpu(PyPI) | < 1.15.0; = 0.12.0; = 0.12.1; = 1.0.0 +24 more | 1.15.0 | Fixed |
| TensorFlow | >= < 1.15, < 1.15 | 1.15 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi tensorflow(PyPI) | < 1.15.0 | 1.15.0 |
| pypi tensorflow(PyPI) | = 0.12.0 | No fix listed |
| pypi tensorflow(PyPI) | = 0.12.1 | No fix listed |
| pypi tensorflow(PyPI) | = 1.0.0 | No fix listed |
| pypi tensorflow(PyPI) | = 1.0.1 | No fix listed |
| pypi tensorflow(PyPI) | = 1.1.0 | No fix listed |
| pypi tensorflow(PyPI) | = 1.10.0 | No fix listed |
| pypi tensorflow(PyPI) | = 1.10.1 | No fix listed |
| pypi tensorflow(PyPI) | = 1.11.0 | No fix listed |
| pypi tensorflow(PyPI) | = 1.12.0 | No fix listed |
| pypi tensorflow(PyPI) | = 1.12.2 | No fix listed |
| pypi tensorflow(PyPI) | = 1.12.3 | No fix listed |
| pypi tensorflow(PyPI) | = 1.13.1 | No fix listed |
| pypi tensorflow(PyPI) | = 1.13.2 | No fix listed |
| pypi tensorflow(PyPI) | = 1.14.0 | No fix listed |
| pypi tensorflow(PyPI) | = 1.2.0 | No fix listed |
| pypi tensorflow(PyPI) | = 1.2.1 | No fix listed |
| pypi tensorflow(PyPI) | = 1.3.0 | No fix listed |
| pypi tensorflow(PyPI) | = 1.4.0 | No fix listed |
| pypi tensorflow(PyPI) | = 1.4.1 | No fix listed |
| pypi tensorflow(PyPI) | = 1.5.0 | No fix listed |
| pypi tensorflow(PyPI) | = 1.5.1 | No fix listed |
| pypi tensorflow(PyPI) | = 1.6.0 | No fix listed |
| pypi tensorflow(PyPI) | = 1.7.0 | No fix listed |
| pypi tensorflow(PyPI) | = 1.7.1 | No fix listed |
Show 74 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi tensorflow(PyPI) | = 1.8.0 | No fix listed |
| pypi tensorflow(PyPI) | = 1.9.0 | No fix listed |
| pypi tensorflow-cpu(PyPI) | < 1.15.0 | 1.15.0 |
| pypi tensorflow-gpu(PyPI) | < 1.15.0 | 1.15.0 |
| pypi tensorflow-gpu(PyPI) | = 0.12.0 | No fix listed |
| pypi tensorflow-gpu(PyPI) | = 0.12.1 | No fix listed |
| pypi tensorflow-gpu(PyPI) | = 1.0.0 | No fix listed |
| pypi tensorflow-gpu(PyPI) | = 1.0.1 | No fix listed |
| pypi tensorflow-gpu(PyPI) | = 1.1.0 | No fix listed |
| pypi tensorflow-gpu(PyPI) | = 1.10.0 | No fix listed |
| pypi tensorflow-gpu(PyPI) | = 1.10.1 | No fix listed |
| pypi tensorflow-gpu(PyPI) | = 1.11.0 | No fix listed |
| pypi tensorflow-gpu(PyPI) | = 1.12.0 | No fix listed |
| pypi tensorflow-gpu(PyPI) | = 1.12.2 | No fix listed |
| pypi tensorflow-gpu(PyPI) | = 1.12.3 | No fix listed |
| pypi tensorflow-gpu(PyPI) | = 1.13.1 | No fix listed |
| pypi tensorflow-gpu(PyPI) | = 1.13.2 | No fix listed |
| pypi tensorflow-gpu(PyPI) | = 1.14.0 | No fix listed |
| pypi tensorflow-gpu(PyPI) | = 1.2.0 | No fix listed |
| pypi tensorflow-gpu(PyPI) | = 1.2.1 | No fix listed |
| pypi tensorflow-gpu(PyPI) | = 1.3.0 | No fix listed |
| pypi tensorflow-gpu(PyPI) | = 1.4.0 | No fix listed |
| pypi tensorflow-gpu(PyPI) | = 1.4.1 | No fix listed |
| pypi tensorflow-gpu(PyPI) | = 1.5.0 | No fix listed |
| pypi tensorflow-gpu(PyPI) | = 1.5.1 | No fix listed |
| pypi tensorflow-gpu(PyPI) | = 1.6.0 | No fix listed |
| pypi tensorflow-gpu(PyPI) | = 1.7.0 | No fix listed |
| pypi tensorflow-gpu(PyPI) | = 1.7.1 | No fix listed |
| pypi tensorflow-gpu(PyPI) | = 1.8.0 | No fix listed |
| pypi tensorflow-gpu(PyPI) | = 1.9.0 | No fix listed |
| pypi tensorflow(PyPI) | >= 1.0.0, < 1.15.0 | 1.15.0 |
| pypi tensorflow(PyPI) | = 1.1.0rc0 | No fix listed |
| pypi tensorflow(PyPI) | = 1.1.0rc1 | No fix listed |
| pypi tensorflow(PyPI) | = 1.1.0rc2 | No fix listed |
| pypi tensorflow(PyPI) | = 1.10.0rc0 | No fix listed |
| pypi tensorflow(PyPI) | = 1.10.0rc1 | No fix listed |
| pypi tensorflow(PyPI) | = 1.11.0rc0 | No fix listed |
| pypi tensorflow(PyPI) | = 1.11.0rc1 | No fix listed |
| pypi tensorflow(PyPI) | = 1.11.0rc2 | No fix listed |
| pypi tensorflow(PyPI) | = 1.12.0rc0 | No fix listed |
| pypi tensorflow(PyPI) | = 1.12.0rc1 | No fix listed |
| pypi tensorflow(PyPI) | = 1.12.0rc2 | No fix listed |
| pypi tensorflow(PyPI) | = 1.13.0rc0 | No fix listed |
| pypi tensorflow(PyPI) | = 1.13.0rc1 | No fix listed |
| pypi tensorflow(PyPI) | = 1.13.0rc2 | No fix listed |
| pypi tensorflow(PyPI) | = 1.14.0rc0 | No fix listed |
| pypi tensorflow(PyPI) | = 1.14.0rc1 | No fix listed |
| pypi tensorflow(PyPI) | = 1.15.0rc0 | No fix listed |
| pypi tensorflow(PyPI) | = 1.15.0rc1 | No fix listed |
| pypi tensorflow(PyPI) | = 1.15.0rc2 | No fix listed |
| pypi tensorflow(PyPI) | = 1.15.0rc3 | No fix listed |
| pypi tensorflow(PyPI) | = 1.2.0rc0 | No fix listed |
| pypi tensorflow(PyPI) | = 1.2.0rc1 | No fix listed |
| pypi tensorflow(PyPI) | = 1.2.0rc2 | No fix listed |
| pypi tensorflow(PyPI) | = 1.3.0rc0 | No fix listed |
| pypi tensorflow(PyPI) | = 1.3.0rc1 | No fix listed |
| pypi tensorflow(PyPI) | = 1.3.0rc2 | No fix listed |
| pypi tensorflow(PyPI) | = 1.4.0rc0 | No fix listed |
| pypi tensorflow(PyPI) | = 1.4.0rc1 | No fix listed |
| pypi tensorflow(PyPI) | = 1.5.0rc0 | No fix listed |
| pypi tensorflow(PyPI) | = 1.5.0rc1 | No fix listed |
| pypi tensorflow(PyPI) | = 1.6.0rc0 | No fix listed |
| pypi tensorflow(PyPI) | = 1.6.0rc1 | No fix listed |
| pypi tensorflow(PyPI) | = 1.7.0rc0 | No fix listed |
| pypi tensorflow(PyPI) | = 1.7.0rc1 | No fix listed |
| pypi tensorflow(PyPI) | = 1.8.0rc0 | No fix listed |
| pypi tensorflow(PyPI) | = 1.8.0rc1 | No fix listed |
| pypi tensorflow(PyPI) | = 1.9.0rc0 | No fix listed |
| pypi tensorflow(PyPI) | = 1.9.0rc1 | No fix listed |
| pypi tensorflow(PyPI) | = 1.9.0rc2 | No fix listed |
| pypi tensorflow-cpu(PyPI) | >= 1.0.0, < 1.15.0 | 1.15.0 |
| pypi tensorflow-gpu(PyPI) | >= 1.0.0, < 1.15.0 | 1.15.0 |
| Google tensorflow | >= 1.0.0, < 1.15.0 | 1.15.0 |
| TensorFlow | >= < 1.15, < 1.15 | 1.15 |
References
- github.com patch third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com
- github.com
- github.com
- github.com product
- github.com third-party-advisory vendor-advisory
- github.com
- Debian Security Tracker CVE-2019-16778 vendor-advisory