PT-2021-23178 · Google · Tensorflow

Mihaimaruseac

·

Published

2021-11-05

·

Updated

2024-03-06

·

CVE-2021-41206

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.7.0 TensorFlow version 2.6.1 TensorFlow version 2.5.2 TensorFlow version 2.4.4
Description Several TensorFlow operations are missing validation for the shapes of the tensor arguments involved in the call. Depending on the API, this can result in undefined behavior and segfault or CHECK-fail related crashes but in some scenarios writes and reads from heap populated arrays are also possible. These issues were discovered internally via tooling while working on improving/testing GPU op determinism.
Recommendations Update to TensorFlow 2.7.0 or later to resolve the issue. For versions 2.6.1, 2.5.2, and 2.4.4, update to the respective cherrypicked commits to resolve the issue. As a temporary workaround, consider restricting the use of affected TensorFlow operations until a patch is available.

Fix

Weakness Enumeration

Related Identifiers

BIT-TENSORFLOW-2021-41206
CVE-2021-41206
GHSA-PGCQ-H79J-2F69
OPENSUSE-SU-2024:12116-1
PYSEC-2021-843
PYSEC-2021-845
PYSEC-2021-847

Affected Products

Tensorflow