Out-of-bounds read in TensorFlow - CVE-2021-41210
Published: November 5, 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 the shape inference functions for tf.raw_ops.SparseCountSparseOutput when parsing crafted input tensors. A remote attacker can supply a specially crafted indices input to disclose sensitive information.
The issue occurs because the function fails to check that the indices input has rank 2.