
Cloud Vulnerability DB
A community-led vulnerabilities database
TensorFlow, an end-to-end open source platform for machine learning, was found to have a vulnerability (CVE-2021-37679) affecting versions prior to 2.6.0. The vulnerability was discovered in the nested implementation of tf.map_fn when handling RaggedTensor inputs without proper function signatures (TensorFlow Advisory).
The vulnerability occurs when nesting a tf.map_fn within another tf.map_fn call with a RaggedTensor input and no function signature provided. The code incorrectly assumes the output is a fully specified tensor and fills the output buffer with uninitialized contents from the heap. The root cause lies in the conversion from a Variant tensor to a RaggedTensor, where the implementation fails to verify that all inner shapes match, resulting in additional dimensions and potential data leakage (TensorFlow Advisory).
The vulnerability can lead to two significant impacts: memory information leakage from the heap when processing RaggedTensors, and potential data loss during tensor processing. When exploited, the vulnerability causes the output tensor to contain unintended data from the heap, which could expose sensitive information (TensorFlow Advisory).
The vulnerability has been patched in TensorFlow versions 2.3.4, 2.4.3, 2.5.1, and 2.6.0. The fix was implemented in GitHub commit 4e2565483d0ffcadc719bd44893fb7f609bb5f12. Users are advised to upgrade to these patched versions to mitigate the vulnerability (TensorFlow 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."