PT-2022-16108 · Google · Tensorflow

Mihaimaruseac

·

Published

2022-02-04

·

Updated

2024-03-06

·

CVE-2022-23591

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions TensorFlow versions prior to 2.8.0 TensorFlow versions 2.7.1 and earlier TensorFlow versions 2.6.3 and earlier TensorFlow versions 2.5.3 and earlier
Description The GraphDef format in TensorFlow does not allow self recursive functions. However, a GraphDef containing a self recursive function fragment can be consumed when loading a SavedModel, resulting in a stack overflow during execution. This occurs because resolving each NodeDef means resolving the function itself and its nodes.
Recommendations For versions prior to 2.8.0, update to TensorFlow 2.8.0 or later. For versions 2.7.1 and earlier, update to TensorFlow 2.7.1 or later. For versions 2.6.3 and earlier, update to TensorFlow 2.6.3 or later. For versions 2.5.3 and earlier, update to TensorFlow 2.5.3 or later. As a temporary workaround, consider avoiding the use of self recursive functions in GraphDef until a patch is available.

Exploit

Fix

Uncontrolled Recursion

Resource Exhaustion

Weakness Enumeration

Related Identifiers

BIT-TENSORFLOW-2022-23591
CVE-2022-23591
GHSA-247X-2F9F-5WP7
OPENSUSE-SU-2024:12116-1
PYSEC-2022-100
PYSEC-2022-155

Affected Products

Tensorflow