CVE-2019-16778
Heap buffer overflow in `UnsortedSegmentSum` in TensorFlow
2.6
LOW
CVSS 3.1
EPSS 0.33%
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.
How to fix CVE-2019-16778
To remediate CVE-2019-16778, upgrade the affected package to a fixed version below.
- —upgrade to 1.15.0 or later
- —upgrade to db4f9717c41bccc3ce10099ab61996b246099892 or later
- —upgrade to 1.15.0 or later
- —upgrade to db4f9717c41bccc3ce10099ab61996b246099892 or later
- —upgrade to 1.15.0 or later
- —upgrade to db4f9717c41bccc3ce10099ab61996b246099892 or later
Is CVE-2019-16778 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (6)
- from 0, < 1.15.0
- from 0, < db4f9717c41bccc3ce10099ab61996b246099892 | >= 1.0.0, < 1.15.0
- from 0, < 1.15.0
- from 0, < db4f9717c41bccc3ce10099ab61996b246099892 | >= 1.0.0, < 1.15.0
- from 0, < 1.15.0
- from 0, < db4f9717c41bccc3ce10099ab61996b246099892 | >= 1.0.0, < 1.15.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | LOW2.6 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L |