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
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.
NVD/CVE DatabaseTensorFlow'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 DatabaseCVE-2021-37640 affects TensorFlow versions before the fix. The `tf.raw_ops.SparseReshape` implementation triggers an integral division by 0 exception because the reshaping functor divides by the target shape's dimensions without checking that the input or target shape has a non-zero number of elements.
Fix: Patched in GitHub commit 4923de56ec94fff7770df259ab7f2288a74feb41. The fix will be included in TensorFlow 2.6.0, and the commit will also be cherry-picked to TensorFlow 2.5.1.
TensorFlow's `tf.raw_ops.SparseDenseCwiseDiv` contains a division by 0 error in affected versions. The implementation uses a common class for all binary operations but does not handle the division by 0 case separately.
Fix: Patched in GitHub commit d9204be9f49520cdaaeb2541d1dc5187b23f31d9. 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.
TensorFlow through 2.5.0 allows attackers to overwrite arbitrary files via a crafted archive when tf.keras.utils.get_file is used with extract=True. The vendor states that tf.keras.utils.get_file is not intended for untrusted archives, and NIST has not yet provided an assessment.
CVE-2021-29619 affects TensorFlow, an open source machine learning platform. Passing invalid arguments, such as those found through fuzzing, to `tf.raw_ops.SparseCountSparseOutput` causes a segfault. The source states that TensorFlow 2.4.2, 2.3.3, 2.2.3 and 2.1.4 are also affected and remain in supported range.
Fix: The fix will be included in TensorFlow 2.5.0. The source also says the commit will be cherrypicked onto TensorFlow 2.4.2, 2.3.3, 2.2.3 and 2.1.4.
CVE-2021-29618 affects TensorFlow, an open source machine learning platform. Passing a complex argument to `tf.transpose` together with `conjugate=True` causes a 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.
NVD/CVE DatabaseCVE-2021-29617 is a denial of service flaw in TensorFlow, an open source machine learning platform. An attacker can trigger a `CHECK`-fail in `tf.strings.substr` by supplying invalid arguments. The fix will ship in TensorFlow 2.5.0, with cherry-picked backports planned for 2.4.2, 2.3.3, 2.2.3 and 2.1.4.
Fix: The fix will be included in TensorFlow 2.5.0, with the same commit cherry-picked to TensorFlow 2.4.2, 2.3.3, 2.2.3 and 2.1.4.
NVD/CVE DatabaseThe TrySimplify implementation in TensorFlow's Grappler arithmetic optimizer dereferences a null pointer in corner cases where a node with no inputs is optimized, causing undefined behavior. The flaw is tracked as CVE-2021-29616 and affects supported TensorFlow releases.
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 DatabaseTensorFlow's `ParseAttrValue` function, in attr_value_util.cc, can be driven into a stack overflow through recursion when given a specially crafted input. The flaw is tracked as CVE-2021-29615 and affects supported TensorFlow releases.
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-29614 affects the padded version of `tf.io.decode_raw` in TensorFlow. When `fixed_length` is combined with wider datatypes, the output pointer advances by `fixed_length * sizeof(T)` bytes but only at most `fixed_length` bytes are copied from the input. This causes incorrect decoding and out-of-bounds writes that crash the Python interpreter, and the source states that more severe attacks are possible.
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.