
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2021-29529 is a vulnerability in TensorFlow, an end-to-end open source platform for machine learning. The vulnerability was discovered in May 2021 and affects multiple versions of TensorFlow including versions up to 2.1.4, 2.2.0-2.2.3, 2.3.0-2.3.3, and 2.4.0-2.4.2. The issue allows an attacker to trigger a heap buffer overflow in the tf.raw_ops.QuantizedResizeBilinear operation by manipulating input values that cause float rounding errors (GitHub Advisory, NVD).
The vulnerability stems from an implementation flaw in the way TensorFlow computes two integers representing the upper and lower bounds for interpolation. The issue occurs when interpolation->upper[i] becomes smaller than interpolation->lower[i] due to floating-point rounding errors. When interpolation->upper[i] is capped at in_size-1, interpolation->lower[i] can point outside of the image boundaries, resulting in a heap buffer overflow during the interpolation process (GitHub Advisory).
The vulnerability has been assessed with varying severity ratings. According to NVD's CVSS v3.1 scoring, it received a base score of 7.8 (HIGH) with vector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, while GitHub's assessment rated it as LOW severity. The vulnerability could potentially lead to heap buffer overflow, which might result in system crashes or potential code execution (NVD).
The vulnerability has been patched in TensorFlow 2.5.0. The fix was also backported to TensorFlow versions 2.4.2, 2.3.3, 2.2.3, and 2.1.4. The patch involves ensuring that interpolation->lower[i] never exceeds interpolation->upper[i] by adding additional boundary checks (GitHub Advisory, GitHub Commit).
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."