
Cloud Vulnerability DB
A community-led vulnerabilities database
TensorFlow was found to be vulnerable to a heap out-of-bounds write vulnerability in the Grappler component (CVE-2022-23566). The vulnerability was discovered and disclosed in February 2022. The issue affects TensorFlow versions prior to 2.8.0, including versions 2.5.x, 2.6.x, and 2.7.x. The vulnerability stems from the set_output function which writes to an array at a specified index without proper bounds checking (GitHub Advisory).
The vulnerability exists in the SetUnknownShape function within the Grappler component. The function calls set_output which performs an array write operation at a specified index without proper validation of the output port parameter. This implementation could allow an attacker to write outside the bounds of the allocated array. The vulnerability has been assigned a CVSS v3.1 base score of 8.8 (HIGH) with vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).
The vulnerability provides a malicious user with a write primitive that could be exploited to perform out-of-bounds writes on the heap. This could potentially lead to code execution, data corruption, or system crashes. Given the CVSS score and vector, the vulnerability can lead to high impacts on confidentiality, integrity, and availability of the affected system (GitHub Advisory).
The vulnerability has been patched in TensorFlow version 2.8.0. The fix has also been backported to versions 2.7.1, 2.6.3, and 2.5.3. Users are advised to upgrade to these patched versions. The fix was implemented in GitHub commit 97282c6d0d34476b6ba033f961590b783fa184cd, which adds proper validation of the output port parameter (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."