PT-2022-19456 · Google · Tensorflow
Published
2022-05-20
·
Updated
2025-06-25
·
CVE-2022-29204
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.9.0
TensorFlow versions prior to 2.8.1
TensorFlow versions prior to 2.7.2
TensorFlow versions prior to 2.6.4
Description
The implementation of
tf.raw ops.UnsortedSegmentJoin does not fully validate the input arguments, resulting in a CHECK-failure that can be used to trigger a denial of service attack. The code assumes num segments is a positive scalar but there is no validation. Since this value is used to allocate the output tensor, a negative value would result in a CHECK-failure.Recommendations
For versions prior to 2.9.0, update to version 2.9.0 or later.
For versions prior to 2.8.1, update to version 2.8.1 or later.
For versions prior to 2.7.2, update to version 2.7.2 or later.
For versions prior to 2.6.4, update to version 2.6.4 or later.
As a temporary workaround, consider validating the
num segments value before passing it to tf.raw ops.UnsortedSegmentJoin to prevent negative values.Exploit
Fix
DoS
Integer Underflow
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Tensorflow