Input validation error in TensorFlow - CVE-2021-29607
Published: May 13, 2021 / Updated: May 4, 2026
TensorFlow
TensorFlow
Description
The vulnerability allows a remote attacker to cause a denial of service or corrupt memory.
The vulnerability exists due to improper input validation in the SparseSparseMinimum operation when processing invalid sparse tensor inputs. A remote attacker can send crafted tensor triples to cause a denial of service or corrupt memory.
The issue stems from missing checks for empty tensors and for mismatched index dimensions relative to the corresponding shape tensors.