All items
All tracked items across vulnerabilities, news, research, incidents, and regulatory updates.
All tracked items across vulnerabilities, news, research, incidents, and regulatory updates.
1,509 items
TensorFlow, an open source machine learning platform, has an out-of-bounds heap write in the TFLite implementation of `ArgMin`/`ArgMax`. A specially crafted TFLite model can trigger it when `axis_value` falls outside the range between 0 and `NumDimensions(input)`, because the guarding `if` never evaluates true and code writes past the last valid element of `output_dims->data`.
Fix: The fix will be included in TensorFlow 2.5.0. The commit will also be cherry-picked to TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4, which are also affected and still in supported range.
NVD/CVE DatabaseCVE-2021-29602 affects TensorFlow's implementation of the `DepthwiseConv` TFLite operator, which is vulnerable to a division by zero error. An attacker can craft a model in which `input`'s fourth dimension is 0, triggering the flaw.
Fix: The fix will be included in TensorFlow 2.5.0. The commit will also be cherrypicked to TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4.
NVD/CVE DatabaseTensorFlow's TFLite implementation of concatenation contains an integer overflow in concatenation.cc. An attacker can craft a model whose concatenation input dimensions overflow the `int` type, since TFLite stores tensor dimensions as `int` while TensorFlow uses `int64`. Valid TensorFlow models can therefore trigger the overflow when converted to TFLite format.
Fix: The fix will be included in TensorFlow 2.5.0. The commit will also be cherrypicked to TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4.
TensorFlow's implementation of the TFLite `OneHot` operator contains a division by zero error in one_hot.cc. An attacker can craft a model in which at least one dimension of `indices` is 0, which sets `prefix_dim_size` to 0 and triggers the flaw.
Fix: The fix will be included in TensorFlow 2.5.0. The commit will also be cherrypicked onto TensorFlow 2.4.2, 2.3.3, 2.2.3 and 2.1.4, which are affected and still in supported range.
NVD/CVE DatabaseTensorFlow's implementation of the `Split` TFLite operator contains a division by zero error at split.cc lines 63-65. An attacker can craft a model in which `num_splits` is 0, triggering the flaw.
Fix: The fix will be included in TensorFlow 2.5.0. The commit will also be cherrypicked to TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4, which are also affected and still in supported range.
NVD/CVE DatabaseTensorFlow's `SVDF` TFLite operator contains a division by zero error. An attacker can craft a model so that `params->rank` is 0, triggering the flaw.
Fix: The fix will be included in TensorFlow 2.5.0. The commit will also be cherrypicked to TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4.
NVD/CVE DatabaseThe `SpaceToBatchNd` operator in TensorFlow's TFLite implementation contains a division by zero error. An attacker can craft a model in which one dimension of the `block` input is 0, making the corresponding value in `block_shape` 0 as well.
Fix: The fix will be included in TensorFlow 2.5.0. The commit will also be cherrypicked to TensorFlow 2.4.2, 2.3.3, 2.2.3 and 2.1.4, which are affected and still in supported range.
NVD/CVE DatabaseThe `EmbeddingLookup` TFLite operator in TensorFlow contains a division by zero error at embedding_lookup.cc lines 73-74. An attacker can craft a model whose `value` input has a first dimension of 0 to trigger it.
Fix: The fix will be included in TensorFlow 2.5.0. The commit will also be cherry-picked to TensorFlow 2.4.2, 2.3.3, 2.2.3 and 2.1.4, which are affected and still in supported range.
NVD/CVE DatabaseCVE-2021-29595 affects the `DepthToSpace` TFLite operator in TensorFlow, which contains a division by zero error in its implementation. An attacker can craft a model in which `params->block_size` is 0 to trigger the flaw.
Fix: The fix will be included in TensorFlow 2.5.0. The commit will also be cherrypicked to TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4.
NVD/CVE DatabaseTensorFlow's TFLite convolution code in conv.cc contains multiple division operations whose divisor is user-controlled and not checked to be non-zero. The fix will be included in TensorFlow 2.5.0, and the commit will also be cherry-picked to TensorFlow 2.4.2, 2.3.3, 2.2.3 and 2.1.4, which are affected and still supported.
Fix: Fixed in TensorFlow 2.5.0. The commit will also be cherry-picked to TensorFlow 2.4.2, 2.3.3, 2.2.3 and 2.1.4.
The `BatchToSpaceNd` TFLite operator in TensorFlow contains a division by zero error at lines 81-82 of batch_to_space_nd.cc. An attacker can craft a model in which one dimension of the `block` input is 0, so the corresponding value in `block_shape` is also 0.
Fix: The fix will be included in TensorFlow 2.5.0. The commit will also be cherrypicked to TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4.
NVD/CVE DatabaseThe fix for CVE-2020-15209 in TensorFlow missed the case where the target shape of the Reshape operator comes from the elements of a 1-D tensor. As a result, the fix allowed passing a null-buffer-backed tensor with a 1D shape.
Fix: Fixed in TensorFlow 2.5.0. The commit will also be cherrypicked to TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4.
NVD/CVE DatabaseTensorFlow's TFlite runtime does not check that graphs are free of loops between nodes. An attacker can craft a model that causes an infinite loop during evaluation, which can become a stack overflow through too many recursive calls. The `While` implementation can be tricked into a case where the body and loop subgraphs are the same, so evaluating one calls `Eval` on the other until stack space is exhausted.
Fix: The fix will be included in TensorFlow 2.5.0. The commit will also be cherry-picked to TensorFlow 2.4.2, 2.3.3, 2.2.3 and 2.1.4.
CVE-2021-29590 affects the `Minimum` and `Maximum` operators in TensorFlow's TFLite runtime. When either input tensor argument is empty, the broadcasting implementation indexes both tensors with the same index without checking bounds, so the operators can read data outside heap-allocated objects.
Fix: The fix will be included in TensorFlow 2.5.0. The commit will also be cherry-picked to TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4.
The reference implementation of the `GatherNd` TFLite operator in TensorFlow has a division by zero error. An attacker can craft a model whose `params` input is an empty tensor, making `params_shape.Dims(.)` zero in at least one dimension.
Fix: The fix will be included in TensorFlow 2.5.0. The commit will also be cherry-picked to TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4.
NVD/CVE DatabaseThe optimized implementation of the TFLite `TransposeConv` operator in TensorFlow is vulnerable to a division by zero error. An attacker can craft a model with `stride_{h,w}` values of 0 to trigger it, so calling code must validate these arguments.
Fix: The fix will be included in TensorFlow 2.5.0. The commit will also be cherrypicked to TensorFlow 2.4.2, 2.3.3, 2.2.3 and 2.1.4, which are also affected and still in supported range.
TensorFlow's optimized pooling implementations in TFLite do not check that stride arguments are non-zero before calling `ComputePaddingHeightWidth`. Users can craft models with `params->stride_{height,width}` set to zero, causing a division by zero.
Fix: The fix will be included in TensorFlow 2.5.0. The commit will also be cherry-picked to TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4.
NVD/CVE DatabaseTensorFlow's TFLite `ComputeOutSize` function in padding.h divides by the `stride` argument without first checking that it is not 0. Users can craft special models that cause `ComputeOutSize` to be called with `stride` set to 0.
Fix: The fix will be included in TensorFlow 2.5.0. The commit will also be cherry-picked to TensorFlow 2.4.2, 2.3.3, 2.2.3 and 2.1.4, which are affected and still in supported range.
NVD/CVE DatabaseCVE-2021-29584 is a denial-of-service flaw in TensorFlow caused by an integer overflow when building a new tensor shape in sparse_split_op.cc. The TensorShape constructor uses a CHECK operation that fails when InitDims returns a non-OK status, so an attacker can crash the process.
Fix: The fix will be included in TensorFlow 2.5.0. The same commit will be cherry-picked to TensorFlow 2.4.2, 2.3.3, 2.2.3 and 2.1.4. Operations should use BuildTensorShapeBase or AddDimWithStatus instead of the legacy…
TensorFlow's implementation of `tf.raw_ops.FusedBatchNorm` contains a heap buffer overflow. It fails to check that `scale`, `offset`, `mean` and `variance` match the channel count of `x`, so indexing past buffer boundaries causes heap out-of-bounds reads, and empty tensors can trigger undefined behavior through null pointer dereferences.
Fix: The fix will be included in TensorFlow 2.5.0. The commit will also be cherry-picked to TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4.