PT-2020-14326 · Google · Tensorflow
Mihaimaruseac
·
Published
2020-10-21
·
Updated
2024-03-06
·
CVE-2020-15266
CVSS v3.1
7.5
High
| Vector | AV: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.4.0
Description
The issue arises when the
boxes argument of tf.image.crop and resize has a very large value, causing the CPU kernel implementation to receive it as a C++ nan floating point value. This leads to undefined behavior and eventually produces a segmentation fault.Recommendations
For versions prior to 2.4.0, update to TensorFlow 2.4.0 or use a TensorFlow nightly package released after the patch commit to resolve the issue.
As a temporary workaround, consider avoiding the use of very large values for the
boxes argument in tf.image.crop and resize until a patch is applied.Exploit
Fix
Buffer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Tensorflow