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,481 items
CVE-2021-37673 affects TensorFlow versions where `tf.raw_ops.MapStage` fails a `CHECK` when the `key` input is not a valid non-empty tensor. An attacker can trigger this to cause a denial of service, because the implementation in map_stage_op.cc does not validate that input.
Fix: Patched in GitHub commit d7de67733925de196ec8863a33445b73f9562d1d. 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 DatabaseCVE-2021-37672 affects TensorFlow. In affected versions, an attacker can read outside the bounds of heap-allocated data by sending specially crafted illegal arguments to `tf.raw_ops.SdcaOptimizerV2`. The implementation does not check that the length of `example_labels` matches the number of examples.
Fix: Patched in GitHub commit a4e138660270e7599793fa438cd7b2fc2ce215a6. 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-37670 affects TensorFlow versions before the fix. An attacker can read outside the bounds of heap-allocated data by sending specially crafted illegal arguments to `tf.raw_ops.UpperBound`, because the implementation does not validate the rank of the `sorted_input` argument. A similar issue exists in `tf.raw_ops.LowerBound`.
Fix: Patched in GitHub commit 42459e4273c2e47a3232cc16c4f4fff3b3a35c38. 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 versions before the fix allow an attacker to cause denial of service in applications serving models that use tf.raw_ops.NonMaxSuppressionV5. A negative user-supplied output_size is implicitly converted to an unsigned size_t when resizing a std::vector, which triggers a division by 0 and a crash. The same issue appears in CombinedNonMaxSuppression.
Fix: Patched in GitHub commits 3a7362750d5c372420aa8f0caf7bf5b5c3d0f52d and b5cdbf12ffcaaffecf98f22a6be5a64bb96e4f58. The fix will be included in TensorFlow 2.6.0, and the commits will be cherry-picked to TensorFlow 2.5.1…
CVE-2021-37668 affects TensorFlow, an open source machine learning platform. An attacker can cause a denial of service in applications serving models by calling `tf.raw_ops.UnravelIndex` in a way that triggers a division by 0, because the implementation does not check that the tensor subsumed by `dims` is not empty.
Fix: Patched in GitHub commit a776040a5e7ebf76eeb7eb923bf1ae417dd4d233. The fix will be included in TensorFlow 2.6.0. The commit will also be cherrypicked to TensorFlow 2.5.1, TensorFlow 2.4.3, and TensorFlow 2.3.4.
TensorFlow's MKL implementation of requantization fails to fully validate its inputs. In `mkl_requantization_range_per_channel_op.cc`, the `input` tensor's dimensions are not checked, and `MklRequantizePerChannelOp` in `mkl_requantize_per_channel_op.cc` similarly skips full validation of its input arguments. An attacker can trigger undefined behavior by binding a reference to a null pointer, or read data outside the bounds of heap-allocated arrays.
Fix: Patched in GitHub commits 9e62869465573cb2d9b5053f1fa02a81fce21d69 and 203214568f5bc237603dbab6e1fd389f1572f5c9. The fix will be included in TensorFlow 2.6.0, and the commit will be cherry-picked to TensorFlow 2.5.1…
TensorFlow's `tf.raw_ops.QuantizeV2` performs incomplete validation, so an attacker can trigger undefined behavior by binding a reference to a null pointer, or read data outside heap-allocated arrays. The implementation does not check that `min_range` and `max_range` have the same non-zero number of elements, nor that `axis` is in range for the rank of `input` and the range lengths match the `axis` dimension.
Fix: Patched in GitHub commit 6da6620efad397c85493b8f8667b821403516708. 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.
TensorFlow's MLIR optimization of the `L2NormalizeReduceAxis` operator unconditionally dereferences an iterator to a vector without checking that the vector has elements. An attacker can exploit this by crafting a TFLite model that triggers a null pointer dereference, causing a crash and denial of service.
Fix: Patched in GitHub commit d6b57f461b39fd1aa8c1b870f1b974aac3554955. The fix will be included in TensorFlow 2.6.0, and the commit will be cherrypicked to TensorFlow 2.5.1, TensorFlow 2.4.3, and TensorFlow 2.3.4.
CVE-2021-37686 affects TensorFlow Lite's strided slice implementation, which contains a logic bug introduced with new support for ellipsis in axis definition. An attacker can craft a model where `ellipsis_end_idx` is smaller than `i`, so the inner loop never increments `i` and the `continue` statement skips the outer loop's preincrement, causing an infinite loop. TensorFlow 2.6.0 is the only affected version.
Fix: We have patched the issue in GitHub commit dfa22b348b70bb89d6d6ec0ff53973bacb4f4695.
TensorFlow's TFLite implementation of SVDF is vulnerable to a null pointer error. The GetVariableInput function can return a null pointer, but GetTensorData assumes its argument is always a valid tensor, and GetMutableInput can also return nullptr, which can trigger a null pointer exception in the tensor->is_variable expression.
Fix: Patched in GitHub commit 5b048e87e4e55990dae6b547add4dae59f4e1c76. 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 TFLite implementation of fully connected layers contains a division by zero error in affected versions. The maintainers patched it in GitHub commit 718721986aa137691ee23f03638867151f74935f.
Fix: Fix 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.
NVD/CVE DatabaseCVE-2021-37676 affects TensorFlow versions in which an attacker can trigger undefined behavior by binding a reference to a null pointer in tf.raw_ops.SparseFillEmptyRows. The shape inference implementation does not check that input arguments are not empty tensors.
Fix: Patched in GitHub commit 578e634b4f1c1c684d4b4294f9e5281b2133b3ed. The fix will be included in TensorFlow 2.6.0 and cherrypicked to TensorFlow 2.5.1, 2.4.3, and 2.3.4.
TensorFlow's convolution operators are affected by a division by zero flaw in most implementations. The shape inference code in common_shape_fns.cc lacks several validations before performing divisions and modulo operations, letting an attacker trigger a denial of service via a crash.
Fix: Patched in GitHub commit 8a793b5d7f59e37ac7f3cd0954a750a2fe76bad4. The fix will be included in TensorFlow 2.6.0 and cherrypicked to TensorFlow 2.5.1, 2.4.3, and 2.3.4.
CVE-2021-37671 affects TensorFlow versions before the fix. An attacker can trigger undefined behavior by binding a reference to a null pointer in the tf.raw_ops.Map* and tf.raw_ops.OrderedMap* operations. The check that indices is in ascending order does not verify that indices is non-empty.
Fix: Fixed in GitHub commit 532f5c5a547126c634fefd43bbad1dc6417678ac, which 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.
TensorFlow's tf.raw_ops.UnicodeEncode reads the first dimension of the input_splits tensor before checking that the tensor is not empty. An attacker can use this to cause undefined behavior by binding a reference to a null pointer, tracked as CVE-2021-37667.
Fix: Patched in GitHub commit 2e0ee46f1a47675152d3d865797a18358881d7a6. 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-37666 affects TensorFlow. An attacker can cause undefined behavior in tf.raw_ops.RaggedTensorToVariant by binding a reference to a null pointer. The flaw stems from incomplete validation of the splits values, which misses the case where the argument is empty.
Fix: The issue is patched in GitHub commit be7a4de6adfbd303ce08be4332554dff70362612. 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…
CVE-2021-37652 affects TensorFlow versions where the implementation of tf.raw_ops.BoostedTreesCreateEnsemble can cause a use after free error when an attacker supplies specially crafted arguments. A reference counted resource, once represented as a naked pointer and later refactored into a smart pointer, is freed a second time after its refcount has already reached 0, and cleanup then accesses its invalid members.
Fix: Patched in GitHub commit 5ecec9c6fbdbc6be03295685190a45e7eee726ab. 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.
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.
TensorFlow 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…