PT-2022-15066

CVE-2022-21727

·

Published

2022-02-03

·

Updated

2026-07-09

Description by

CVSS 3.1
7.6
High
MetricsAV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/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 implementation of shape inference for Dequantize is vulnerable to an integer overflow weakness. The axis argument can be -1 (the default value for the optional argument) or any other positive value at most the number of dimensions of the input. Unfortunately, the upper bound is not checked, and, since the code computes axis + 1, an attacker can trigger an integer overflow.
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 restricting the use of the axis argument in the Dequantize function to prevent integer overflow.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-C6FH-56W7-FVJW
BIT-TENSORFLOW-2022-21727
OPENSUSE-SU-2024:12116-1
PYSEC-2022-106
PYSEC-2022-51
PYSEC-2026-3159
Found an issue in the description? Have something to add? Feel free to write us 👾