SB2019121622 - Out-of-bounds write in TensorFlow TensorFlow



SB2019121622 - Out-of-bounds write in TensorFlow TensorFlow

Published: December 16, 2019 Updated: July 17, 2020

Security Bulletin ID SB2019121622
Severity
High
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 security vulnerability.


1) Out-of-bounds write (CVE-ID: CVE-2019-16778)

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

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.


Remediation

Install update from vendor's website.