
Cloud Vulnerability DB
A community-led vulnerabilities database
A heap out-of-bounds read vulnerability was discovered in TensorFlow's RequantizationRange operation (CVE-2021-29569). The vulnerability affects TensorFlow versions prior to 2.5.0, where the implementation assumes that inputmin and inputmax tensors have at least one element. When empty tensors are provided, accessing the first element results in a read outside the bounds of heap-allocated data (GitHub Advisory).
The vulnerability exists in the implementation of tf.rawops.RequantizationRange where the code attempts to access the first element of potentially empty tensors through the flat() operation. The issue occurs in the lines 'const float inputminfloat = ctx->input(1).flat()(0)' and 'const float inputmax_float = ctx->input(2).flat()(0)', where if the tensors are empty, accessing the 0th element results in an out-of-bounds read (GitHub Commit).
The vulnerability allows an attacker to cause reads outside the bounds of heap-allocated data by supplying specially crafted inputs. This could potentially lead to information disclosure or program crashes (GitHub Advisory).
The issue has been patched in TensorFlow 2.5.0 and backported to versions 2.1.4, 2.2.3, 2.3.3, and 2.4.2. Users should upgrade to these patched versions. The fix includes input validation to ensure that input tensors are not empty (GitHub Advisory).
The vulnerability was responsibly disclosed by Ying Wang and Yakun Zhang of Baidu X-Team, demonstrating ongoing security research efforts in the AI/ML community (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."