
Cloud Vulnerability DB
A community-led vulnerabilities database
TensorFlow, an open source platform for machine learning, disclosed a vulnerability (CVE-2021-41203) in November 2021. The vulnerability affects versions prior to 2.7.0, where attackers could trigger undefined behavior, integer overflows, segfaults, and CHECK-fail crashes by manipulating saved checkpoints from outside of TensorFlow. This security issue stemmed from missing validation for invalid file formats in the checkpoints loading infrastructure (GitHub Advisory).
The vulnerability exists in the checkpoint loading infrastructure where multiple validation checks were missing. The issue manifests through various technical problems including buffer overflows when loading tensors with insufficient data, crashes when loading tensor slices with unsupported types, and undefined behavior when parsing unverified TensorShapes during checkpoint loading. The vulnerability received a CVSS v3.1 Base Score of 7.8 (HIGH) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).
The vulnerability could allow attackers to cause system crashes through segmentation faults, trigger undefined behavior, and potentially execute arbitrary code through buffer overflows. The impact is particularly significant in environments where checkpoint files could be manipulated by malicious actors, potentially leading to denial of service or system compromise (GitHub Advisory).
The vulnerability was patched in TensorFlow 2.7.0, with backported fixes available in versions 2.6.1, 2.5.2, and 2.4.4. The fixes include multiple commits that implement proper validation checks for checkpoint loading. Users are advised to upgrade to these patched versions to mitigate the vulnerability (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."