
Cloud Vulnerability DB
A community-led vulnerabilities database
The vulnerability CVE-2021-29577 affects TensorFlow, an end-to-end open source platform for machine learning. The vulnerability was discovered in the implementation of tf.raw_ops.AvgPool3DGrad function, which was found to be vulnerable to a heap buffer overflow. The issue was disclosed on May 13, 2021, affecting TensorFlow versions prior to 2.5.0 (GitHub Advisory).
The vulnerability stems from the implementation of tf.raw_ops.AvgPool3DGrad which assumes that the orig_input_shape and grad tensors have similar first and last dimensions but fails to validate this assumption. This oversight could lead to a heap buffer overflow condition. The vulnerability was assigned a Low severity rating (GitHub Advisory).
The vulnerability could potentially lead to heap buffer overflow conditions when processing specific input combinations in the AvgPool3DGrad operation. This could affect applications using TensorFlow's 3D pooling operations (GitHub Advisory).
A proof-of-concept exploit exists that demonstrates the vulnerability using specific tensor configurations with mismatched dimensions in the AvgPool3DGrad operation (GitHub Advisory).
The vulnerability was patched in TensorFlow version 2.5.0. The fix was also backported to versions 2.1.4, 2.2.3, 2.3.3, and 2.4.2. Users are advised to upgrade to these patched versions. The fix implements additional validation checks for tensor dimensions, as documented in commit 6fc9141f42f6a72180ecd24021c3e6b36165fe0d (GitHub Advisory).
Fix availability across major Linux distributions and their releases.
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."