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
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.
CVE-2021-29582 affects TensorFlow's `tf.raw_ops.Dequantize` operation. The implementation reads the `min_range` and `max_range` tensors in parallel without checking that they share the same shape, which lets an attacker trigger an out-of-bounds read of heap-allocated data.
Fix: 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.
NVD/CVE DatabaseCVE-2021-29581 affects TensorFlow's `tf.raw_ops.CTCBeamSearchDecoder`, which lacks input validation. The implementation fails to detect an empty input tensor and reads from a null buffer, so an attacker can trigger a denial of service through segmentation faults.
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 implementation of tf.raw_ops.FractionalMaxPoolGrad in TensorFlow triggers undefined behavior when one of its input tensors is empty. The code also fails to validate that input and output tensors are not empty and are of the same rank, and a CHECK condition that becomes false aborts the process, enabling a denial of service attack.
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-29579 affects the implementation of `tf.raw_ops.MaxPoolGrad` in TensorFlow, which is vulnerable to a heap buffer overflow. The code at `tensorflow/core/kernels/maxpooling_op.cc` does not validate the indices used to access the input and output arrays, so accesses to `out_backprop_flat` can read or write out of bounds, while accesses to `input_backprop_flat` are guarded by `FastBoundsCheck`.
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.
The implementation of `tf.raw_ops.FractionalAvgPoolGrad` in TensorFlow contains a heap buffer overflow. The kernel in `fractional_avg_pool_op.cc` does not check that the pooling sequence arguments have enough elements for the shape of the `out_backprop` tensor.
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.
The implementation of `tf.raw_ops.AvgPool3DGrad` in TensorFlow contains a heap buffer overflow. It assumes that the `orig_input_shape` and `grad` tensors share the same first and last dimensions, but never checks that this assumption holds.
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.
TensorFlow's implementation of `tf.raw_ops.MaxPool3DGradGrad` contains a heap buffer overflow. The code does not check that initializing `Pool3dParameters` completes successfully, so when the constructor's `OP_REQUIRES` validation fails, `params` is left holding invalid data, which may cause the overflow depending on default-initialized values.
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.
TensorFlow's implementation of `tf.raw_ops.ReverseSequence` does not validate the `seq_dim` and `batch_dim` arguments. Negative `seq_dim` values, and similarly invalid `batch_dim` values, can cause a stack overflow or a `CHECK`-failure, depending on the Eigen code version used, leading to denial of service.
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.
CVE-2021-29574 affects TensorFlow. The implementation of `tf.raw_ops.MaxPool3DGradGrad` dereferences null pointers backing attacker-supplied empty tensors, because it does not check that its 3 tensor inputs are non-empty. The fix will be included in TensorFlow 2.5.0, with cherry-picks planned for TensorFlow 2.4.2, 2.3.3, 2.2.3 and 2.1.4.
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 implementation of `tf.raw_ops.MaxPoolGradWithArgmax` divides by a batch dimension without first checking that it is non-zero, causing a division by 0. The flaw is in maxpooling_op.cc and affects several supported TensorFlow releases.
Fix: Fixed in TensorFlow 2.5.0. The fix will also be cherry-picked to TensorFlow 2.4.2, 2.3.3, 2.2.3 and 2.1.4.
NVD/CVE Database