Input validation error in TensorFlow - CVE-2021-29552
Published: May 13, 2021 / Updated: May 4, 2026
TensorFlow
TensorFlow
Description
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to improper input validation in UnsortedSegmentJoin when processing a malformed num_segments tensor argument. A remote attacker can supply an empty tensor instead of a valid scalar to cause a denial of service.
The issue is triggered by a failed CHECK assertion when the operation assumes that num_segments contains exactly one element.