Out-of-bounds read in TensorFlow - CVE-2021-37670
Published: August 12, 2021 / Updated: May 3, 2026
TensorFlow
TensorFlow
Description
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to an out-of-bounds read in tf.raw_ops.UpperBound and tf.raw_ops.LowerBound when processing specially crafted illegal arguments. A remote attacker can send specially crafted illegal arguments to disclose sensitive information.
The issue occurs because the rank of the sorted_input tensor is not validated before the first two dimensions are accessed.