Heap-based Buffer Overflow Affecting tensorflow package, versions [,1.15)


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.28% (69th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-TENSORFLOW-537867
  • published17 Dec 2019
  • disclosed16 Dec 2019
  • creditUnknown

Introduced: 16 Dec 2019

CVE-2019-16778  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade tensorflow to version 1.15 or higher.

Overview

tensorflow is a machine learning framework.

Affected versions of this package are vulnerable to Heap-based Buffer Overflow via UnsortedSegmentSum. When the Index template argument is int32 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.

CVSS Scores

version 3.1