Vulnerability 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.
CVSS Score
LOW
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Tensorflow | >= 1.0.0, < 1.15.0 |
Related Weaknesses (CWE)
References
- https://github.com/tensorflow/tensorflow/blob/master/tensorflow/security/advisorThird Party Advisory
- https://github.com/tensorflow/tensorflow/commit/db4f9717c41bccc3ce10099ab61996b2Patch
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-844w-j86r-4x2jPatchThird Party Advisory
- https://github.com/tensorflow/tensorflow/blob/master/tensorflow/security/advisorThird Party Advisory
- https://github.com/tensorflow/tensorflow/commit/db4f9717c41bccc3ce10099ab61996b2Patch
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-844w-j86r-4x2jPatchThird Party Advisory
FAQ
What is CVE-2019-16778?
CVE-2019-16778 is a vulnerability with a CVSS score of 2.6 (LOW). 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 int...
How severe is CVE-2019-16778?
CVE-2019-16778 has been rated LOW with a CVSS base score of 2.6/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2019-16778?
Check the references section above for vendor advisories and patch information. Affected products include: Google Tensorflow.