PT-2023-20223 · Google · Tensorflow
R3Pwnx
·
Published
2023-03-24
·
Updated
2024-03-06
·
CVE-2023-25662
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.12.0
TensorFlow versions prior to 2.11.1
Description
The issue is related to an integer overflow in the EditDistance function of TensorFlow, which can cause a deadlock when the
hypothesis shape t is empty. This occurs because hypothesis shape t->NumElements() - 1 will result in an integer overflow. The vulnerability can be exploited by passing a specific set of parameters to the tf.raw ops.EditDistance function, including empty hypothesis shape and truth shape.Recommendations
For versions prior to 2.12.0, update to TensorFlow version 2.12.0 to resolve the issue.
For versions prior to 2.11.1, update to TensorFlow version 2.11.1 to resolve the issue.
As a temporary workaround, consider avoiding the use of the
tf.raw ops.EditDistance function with empty hypothesis shape and truth shape parameters until a patch is applied.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