Out-of-bounds read in TensorFlow - CVE-2021-41227
Published: November 5, 2021 / Updated: May 3, 2026
TensorFlow
TensorFlow
Description
The vulnerability allows a local user to disclose sensitive information.
The vulnerability exists due to an out-of-bounds read in the ImmutableConst operation when processing a memory region as a TensorFlow string. A local user can supply a crafted memory_region_name and string type parameters to disclose sensitive information.
The issue occurs because the tstring class has a special case for memory mapped strings while the operation itself does not support this datatype.