
Cloud Vulnerability DB
A community-led vulnerabilities database
TensorFlow, an end-to-end open source platform for machine learning, was found to contain a vulnerability (CVE-2021-37667) related to null pointer dereferencing. The vulnerability was discovered in August 2021 and affects multiple versions of TensorFlow including versions 2.3.0-2.3.4, 2.4.0-2.4.3, 2.5.0, and 2.6.0 release candidates. The issue allows an attacker to cause undefined behavior through binding a reference to a null pointer in the tf.raw_ops.UnicodeEncode operation (GitHub Advisory, NVD).
The vulnerability stems from a flaw in the implementation where the code reads the first dimension of the input_splits tensor before validating that this tensor is not empty. This oversight can lead to undefined behavior when processing empty input. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. The issue is classified as CWE-824 (Access of Uninitialized Pointer) (Snyk, NVD).
The vulnerability can result in a total loss of confidentiality, integrity, and availability within the affected component. When successfully exploited, it can lead to undefined behavior in the system, potentially allowing an attacker to gain unauthorized access to system resources or cause system instability (Snyk).
The issue has been patched in GitHub commit 2e0ee46f1a47675152d3d865797a18358881d7a6 and included in TensorFlow versions 2.6.0, 2.5.1, 2.4.3, and 2.3.4. Users are advised to upgrade to these patched versions to mitigate the vulnerability. The fix implements proper validation of the input_splits tensor before attempting to access its dimensions (GitHub Advisory).
The vulnerability was reported by members of the Aivul Team from Qihoo 360, demonstrating ongoing security research in the machine learning framework ecosystem (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."