PT-2021-21775 · Google · Tensorflow

·

CVE-2021-37659

·

Published

2021-08-12

·

Updated

2024-03-06

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions TensorFlow versions prior to 2.6.0 TensorFlow versions 2.5.1 and earlier TensorFlow versions 2.4.3 and earlier TensorFlow versions 2.3.4 and earlier
Description An attacker can cause undefined behavior via binding a reference to null pointer in all binary cwise operations that don't require broadcasting. The implementation assumes that the two inputs have exactly the same number of elements but does not check that, triggering heap OOB reads and undefined behavior due to binding to nullptr.
Recommendations For versions prior to 2.6.0, update to TensorFlow 2.6.0 or later. For versions 2.5.1 and earlier, update to TensorFlow 2.5.1 or later. For versions 2.4.3 and earlier, update to TensorFlow 2.4.3 or later. For versions 2.3.4 and earlier, update to TensorFlow 2.3.4 or later. As a temporary workaround, consider restricting the use of binary cwise operations that don't require broadcasting until a patch is available.

Fix

NULL Pointer Dereference

Out of bounds Read

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BIT-TENSORFLOW-2021-37659
CVE-2021-37659
GHSA-Q3G3-H9R4-PRRC
OPENSUSE-SU-2022:10014-1
OPENSUSE-SU-2024:12116-1
PYSEC-2021-281
PYSEC-2021-572
PYSEC-2021-770

Affected Products

Tensorflow