PT-2021-18290 · Unknown · Tensorflow
Mihaimaruseac
·
Published
2021-05-14
·
Updated
2024-03-06
·
CVE-2021-29539
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
TensorFlow versions prior to 2.5.0
Description
The issue arises when calling
tf.raw ops.ImmutableConst with a dtype of tf.resource or tf.variant, resulting in a segfault. This occurs because the code assumes that the tensor contents are pure scalars.Recommendations
For versions prior to 2.5.0, consider inserting a filter for the
dtype argument when using tf.raw ops.ImmutableConst to prevent the segfault.
Update to TensorFlow 2.5.0 or use TensorFlow nightly packages after the commit 4f663d4b8f0bec1b48da6fa091a7d29609980fa4 to resolve the issue.Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Tensorflow