All items
All tracked items across vulnerabilities, news, research, incidents, and regulatory updates.
All tracked items across vulnerabilities, news, research, incidents, and regulatory updates.
628 items
CVE-2021-41200 affects TensorFlow. In affected versions, calling `tf.summary.create_file_writer` with non-scalar arguments causes a crash due to a `CHECK`-fail. The weakness is classified as CWE-617 (Reachable Assertion).
Fix: The fix will be included in TensorFlow 2.7.0. The commit will also be cherrypicked to TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4.
NVD/CVE DatabaseTensorFlow's tf.image.resize crashes the process in affected versions when called with a large input argument. The output tensor's element count overflows the int64_t type, and a CHECK statement detects the overflow and aborts the process.
Fix: The fix will be included in TensorFlow 2.7.0. It will also be cherrypicked to TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4.
NVD/CVE DatabaseCVE-2021-41198 affects TensorFlow. When `tf.tile` is called with a large input argument, the number of elements in the output tensor overflows the `int64_t` type, and a `CHECK` statement detects this and aborts the process, crashing TensorFlow.
Fix: The fix will be included in TensorFlow 2.7.0. The commit will also be cherrypicked to TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4.
NVD/CVE DatabaseTensorFlow allows a tensor to have many dimensions, each of arbitrary size, but the total element count must fit in an `int64_t`. When that count overflows, `MultiplyWithoutOverflow` returns a negative value, which in most of the codebase triggers a `CHECK`-failure that crashes the binary. The flaw resembles CVE-2021-29584.
Fix: Fixed in TensorFlow 2.7.0. The fix will also be cherry-picked to TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4.
CVE-2021-41196 affects TensorFlow versions where Keras pooling layers can crash with a segfault. The fault occurs when the pool size is 0 or a dimension is negative, because pooling operations do not check that sliding-window values are strictly positive.
Fix: The fix will be included in TensorFlow 2.7.0. The same commit will be cherry-picked to TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4.
NVD/CVE DatabaseTensorFlow's tf.math.segment_* operations, on both CPU and GPU, abort with a CHECK failure when a segment id in segment_ids is large, causing denial of service. The output shape is computed with AddDim, which fails with a std::abort if the tensor's element count overflows an int64_t. The source attributes the issue to similarity with CVE-2021-29584 and other localized TensorFlow API reports.
Fix: The fix will be included in TensorFlow 2.7.0. The commit will also be cherrypicked to TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, which are affected and still in supported range.
TensorFlow's shape inference code leaves shape and type information from `ShapeAndType` structs, produced by functions such as `MutableHashTableShape`, owned by an inference context that is cleaned up almost immediately. If upstream code accesses that shape information, it can trigger a segfault. `ShapeRefiner` already clones normal output shapes to avoid this, but the same handling was missing for shapes and types.
Fix: Patched in GitHub commit ee119d4a498979525046fba1c3dd3f13a039fbb1. The fix will be included in TensorFlow 2.6.0, and the commit will be cherry-picked to TensorFlow 2.5.1, TensorFlow 2.4.3 and TensorFlow 2.3.4.
TensorFlow's Go bindings can segfault during garbage collection of a string tensor whose encoding failed, for example because of mismatched dimensions. The `C.TF_TString_Dealloc` call in the finalizer assumes encoding succeeded, and tensor structure is only checked at encoding time to avoid a performance penalty. The affected versions are TensorFlow 2.5.1 and earlier versions of the same line.
Fix: Patched in GitHub commit 8721ba96e5760c229217b594f6d2ba332beedf22. The fix is included in TensorFlow 2.6.0 and cherry-picked to TensorFlow 2.5.1.
TensorFlow, an open source machine learning platform, has a flaw in which a crafted TFLite model triggers a division by zero in the LSH implementation (lsh_projection.cc). The issue is tracked as CVE-2021-37691 and affects multiple supported versions.
Fix: Patched in GitHub commit 0575b640091680cfb70f4dd93e70658de43b94f9. The fix will be included in TensorFlow 2.6.0 and cherry-picked to TensorFlow 2.5.1, 2.4.3, and 2.3.4.
CVE-2021-37684 affects TensorFlow's TFLite pooling implementations in affected versions. The code performs no checks that divisors are non-zero, so a division by 0 error can occur.
Fix: Patched in GitHub commit dfa22b348b70bb89d6d6ec0ff53973bacb4f4695. The fix will be included in TensorFlow 2.6.0, and the commit will be cherry-picked to TensorFlow 2.5.1, 2.4.3 and 2.3.4.
NVD/CVE DatabaseCVE-2021-37677 affects the shape inference code for `tf.raw_ops.Dequantize` in TensorFlow. Invalid `axis` values that are neither `-1` nor greater than `-1` are not validated, so an attacker who supplies such arguments can trigger a segfault and a denial of service.
Fix: We have patched the issue in GitHub commit da857cfa0fde8f79ad0afdbc94e88b5d4bbec764. The fix will be included in TensorFlow 2.6.0, and the commit will be cherrypicked onto TensorFlow 2.5.1, TensorFlow 2.4.3, and…
CVE-2021-37674 affects TensorFlow versions that lack validation in `tf.raw_ops.MaxPoolGrad`. The `maxpooling_op.cc` implementation does not check the `orig_input` and `orig_output` tensors, so an attacker can trigger a segmentation fault and a denial of service. The source notes that the earlier fixes for CVE-2021-29579 were incomplete.
Fix: Patched in GitHub commit 136b51f10903e044308cf77117c0ed9871350475. The fix will be included in TensorFlow 2.6.0, and the commit will also be cherry-picked to TensorFlow 2.5.1, TensorFlow 2.4.3, and TensorFlow 2.3.4.
CVE-2021-37673 affects TensorFlow versions where `tf.raw_ops.MapStage` fails a `CHECK` when the `key` input is not a valid non-empty tensor. An attacker can trigger this to cause a denial of service, because the implementation in map_stage_op.cc does not validate that input.
Fix: Patched in GitHub commit d7de67733925de196ec8863a33445b73f9562d1d. The fix will be included in TensorFlow 2.6.0, and the commit will be cherry-picked to TensorFlow 2.5.1, 2.4.3 and 2.3.4.
TensorFlow versions before the fix allow an attacker to cause denial of service in applications serving models that use tf.raw_ops.NonMaxSuppressionV5. A negative user-supplied output_size is implicitly converted to an unsigned size_t when resizing a std::vector, which triggers a division by 0 and a crash. The same issue appears in CombinedNonMaxSuppression.
Fix: Patched in GitHub commits 3a7362750d5c372420aa8f0caf7bf5b5c3d0f52d and b5cdbf12ffcaaffecf98f22a6be5a64bb96e4f58. The fix will be included in TensorFlow 2.6.0, and the commits will be cherry-picked to TensorFlow 2.5.1…
CVE-2021-37668 affects TensorFlow, an open source machine learning platform. An attacker can cause a denial of service in applications serving models by calling `tf.raw_ops.UnravelIndex` in a way that triggers a division by 0, because the implementation does not check that the tensor subsumed by `dims` is not empty.
Fix: Patched in GitHub commit a776040a5e7ebf76eeb7eb923bf1ae417dd4d233. The fix will be included in TensorFlow 2.6.0. The commit will also be cherrypicked to TensorFlow 2.5.1, TensorFlow 2.4.3, and TensorFlow 2.3.4.
TensorFlow's MLIR optimization of the `L2NormalizeReduceAxis` operator unconditionally dereferences an iterator to a vector without checking that the vector has elements. An attacker can exploit this by crafting a TFLite model that triggers a null pointer dereference, causing a crash and denial of service.
Fix: Patched in GitHub commit d6b57f461b39fd1aa8c1b870f1b974aac3554955. The fix will be included in TensorFlow 2.6.0, and the commit will be cherrypicked to TensorFlow 2.5.1, TensorFlow 2.4.3, and TensorFlow 2.3.4.
A crafted TFLite model in affected TensorFlow versions triggers a null pointer dereference in the optimized_ops.h implementation, which unconditionally dereferences a pointer. The result is a crash and denial of service. The flaw is patched in GitHub commit 15691e456c7dc9bd6be203b09765b063bf4a380c.
Fix: The fix will be included in TensorFlow 2.6.0. The commit will also be cherry-picked to TensorFlow 2.5.1, TensorFlow 2.4.3, and TensorFlow 2.3.4.
CVE-2021-37686 affects TensorFlow Lite's strided slice implementation, which contains a logic bug introduced with new support for ellipsis in axis definition. An attacker can craft a model where `ellipsis_end_idx` is smaller than `i`, so the inner loop never increments `i` and the `continue` statement skips the outer loop's preincrement, causing an infinite loop. TensorFlow 2.6.0 is the only affected version.
Fix: We have patched the issue in GitHub commit dfa22b348b70bb89d6d6ec0ff53973bacb4f4695.
TensorFlow's TFLite implementation of SVDF is vulnerable to a null pointer error. The GetVariableInput function can return a null pointer, but GetTensorData assumes its argument is always a valid tensor, and GetMutableInput can also return nullptr, which can trigger a null pointer exception in the tensor->is_variable expression.
Fix: Patched in GitHub commit 5b048e87e4e55990dae6b547add4dae59f4e1c76. The fix will be included in TensorFlow 2.6.0, and the commit will also be cherrypicked to TensorFlow 2.5.1, 2.4.3, and 2.3.4.
TensorFlow's TFLite implementation of fully connected layers contains a division by zero error in affected versions. The maintainers patched it in GitHub commit 718721986aa137691ee23f03638867151f74935f.
Fix: Fix included in TensorFlow 2.6.0. The commit will also be cherry-picked to TensorFlow 2.5.1, TensorFlow 2.4.3, and TensorFlow 2.3.4.
NVD/CVE Database