PT-2021-18364 · Google · Tensorflow

Yakun Zhang

+1

·

Published

2021-05-14

·

Updated

2024-03-06

·

CVE-2021-29613

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 and earlier TensorFlow versions 2.3.3 and earlier TensorFlow versions 2.2.3 and earlier TensorFlow versions 2.1.4 and earlier
Description Incomplete validation in tf.raw ops.CTCLoss allows an attacker to trigger an out-of-bounds read from the heap, a heap buffer overflow, or a null pointer dereference. This issue affects TensorFlow and can be exploited by providing specially crafted input to the tf.raw ops.CTCLoss function.
Recommendations For versions prior to 2.5.0, update to TensorFlow 2.5.0 or later. For versions 2.4.2 and earlier, update to TensorFlow 2.4.2 or later. For versions 2.3.3 and earlier, update to TensorFlow 2.3.3 or later. For versions 2.2.3 and earlier, update to TensorFlow 2.2.3 or later. For versions 2.1.4 and earlier, update to TensorFlow 2.1.4 or later. As a temporary workaround, consider disabling the tf.raw ops.CTCLoss function until a patch is available. Restrict access to the tf.raw ops.CTCLoss function to minimize the risk of exploitation. Avoid using the inputs, labels indices, labels values, and sequence length parameters in the affected API endpoint until the issue is resolved.

Exploit

Fix

Out of bounds Read

Improper Initialization

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

Weakness Enumeration

Related Identifiers

BIT-TENSORFLOW-2021-29613
CVE-2021-29613
GHSA-VVG4-VGRV-XFR7
PYSEC-2021-250
PYSEC-2021-541
PYSEC-2021-739

Affected Products

Tensorflow