Search
Words in any order find advisories, news and research. A package name finds its page. A CVE or GHSA identifier opens its advisory. With no words, the list holds every record.
Words in any order find advisories, news and research. A package name finds its page. A CVE or GHSA identifier opens its advisory. With no words, the list holds every record.
1,519 items
CVE-2021-29613 is an incomplete validation flaw in `tf.raw_ops.CTCLoss` in TensorFlow. It allows an attacker to trigger an out-of-bounds read from the heap, classified as CWE-125 and CWE-665. The source states that TensorFlow 2.4.2, 2.3.3, 2.2.3 and 2.1.4 are also affected and still in supported range.
Fix: The fix will be included in TensorFlow 2.5.0. Commits are also being cherry-picked to TensorFlow 2.4.2, 2.3.3, 2.2.3 and 2.1.4.
NVD/CVE DatabaseTensorFlow's Eigen implementation of `tf.raw_ops.BandedTriangularSolve` allows an attacker to trigger a heap buffer overflow. The op's `ValidateInputTensors` check does not verify that the two input tensors are non-empty, and the op does not check `ctx->status()` after calling helpers that use `OP_REQUIRES`, so the validation that exists is ineffective.
Fix: 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 `SparseReshape` operation has incomplete input validation. It does not check that its arguments describe a valid sparse tensor, so malformed input triggers a `CHECK` failure that causes a denial of service. The affected versions are TensorFlow 2.4.2 and 2.3.3, along with earlier releases prior to the fix.
Fix: The fix will be included in TensorFlow 2.5.0. The commit will also be cherry-picked to TensorFlow 2.4.2 and TensorFlow 2.3.3.
TensorFlow's `tf.raw_ops.QuantizeAndDequantizeV2` accepts invalid `axis` values because its validation uses `||` to combine two conditions. When `axis_ < -1`, the `OP_REQUIRES` check still passes, and this value causes a heap underflow. Attackers can use it to read and write other data on the heap.
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 also affected and still in supported range.
CVE-2021-29609 affects the `SparseAdd` operation in TensorFlow, an open source machine learning platform. Its validation does not check that the two sparse tensor inputs are non-empty or that the second dimension of `*_indices` matches the size of the corresponding `*_shape`, so attackers can send invalid tensor triples. This lets them trigger undefined behavior through null pointer dereferences and write outside the bounds of heap-allocated data.
Fix: 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.
CVE-2021-29608 affects TensorFlow's `tf.raw_ops.RaggedTensorToTensor`. Input validation is missing, so empty arguments trigger undefined behavior; the check in `ragged_tensor_to_tensor_op.cc` covers only one tensor, and the `DCHECK` guards that would block heap out-of-bounds access are compiled out of release builds.
Fix: The fix will be included in TensorFlow 2.5.0. The commits will also be cherry-picked to TensorFlow 2.4.2, 2.3.3, 2.2.3 and 2.1.4.
CVE-2021-29607 affects TensorFlow's `SparseAdd` implementation in `tensorflow/core/kernels/sparse_sparse_binary_op_shared.cc`. Incomplete validation of the two sparse tensor inputs allows attackers to send invalid tensor triples, leading to null pointer dereference and out-of-bounds heap writes.
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 TFLite implementation of `Split_V` contains an out-of-bounds heap read. A specially crafted TFLite model can trigger it when `axis_value` falls outside the range between 0 and `NumDimensions(input)`, because `SizeOfDimension` then reads past the bounds of the tensor shape array. The fix lands in TensorFlow 2.5.0, with cherry-picks to TensorFlow 2.4.2, 2.3.3, 2.2.3 and 2.1.4, which the source identifies as affected and still in supported range.
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.
TensorFlow's TFLite code that allocates `TFLiteIntArray`s has an integer overflow. An attacker can craft a model with a `size` multiplier so large that the result overflows `int` and becomes negative, passing an invalid value to `malloc` and causing `ret->size` to dereference an invalid pointer.
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 TFLite implementation of hashtable lookup contains a division by zero error in hashtable_lookup.cc. An attacker can craft a model whose `values` tensor 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 cherrypicked to TensorFlow 2.4.2, 2.3.3, 2.2.3 and 2.1.4.
NVD/CVE DatabaseTensorFlow, 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.
CVE-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.