PT-2021-23169 · Google · Tensorflow
Lugalurimo
·
Published
2021-11-05
·
Updated
2024-03-06
·
CVE-2021-41197
CVSS v4.0
6.8
Medium
| Vector | AV:L/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 prior to 2.7.0
TensorFlow versions 2.6.0 through 2.6.0
TensorFlow versions 2.5.0 through 2.5.1
TensorFlow versions 2.4.0 through 2.4.3
Description
TensorFlow allows tensors to have a large number of dimensions and each dimension can be as large as desired. However, the total number of elements in a tensor must fit within an
int64 t. If an overflow occurs, MultiplyWithoutOverflow would return a negative result, resulting in a CHECK-failure in the majority of the TensorFlow codebase. Newer constructs exist which return a Status instead of crashing the binary. For example, calls to AddDim should be replaced by AddDimWithStatus.Recommendations
For versions prior to 2.7.0, update to TensorFlow 2.7.0 or later.
For versions 2.6.0 through 2.6.0, update to TensorFlow 2.6.1 or later.
For versions 2.5.0 through 2.5.1, update to TensorFlow 2.5.2 or later.
For versions 2.4.0 through 2.4.3, update to TensorFlow 2.4.4 or later.
Exploit
Fix
Integer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Tensorflow