PT-2022-15068

CVE-2022-21729

·

Published

2022-02-03

·

Updated

2026-07-09

Description by

CVSS 4.0
7.1
High
MetricsAV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions TensorFlow versions 2.5.3 through 2.7.1 TensorFlow version 2.8.0 is not affected as it includes the fix.
Description The implementation of UnravelIndex is vulnerable to a division by zero caused by an integer overflow bug. This issue can be exploited using the tf.raw ops.UnravelIndex function with specific parameters, such as indices=-0x100000 and dims=[0x100000,0x100000]. The vulnerability has been reported by Yu Tian of Qihoo 360 AIVul Team.
Recommendations For TensorFlow versions 2.5.3, 2.6.3, and 2.7.1, update to the respective patched versions to resolve the issue. For TensorFlow versions prior to 2.5.3, there is no information about a newer version that contains a fix for this vulnerability. As a temporary workaround, consider avoiding the use of the UnravelIndex function with large input values until a patch is available.
Exploitability
Exploit
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-34F9-HJFQ-RR8J
BIT-TENSORFLOW-2022-21729
OPENSUSE-SU-2024:12116-1
PYSEC-2022-108
PYSEC-2022-53
PYSEC-2026-3090
Found an issue in the description? Have something to add? Feel free to write us 👾