Advisories
Security vulnerabilities, privacy incidents, safety concerns, and policy updates affecting LLMs and AI agents.
Security vulnerabilities, privacy incidents, safety concerns, and policy updates affecting LLMs and AI agents.
1,677 items
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.
NVD/CVE DatabaseThe 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 DatabaseTensorFlow's implementation of `tf.raw_ops.SdcaOptimizer` triggers undefined behavior by dereferencing a null pointer. The implementation does not validate that user-supplied arguments satisfy all constraints the op expects, which is the root cause of CVE-2021-29572.
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 implementation of `tf.raw_ops.MaxPoolGradWithArgmax` can read outside the bounds of heap-allocated data when an attacker supplies specially crafted inputs. The draw bounding box kernel assumes the last dimension of the `boxes` input is 4, and this is not checked, so inputs with fewer than 4 values let attackers write outside heap-allocated objects and corrupt memory.
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-29570 affects TensorFlow's `tf.raw_ops.MaxPoolGradWithArgmax`. An attacker who supplies specially crafted inputs can trigger reads outside the bounds of heap-allocated data, because the implementation indexes two arrays with the same value without guaranteeing that they have identical sizes.
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 implementation of `tf.raw_ops.MaxPoolGradWithArgmax` can read outside the bounds of heap-allocated data when an attacker supplies specially crafted inputs. The flaw sits in the requantization range kernel, which assumes the `input_min` and `input_max` tensors contain at least one element and reads their first elements without checking, so empty tensors trigger the out-of-bounds access.
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-29568 affects TensorFlow. The `tf.raw_ops.ParameterizedTruncatedNormal` operation does not validate its input arguments before accessing the first element of `shape`. An attacker who supplies an empty `shape` triggers undefined behavior by binding to a null pointer.
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-29567 affects TensorFlow's `tf.raw_ops.SparseDenseCwiseMul` operation, which lacks validation. The implementation checks only the rank of its input arguments, not the constraints between their dimensions, so an attacker can trigger internal `CHECK` assertions that terminate the program or write outside the bounds of heap-allocated tensor buffers.
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-29566 affects TensorFlow. Passing invalid arguments to `tf.raw_ops.Dilation2DBackpropInput` lets an attacker write outside the bounds of heap-allocated arrays, because the implementation in `dilation_ops.cc` does not validate `h_in_max`/`w_in_max` before writing to `in_backprop`.
Fix: 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's `tf.raw_ops.SparseFillEmptyRows` contains a null pointer dereference caused by missing validation that was left as a `TODO`. When the `dense_shape` tensor is empty, the call `dense_shape_t.vec<>()` triggers the crash in the op's implementation.
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, which are affected and still within their supported range.
NVD/CVE DatabaseCVE-2021-29564 affects TensorFlow, an open source machine learning platform. Incomplete validation of input parameters in the implementation of `tf.raw_ops.EditDistance` lets an attacker trigger a null pointer dereference.
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, which are affected and still in supported range.
NVD/CVE DatabaseA denial-of-service flaw in TensorFlow lets an attacker trigger a CHECK-failure through tf.raw_ops.RFFT. Eigen code operating on an empty matrix hits an assertion, which terminates the program.
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 DatabaseCVE-2021-29562 is a denial-of-service flaw in TensorFlow, caused by a CHECK-failure in the implementation of tf.raw_ops.IRFFT. An attacker can trigger it to crash the process. The source lists TensorFlow 2.4.2, 2.3.3, 2.2.3 and 2.1.4 as also affected, in addition to the main release line.
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.
NVD/CVE DatabaseCVE-2021-29561 affects TensorFlow. An attacker can trigger a denial of service by sending a non-scalar tensor as the first argument of tf.raw_ops.LoadAndRemapMatrix, where the implementation assumes ckpt_path is always a valid scalar. The resulting rank CHECK in scalar<T>()() fails and terminates the process.
Fix: 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 DatabaseCVE-2021-29560 affects TensorFlow's `tf.raw_ops.RaggedTensorToTensor` operation. The implementation in `ragged_tensor_to_tensor_op.cc` indexes two arrays with the same index in parallel, so a user-controlled input shape can make `parent_output_index` shorter than `row_split`, triggering a heap out-of-bounds access.
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 still in supported range.
CVE-2021-29559 affects TensorFlow's `tf.raw_ops.UnicodeEncode`. The implementation assumes that the `input_value`/`input_splits` pair specifies a valid sparse tensor, so an attacker can read data outside the bounds of a heap-allocated array.
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.
NVD/CVE Database