Buffer overflow in Google Tensorflow
CVE-2019-16778
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 2.6 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.008, 56.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Google Tensorflow
- Tensorflow — versions < 1.15
Weakness classification (CWE)
References
- github.com/tensorflow/tensorflow/security/advisories/GHSA-844w-j86r-4x2j (Patch, Third Party Advisory)
- github.com/tensorflow/tensorflow/commit/db4f9717c41bccc3ce10099ab61996b246099892 (Patch)
- github.com/tensorflow/tensorflow/blob/master/tensorflow/security/advisory/tfsa-… (Third Party Advisory)