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,508 items
TensorFlow's `tf.raw_ops.SaveV2` does not properly validate its inputs, so an attacker can trigger a null pointer dereference. The `ValidateInputs` check uses `OP_REQUIRES`, which sets an error status but does not stop execution of `Compute`, so the code continues as if no validation occurred.
Fix: Patched in GitHub commit 9728c60e136912a12d99ca56e106b7cce7af5986. The fix will be included in TensorFlow 2.6.0, and the commit will be cherry-picked to TensorFlow 2.5.1, 2.4.3, and 2.3.4.
NVD/CVE DatabaseTensorFlow versions affected by CVE-2021-37664 let an attacker read outside the bounds of heap-allocated data. The flaw is triggered by specially crafted illegal arguments to `BoostedTreesSparseCalculateBestFeatureSplit`, because the implementation does not check that each value in `stats_summary_indices` is in range.
Fix: Patched in GitHub commit e84c975313e8e8e38bb2ea118196369c45c51378. The fix will be included in TensorFlow 2.6.0, and the commit will also be cherry-picked to TensorFlow 2.5.1, 2.4.3 and 2.3.4.
CVE-2021-37662 affects TensorFlow, an open source machine learning platform. In affected versions, an attacker can trigger undefined behavior through a reference binding to nullptr in `BoostedTreesCalculateBestGainsPerFeature`, and a similar issue exists in `BoostedTreesCalculateBestFeatureSplitV2`, because the implementation in `stats_ops.cc` does not validate its input values.
Fix: Fixed in GitHub commits 9c87c32c710d0b5b53dc6fd3bfde4046e1f7a5ad and 429f009d2b2c09028647dd4bb7b3f6f414bbaad7. The fix will be included in TensorFlow 2.6.0, and the commits will be cherry-picked to TensorFlow 2.5.1…
TensorFlow's `tf.raw_ops.MatrixSetDiagV*` operations bind a reference to a null pointer when the value of `k` is an empty tensor. The implementation checks that `k` is a scalar or vector but never checks its element count, so code that reads the first element of an empty tensor reads invalid memory, causing undefined behavior.
Fix: Patched in GitHub commit ff8894044dfae5568ecbf2ed514c1a37dc394f1b. The fix will be included in TensorFlow 2.6.0. The commit will also be cherry-picked to TensorFlow 2.5.1, TensorFlow 2.4.3, and TensorFlow 2.3.4.
CVE-2021-37657 affects TensorFlow versions in which all operations of type `tf.raw_ops.MatrixDiagV*` bind a reference to a null pointer. The implementation in `matrix_diag_op.cc` checks that the `k` value is a scalar or a vector but does not check its number of elements, so an empty tensor causes code that reads the first element to fail, leading to undefined behavior triggered by an attacker.
Fix: Patched in GitHub commit f2a673bd34f0d64b8e40a551ac78989d16daad09. The fix will be included in TensorFlow 2.6.0 and cherry-picked to TensorFlow 2.5.1, TensorFlow 2.4.3, and TensorFlow 2.3.4.
CVE-2021-37656 affects TensorFlow, an open source machine learning platform. In affected versions, an attacker can trigger undefined behavior by binding a reference to a null pointer in tf.raw_ops.RaggedTensorToSparse, because the implementation does not check that the splits values are in increasing order.
Fix: Patched in GitHub commit 1071f554dbd09f7e101324d366eec5f4fe5a3ece. The fix will be included in TensorFlow 2.6.0, and the commit will also be cherrypicked to TensorFlow 2.5.1, 2.4.3, and 2.3.4.
TensorFlow's `tf.raw_ops.ResourceScatterUpdate` in affected versions can be triggered with invalid arguments to read outside the bounds of heap-allocated data. The cause is incomplete validation of the `indices` and `updates` shapes: the code checks only that their element counts are divisible, not that the shape of `indices` is a prefix of the shape of `updates`.
Fix: Fixed in GitHub commit 01cff3f986259d661103412a20745928c727326f. The fix will be included in TensorFlow 2.6.0, and the commit will be cherry-picked to TensorFlow 2.5.1, 2.4.3 and 2.3.4.
CVE-2021-37654 affects TensorFlow, an open source machine learning platform. Calling `tf.raw_ops.ResourceGather` with a `batch_dims` value not less than the input tensor's rank can trigger a `CHECK`-fail crash in debug builds, or an out-of-bounds read of heap-allocated data in release builds. The implementation does not validate `batch_dims` against the tensor rank before its loops over the tensor dimensions.
Fix: Patched in GitHub commit bc9c546ce7015c57c2f15c168b3d9201de679a1d. The fix will be included in TensorFlow 2.6.0, and the commit will be cherry-picked to TensorFlow 2.5.1, 2.4.3 and 2.3.4.
TensorFlow's implementation of tf.raw_ops.FractionalAvgPoolGrad in affected versions can be made to read data outside the bounds of heap-allocated buffers. The cause is that the code does not check whether the input tensor is non-empty, so it builds an empty EigenDoubleMatrixMap and then indexes past its end.
Fix: Patched in GitHub commit 0f931751fb20f565c4e94aa6df58d54a003cdb30. The fix will be included in TensorFlow 2.6.0, and the commit will be cherry-picked to TensorFlow 2.5.1, TensorFlow 2.4.3 and TensorFlow 2.3.4.
CVE-2021-37645 affects TensorFlow's `tf.raw_ops.QuantizeAndDequantizeV4Grad` in affected versions. A negative `axis` value is implicitly converted to an unsigned integer when passed as the size argument to the `absl::InlinedVector` constructor, causing an integer overflow and memory allocation based on the resulting large value.
Fix: Patched in GitHub commit 96f364a1ca3009f98980021c4b32be5fdcca33a1. The fix will be included in TensorFlow 2.6.0, and the commit will also be cherry-picked to TensorFlow 2.5.1 and TensorFlow 2.4.3.
TensorFlow's `tf.raw_ops.TensorListReserve` does not validate the `num_elements` argument, so a negative value causes the runtime to abort the process. The flaw is in the `std::vector.resize()` call in `list_kernels.cc`, which takes a user-controlled size without a validity check.
Fix: Fixed in GitHub commit 8a6e874437670045e6c7dc6154c7412b4a2135e2, included in TensorFlow 2.6.0. The commit will also be cherry-picked to TensorFlow 2.5.1, 2.4.3 and 2.3.4.
TensorFlow's `tf.raw_ops.RaggedGather` can read outside the bounds of heap-allocated buffers when its arguments do not define a valid ragged tensor. The implementation reads the first dimension of a tensor shape before checking that the tensor has rank at least 1, and it does not check that `params_nested_splits` is non-empty.
Fix: The issue is patched in GitHub commit a2b743f6017d7b97af1fe49087ae15f0ac634373. The fix will be included in TensorFlow 2.6.0, and the commit will be cherry-picked to TensorFlow 2.5.1, 2.4.3 and 2.3.4.
CVE-2021-37635 affects TensorFlow versions where the sparse reduction operations do not validate reduction groups or indices against the input tensor bounds. This can trigger out-of-bounds accesses to heap-allocated data.
Fix: The issue is patched in GitHub commit 87158f43f05f2720a374f3e6d22a7aaa3a33f750. The fix will be included in TensorFlow 2.6.0, and the commit will be cherry-picked to TensorFlow 2.5.1, TensorFlow 2.4.3, and TensorFlow…
TensorFlow's `tf.raw_ops.UncompressElement` can be made to trigger a null pointer dereference. The implementation takes a pointer to a `CompressedElement` from a `Variant` tensor and dereferences it without checking that the tensor actually holds one, so the pointer can be `nullptr`.
Fix: Patched in GitHub commit 7bdf50bb4f5c54a4997c379092888546c97c3ebd. The fix will be included in TensorFlow 2.6.0, and the commit will also be cherry-picked to TensorFlow 2.5.1, 2.4.3 and 2.3.4.
TensorFlow's `tf.raw_ops.SparseTensorSliceDataset` implementation can dereference a null pointer when a user does not supply arguments that determine a valid sparse tensor. The argument validation does not handle the case where either `indices` or `values` is provided for an empty sparse tensor while the other is not, so an empty `indices` input causes a null pointer dereference during the monotonic-increase check.
Fix: Fixed in GitHub commit 02cc160e29d20631de3859c6653184e3f876b9d7. The fix will be included in TensorFlow 2.6.0, and the commit will also be cherrypicked to TensorFlow 2.5.1, TensorFlow 2.4.3, and TensorFlow 2.3.4.
TensorFlow's tf.raw_ops.MatrixDiagPartOp crashes or misbehaves when a user omits a valid padding value. With empty input it triggers a null pointer dereference, and otherwise it ignores all values after the first. The implementation reads the first value from a tensor buffer without checking that the tensor has values to read.
Fix: Patched in GitHub commit 482da92095c4d48f8784b1f00dda4f81c28d2988. The fix will be included in TensorFlow 2.6.0, and the commit will also be cherry-picked to TensorFlow 2.5.1, TensorFlow 2.4.3, and TensorFlow 2.3.4.
CVE-2021-37638 affects TensorFlow's `tf.raw_ops.RaggedTensorToTensor` API. Passing an invalid `row_partition_types` argument causes a null pointer dereference and undefined behavior, because the implementation reads the first element of a user-supplied list without checking that the list is non-empty.
Fix: Patched in GitHub commit 301ae88b331d37a2a16159b65b255f4f9eb39314. The fix will be included in TensorFlow 2.6.0, and the commit will be cherry-picked to TensorFlow 2.5.1, 2.4.3 and 2.3.4.
TensorFlow contains a null pointer dereference triggered by passing invalid input to `tf.raw_ops.CompressElement`. The implementation in compression_utils.cc read the size of a buffer returned by a separate function call before checking that the buffer was valid.
Fix: Patched in GitHub commit 5dc7f6981fdaf74c8c5be41f393df705841fb7c5. The fix will be included in TensorFlow 2.6.0, and the commit will also be cherry-picked onto TensorFlow 2.5.1, 2.4.3 and 2.3.4.
TensorFlow's inplace operations can be made to trigger a floating point exception through crafted arguments that cause a division by 0. The root cause is a logic error in inplace_ops.cc, where `||` is used instead of `&&`, so processing is not skipped when `x` and `v` are empty.
Fix: Patched in GitHub commit e86605c0a336c088b638da02135ea6f9f6753618. The fix will be included in TensorFlow 2.6.0, and the commit will also be cherrypicked to TensorFlow 2.5.1, TensorFlow 2.4.3, and TensorFlow 2.3.4.
CVE-2021-37653 affects TensorFlow versions before the fix. An attacker can crash a process by triggering a floating point exception in `tf.raw_ops.ResourceGather`, which divides by `batch_size` without checking that it is not 0.
Fix: Fixed in GitHub commit ac117ee8a8ea57b73d34665cdf00ef3303bc0b11, included in TensorFlow 2.6.0. The commit is also cherry-picked to TensorFlow 2.5.1, 2.4.3 and 2.3.4.
NVD/CVE Database