
Cloud Vulnerability DB
A community-led vulnerabilities database
The vulnerability (CVE-2022-23591) affects TensorFlow, an Open Source Machine Learning Framework. The issue was discovered in versions prior to 2.8.0, where the GraphDef format incorrectly handled self-recursive functions, leading to potential security risks. The vulnerability was disclosed on February 2, 2022, affecting multiple versions of TensorFlow including versions up to 2.5.2, 2.6.0 through 2.6.2, and version 2.7.0 (GitHub Advisory).
The vulnerability stems from the GraphDef format's inability to properly handle self-recursive functions, despite the runtime assuming this invariant is satisfied. When loading a SavedModel, a GraphDef containing self-recursive function definitions can be processed, which leads to a stack overflow condition during execution. This occurs because resolving each NodeDef requires resolving the function itself and its nodes, creating an infinite recursive loop (GitHub Advisory). The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (High) with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD).
The primary impact of this vulnerability is on system availability. When exploited, the vulnerability can cause a stack overflow during execution, potentially leading to system crashes or denial of service conditions (GitHub Advisory).
The vulnerability has been patched in multiple versions of TensorFlow. The fix was included in TensorFlow 2.8.0 and backported to versions 2.7.1, 2.6.3, and 2.5.3. Users are advised to upgrade to these patched versions. The fix implements validation checks to prevent self-recursive functions in the GraphDef format (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."