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
A null pointer dereference in `tf.raw_ops.StringNGrams` in TensorFlow lets an attacker trigger a crash. The implementation does not fully validate the `data_splits` argument, so `ngrams_data` becomes a null pointer when the computed output has zero or negative size, and later writes to the output tensor dereference it.
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-29540 is a heap buffer overflow in TensorFlow's `Conv2DBackpropFilter` operation. The implementation computes the size of the filter tensor but does not check that it matches the number of elements in `filter_sizes`, so later reads and writes use the computed value instead of the actual element count, letting an attacker trigger the overflow.
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.
A segfault occurs when calling `tf.raw_ops.ImmutableConst` with a `dtype` of `tf.resource` or `tf.variant`, because the implementation assumes the tensor contents are pure scalars. The issue is patched in commit 4f663d4b8f0bec1b48da6fa091a7d29609980fa4 and will ship in TensorFlow 2.5.0, and nightly packages built after that commit include the fix.
Fix: Patched in commit 4f663d4b8f0bec1b48da6fa091a7d29609980fa4; fixed in TensorFlow 2.5.0 and in TensorFlow nightly packages after this commit.
CVE-2021-29538 affects TensorFlow's `Conv2DBackpropFilter` operation. When all tensor shapes passed in are empty, `work_unit_size` becomes 0, and the code divides by it without checking first. An attacker who controls the input shapes can trigger a runtime exception, enabling denial of service.
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-29537 affects TensorFlow's `QuantizedResizeBilinear` operation, which causes a heap buffer overflow when an attacker passes invalid quantization thresholds. The implementation assumes both arguments are always valid scalars and reads their numeric values directly, so malformed input reaches memory it should not.
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 within the supported…
CVE-2021-29536 is a heap buffer overflow in TensorFlow's `QuantizedReshape` operation. The implementation assumes its two arguments are always valid scalars and reads their numeric value directly, so passing an empty tensor as a quantization threshold makes `.flat<T>()` an empty buffer and accessing element 0 overflows it.
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 supported range.
CVE-2021-29535 is a heap buffer overflow in TensorFlow's `QuantizedMul` operation. An attacker who passes an empty tensor as one of the four quantization threshold arguments triggers the overflow, because the implementation assumes these arguments are always valid scalars and reads element 0 directly from an empty `.flat<T>()` buffer.
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.
TensorFlow's tf.raw_ops.SparseConcat lets an attacker trigger a denial of service through a CHECK failure. The implementation takes the values in shapes[0] as output dimensions, and the legacy TensorShape constructor aborts when InitDims returns a non-OK status, which happens on overflow.
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-29533 affects TensorFlow. Passing an empty image to tf.raw_ops.DrawBoundingBoxes triggers a CHECK failure, because the implementation uses CHECK_* assertions instead of OP_REQUIRES to validate user-controlled inputs. An attacker can crash the process and cause a denial of service, since a zero height in the images input makes max_box_row_clamp negative and aborts execution.
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-29532 affects TensorFlow. Passing invalid tensor values to `tf.raw_ops.RaggedCross` makes the kernel read outside the bounds of heap-allocated arrays, because the implementation in `ragged_cross_op.cc` does not validate the user-supplied arguments before indexing with the `next_*` values. The result is heap out-of-bounds reads.
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 also affected and still in the supported range.
CVE-2021-29531 affects TensorFlow's PNG encoding. An attacker can send an empty input tensor as pixel data, which passes the existing overflow check and leaves the buffer as nullptr, triggering a CHECK_NOTNULL failure in png::WriteImageToBuffer that calls abort. The result is a denial of service.
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 is affected by CVE-2021-29530, a null pointer dereference that an attacker can trigger by supplying an invalid `permutation` to `tf.raw_ops.SparseMatrixSparseCholesky`. The implementation fails to validate its input arguments properly: because the `OP_REQUIRES` macro only exits the current function, the caller of `ValidateInputs` keeps executing after a failed check.
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.
CVE-2021-29529 affects TensorFlow's `tf.raw_ops.QuantizedResizeBilinear`. An attacker who manipulates input values so that float rounding produces an off-by-one error can trigger a heap buffer overflow. The flaw arises because the implementation computes interpolation bounds by ceiling and flooring a floating point value, so `interpolation->lower[i]` can point outside the image when `interpolation->upper[i]` is capped at `in_size-1`.
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-29528 affects TensorFlow. An attacker can trigger a division by 0 in `tf.raw_ops.QuantizedMul`, because the implementation divides by a quantity that the caller controls. 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: 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-29527 affects TensorFlow, an open source machine learning platform. An attacker can trigger a division by 0 in `tf.raw_ops.QuantizedConv2D`, because the implementation divides by a quantity that the caller controls.
Fix: Fixed in TensorFlow 2.5.0. The fix is also cherrypicked to TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4.
NVD/CVE DatabaseTensorFlow, an open source machine learning platform, has a flaw in `tf.raw_ops.Conv2D` that lets an attacker trigger a division by 0. The implementation divides by a quantity the caller controls, which causes the crash.
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 DatabaseCVE-2021-29525 affects TensorFlow. An attacker can trigger a division by 0 in `tf.raw_ops.Conv2DBackpropInput`, because the implementation divides by a quantity controlled by the caller. The source says the fix will be included in TensorFlow 2.5.0 and will be cherry-picked to TensorFlow 2.4.2, 2.3.3, 2.2.3 and 2.1.4.
Fix: 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, an open source machine learning platform, contains a flaw in `tf.raw_ops.Conv2DBackpropFilter` that lets an attacker trigger a division by 0. The implementation performs a modulus operation whose divisor the caller controls.
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 DatabaseTensorFlow contains a denial-of-service flaw in tf.raw_ops.AddManySparseToTensorsMap. Values in sparse_shape are used as output shape dimensions, and the legacy TensorShape constructor hits a CHECK failure when InitDims returns a non-OK status, which an attacker can trigger.
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. Affected code should use BuildTensorShapeBase or AddDimWithStatus instead of the legacy…
CVE-2021-29522 affects the `tf.raw_ops.Conv3DBackprop*` operations in TensorFlow. These operations do not check that input tensors are non-empty, so the shard size computation can divide by zero. An attacker who controls the input sizes can trigger a denial of service.
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.