PT-2021-18340 · Google · Tensorflow
Published
2021-05-14
·
Updated
2024-03-06
·
CVE-2021-29589
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
TensorFlow versions prior to 2.5.0
TensorFlow version 2.4.2
TensorFlow version 2.3.3
TensorFlow version 2.2.3
TensorFlow version 2.1.4
Description
The reference implementation of the
GatherNd TFLite operator is vulnerable to a division by zero error. An attacker can craft a model such that params input would be an empty tensor, causing params shape.Dims(.) to be zero in at least one dimension.Recommendations
For TensorFlow versions prior to 2.5.0, update to version 2.5.0 or later.
For TensorFlow version 2.4.2, update to a patched version that includes the fix.
For TensorFlow version 2.3.3, update to a patched version that includes the fix.
For TensorFlow version 2.2.3, update to a patched version that includes the fix.
For TensorFlow version 2.1.4, update to a patched version that includes the fix.
As a temporary workaround, consider restricting the use of the
GatherNd TFLite operator until a patch is available.Exploit
Fix
Divide By Zero
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Tensorflow