Denial of Service (DoS) Affecting tensorflow/tensorflow package, versions [1.0.0,1.15.0)


Severity

Recommended
0.0
critical
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-UNMANAGED-TENSORFLOWTENSORFLOW-2333415
  • published12 Jan 2022
  • disclosed16 Dec 2019
  • creditUnknown

Introduced: 16 Dec 2019

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

How to fix?

Upgrade tensorflow/tensorflow to version 1.15.0 or higher.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS). 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 Scores

version 3.1