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.
3,729 items
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.
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 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 DatabaseA heap buffer overflow in tf.raw_ops.SparseSplit in TensorFlow lets an attacker read or write past a heap buffer. The flaw is that the implementation in sparse_tensor.h indexes an array using an offset the user controls. TensorFlow 2.5.0, along with TensorFlow 2.4.2, 2.3.3, 2.2.3 and 2.1.4, are affected.
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-29557 affects TensorFlow, an open source machine learning platform. An attacker can trigger a denial of service through a floating-point exception in `tf.raw_ops.SparseMatMul`, caused by a division by zero in Eigen code when the `b` tensor is empty.
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-29556 affects TensorFlow, an open source machine learning platform. An attacker can trigger a denial of service through an FPE runtime error in `tf.raw_ops.Reverse`, because the implementation divides by the first dimension of the tensor argument.
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-29555 affects TensorFlow's `tf.raw_ops.FusedBatchNorm`. An attacker can trigger a denial of service through a FPE runtime error, because the implementation divides based on the last dimension of the `x` tensor, which the user controls.
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 DatabaseCVE-2021-29553 affects TensorFlow. The `tf.raw_ops.QuantizeAndDequantizeV3` operation does not validate the user-supplied `axis` attribute before using it to index the array backing the `input` argument. An attacker can therefore read data outside the bounds of a heap-allocated buffer.
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 also affected and still in supported range.
TensorFlow's UnsortedSegmentJoin operator assumes its num_segments tensor argument is a valid scalar. An attacker who controls that argument can pass an empty tensor, which invalidates a CHECK in .scalar<T>()() and terminates the process, causing a 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.
NVD/CVE DatabaseThe `MatrixTriangularSolve` implementation in TensorFlow does not stop kernel execution when one validation condition fails. The fix ships 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 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 tf.raw_ops.FractionalAvgPool can be made to divide by zero at runtime. An attacker who controls input_size and pooling_ratio can make the computed output_size zero, because the DCHECK_GT guard is a no-op in released builds. The resulting modulo-by-zero in GeneratePoolingSequence crashes the process, causing 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.