PT-2021-18310 · Google · Tensorflow

Yakun Zhang

+1

·

Published

2021-05-14

·

Updated

2024-03-06

·

CVE-2021-29559

CVSS v3.1

7.1

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Name of the Vulnerable Software and Affected Versions TensorFlow versions prior to 2.5.0 TensorFlow versions 2.4.2, 2.3.3, 2.2.3, and 2.1.4 are also affected
Description An attacker can access data outside of bounds of heap allocated array in tf.raw ops.UnicodeEncode. This is because the implementation assumes that the input value/input splits pair specify a valid sparse tensor.
Recommendations For TensorFlow versions prior to 2.5.0, update to version 2.5.0 or later. For TensorFlow version 2.4.2, update to a newer version that includes the fix. For TensorFlow version 2.3.3, update to a newer version that includes the fix. For TensorFlow version 2.2.3, update to a newer version that includes the fix. For TensorFlow version 2.1.4, update to a newer version that includes the fix. As a temporary workaround, consider restricting the use of the tf.raw ops.UnicodeEncode function until a patch is available.

Exploit

Fix

Out of bounds Read

Weakness Enumeration

Related Identifiers

BIT-TENSORFLOW-2021-29559
CVE-2021-29559
GHSA-59Q2-X2QC-4C97
PYSEC-2021-196
PYSEC-2021-487
PYSEC-2021-685

Affected Products

Tensorflow