All items
All tracked items across vulnerabilities, news, research, incidents, and regulatory updates.
All tracked items across vulnerabilities, news, research, incidents, and regulatory updates.
628 items
TensorFlow, 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.
TensorFlow's tf.raw_ops.SparseCountSparseOutput crashes with a segmentation fault when the dense shape argument contains a negative value. The count_ops.cc kernel assumes the first dense shape element is positive and uses it to initialize a BatchedMap<T> std::vector, so the broken invariants trigger the crash.
Fix: Ensuring that the dense_shape argument is a valid tensor shape (all elements non-negative) solves this issue. The fix will be included in TensorFlow 2.5.0, and the commit will also be cherry-picked to TensorFlow 2.4.2…
The API of `tf.raw_ops.SparseCross` in TensorFlow accepts input combinations that trigger a `CHECK`-failure, causing denial of service. The implementation is tricked into treating a `tstring` tensor that actually contains integral elements, a type confusion. The fix will ship in TensorFlow 2.5.0, with cherry-picks to 2.4.2, 2.3.3, 2.2.3 and 2.1.4.
Fix: Fixing the type confusion by preventing mixing `DT_STRING` and `DT_INT64` types. Fixed in TensorFlow 2.5.0, with the commit also cherry-picked to TensorFlow 2.4.2, 2.3.3, 2.2.3 and 2.1.4.
TensorFlow's session_ops.cc dereferences the session state pointer without checking validity. In eager mode, which is the default in TF 2.0 and later, calling the raw session ops directly makes ctx->session_state() nullptr, so the member call is undefined behavior and can trigger a null pointer dereference.
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-29517 affects TensorFlow's `Conv3D` implementation. A malicious user can trigger a division by 0 through the `filter` input, because the code performs a modulo operation on user-controlled values in `conv_ops_3d.cc`. Invalid tensor shapes can also trigger an Eigen assertion that crashes the program.
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.RaggedTensorToVariant` operation dereferences a null pointer when called with an invalid, empty ragged tensor. The implementation never checks that the ragged tensor argument is non-empty, so `batched_ragged.splits(0)` reads from `nullptr`. The flaw is tracked as CVE-2021-29516.
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-29515 affects the `MatrixDiag*` operations in TensorFlow, which do not validate that tensor arguments are non-empty. The fix will ship in TensorFlow 2.5.0 and will also be cherry-picked to TensorFlow 2.4.2, 2.3.3, 2.2.3 and 2.1.4, which are still within supported range.
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, an open source machine learning platform, is affected by CVE-2021-29554. An attacker can trigger a denial of service through a FPE runtime error in `tf.raw_ops.DenseCountSparseOutput`. The implementation computes a divisor from user-supplied `values` data without checking that it is 0 before dividing, so a zero value yields the error.
Fix: The fix will be included in TensorFlow 2.5.0. The commit will also be cherry-picked to TensorFlow 2.4.2 and TensorFlow 2.3.3, which are also affected.
CVE-2020-26270 affects TensorFlow versions running an LSTM/GRU model on the CUDA backend. When the LSTM/GRU layer receives a zero-length input, a CHECK failure occurs, which can cause a denial of service if users can control that input.
Fix: This is fixed in versions 1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2, and 2.4.0.
NVD/CVE DatabaseCVE-2020-28975 affects svm_predict_values in svm.cpp in Libsvm v324, as used in scikit-learn 0.23.2 and other products. An attacker who supplies a crafted SVM model, introduced via pickle, json, or another model persistence standard, with a large value in the _n_support array can cause a denial of service through a segmentation fault. The scikit-learn vendor states the behavior can only occur if an application violates the library's API by changing a private attribute, and the record is marked Disputed.
CVE-2020-15266 affects TensorFlow before version 2.4.0. When the `boxes` argument of `tf.image.crop_and_resize` has a very large value, the CPU kernel receives it as a C++ `nan` floating point value. Operating on this value is undefined behavior that later produces a segmentation fault.
Fix: The issue is patched in eccb7ec454e6617738554a255d77f08e60ee0808, and TensorFlow 2.4.0 will be released containing the patch. TensorFlow nightly packages after this commit also have the issue resolved.
TensorFlow Lite versions before 2.2.1 and 2.3.1 are affected by CVE-2020-15213. Models that use segment sum can trigger an out of memory allocation, causing a denial of service. The output tensor's dimensionality is taken from the last element of the segment ids tensor, so an attacker can supply a very large value to force a large allocation.
Fix: Fixed in commit 204945b19e44b57906c9344c0d00120eeeae178a, released in TensorFlow 2.2.1 and 2.3.1. A potential workaround is a custom `Verifier` that limits the maximum value in the segment ids tensor, which only covers…
CVE-2020-15206 affects TensorFlow versions before 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1. Altering the SavedModel protocol buffer and renaming required keys causes segfaults and data corruption while the model loads, which can cause a denial of service in products using tensorflow-serving or other inference-as-a-service installments.
Fix: The issue is patched in commit adf095206f25471e864a8e63a0f1caef53a0e3a6 and released in TensorFlow versions 1.15.4, 2.0.3, 2.1.2, 2.2.1, or 2.3.1.
In eager mode, TensorFlow versions before 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1 do not set the session state. Calling `tf.raw_ops.GetSessionHandle` or `tf.raw_ops.GetSessionHandleV2` therefore triggers a null pointer dereference, because `ctx->session_state()` returns `nullptr` and the code dereferences it immediately, causing a segmentation fault.
Fix: Fixed in commit 9a133d73ae4b4664d22bd1aa6d654fec13c52ee1, released in TensorFlow versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 or 2.3.1.
In TensorFlow before 2.3.1, `RaggedCountSparseOutput` does not validate that its input arguments form a valid ragged tensor, and it does not check that the `splits` tensor has the minimum required number of elements. If a user passes an empty `splits` tensor or one with exactly one element, the `BatchedMap` structure initialized from it becomes `nullptr`, and the operating system raises a `SIGABRT` signal, crashing the process.
Fix: Patched in commit 3cbb917b4714766030b28eba9fb41bb97ce9ee02 and released in TensorFlow version 2.3.1.
CVE-2020-15198 affects TensorFlow before version 2.3.1. The `SparseCountSparseOutput` implementation does not check that the `indices` and `values` tensors have matching shapes, and because both are read in parallel, a mismatch can cause accesses outside the bounds of heap-allocated buffers.
Fix: Fixed in TensorFlow version 2.3.1, patched in commit 3cbb917b4714766030b28eba9fb41bb97ce9ee02.
NVD/CVE Database