PT-2020-14269 · Google · Tensorflow

Mihaimaruseac

·

Published

2020-09-25

·

Updated

2024-03-06

·

CVE-2020-15198

CVSS v4.0

6.3

Medium

VectorAV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Name of the Vulnerable Software and Affected Versions TensorFlow versions prior to 2.3.1
Description The SparseCountSparseOutput implementation does not validate that the input arguments form a valid sparse tensor, specifically that the indices tensor has the same shape as the values one. This can result in accesses outside the bounds of heap allocated buffers due to a shape mismatch, as the values in these tensors are always accessed in parallel.
Recommendations For versions prior to 2.3.1, upgrade to TensorFlow 2.3.1 to resolve the issue. As a temporary workaround, consider validating the shape of the indices and values tensors before passing them to the SparseCountSparseOutput implementation to prevent shape mismatches.

Exploit

Fix

Buffer Overflow

Heap Based Buffer Overflow

Weakness Enumeration

Related Identifiers

BIT-TENSORFLOW-2020-15198
CVE-2020-15198
GHSA-JC87-6VPP-7FF3
PYSEC-2020-121
PYSEC-2020-278
PYSEC-2020-313

Affected Products

Tensorflow