p PatchFirst

PatchFirst · Свежие уязвимости

Уязвимости tensorflow-cpu · Страница 15

За последние 30 дней в tensorflow-cpu опубликовано уязвимостей: 0; в каталоге KEV: 0.

Фильтры уязвимостей
Сбросить фильтры

Уязвимостей: 430

  1. CVE-2021-29513

    Низкий · CVSS 2.5EPSS 0,2%Есть исправление

    Type confusion during tensor casts lead to dereferencing null pointers

    TensorFlow is an end-to-end open source platform for machine learning. Calling TF operations with tensors of non-numeric types when the operations expect numeric tensors result in null pointer dereferences. The conversion from Python array to C++ array(https://github.com/tensorflow/tensorflow/blob/ff70c47a396ef1e3cb73c90513da4f5cb71bebba/tensorflow/python/lib/core/ndarray_tensor.cc#L113-L169) is vulnerable to a type confusion. The fix will be included in TensorFlow 2.5.0. We will also cherrypick this commit on TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4, as these are also affected and still in supported range.

    • Обновитесь до 2.1.4
    • Обновитесь до 2.2.0rc0
    • Обновитесь до 2.2.3
    • Обновитесь до 2.3.0rc0
    • Обновитесь до 2.3.3
    • Обновитесь до 2.3.4
    • Обновитесь до 2.4.2
    • Обновитесь до 2.4.3
  2. CVE-2021-29514

    Низкий · CVSS 2.5EPSS 0,21%Есть исправление

    Heap out of bounds write in `RaggedBinCount`

    TensorFlow is an end-to-end open source platform for machine learning. If the `splits` argument of `RaggedBincount` does not specify a valid `SparseTensor`(https://www.tensorflow.org/api_docs/python/tf/sparse/SparseTensor), then an attacker can trigger a heap buffer overflow. This will cause a read from outside the bounds of the `splits` tensor buffer in the implementation of the `RaggedBincount` op(https://github.com/tensorflow/tensorflow/blob/8b677d79167799f71c42fd3fa074476e0295413a/tensorflow/core/kernels/bincount_op.cc#L430-L446). Before the `for` loop, `batch_idx` is set to 0. The attacker sets `splits(0)` to be 7, hence the `while` loop

    • Обновитесь до 2.2.0rc0
    • Обновитесь до 2.3.0rc0
    • Обновитесь до 2.3.3
    • Обновитесь до 2.3.4
    • Обновитесь до 2.4.2
    • Обновитесь до 2.4.3
  3. CVE-2021-29515

    Низкий · CVSS 2.5EPSS 0,2%Есть исправление

    Reference binding to null pointer in `MatrixDiag*` ops

    TensorFlow is an end-to-end open source platform for machine learning. The implementation of `MatrixDiag*` operations(https://github.com/tensorflow/tensorflow/blob/4c4f420e68f1cfaf8f4b6e8e3eb857e9e4c3ff33/tensorflow/core/kernels/linalg/matrix_diag_op.cc#L195-L197) does not validate that the tensor arguments are non-empty. The fix will be included in TensorFlow 2.5.0. We will also cherrypick this commit on TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4, as these are also affected and still in supported range.

    • Обновитесь до 2.1.4
    • Обновитесь до 2.2.3
    • Обновитесь до 2.3.3
    • Обновитесь до 2.4.2
  4. CVE-2021-29516

    Низкий · CVSS 2.5EPSS 0,2%Есть исправление

    Null pointer dereference via invalid Ragged Tensors

    TensorFlow is an end-to-end open source platform for machine learning. Calling `tf.raw_ops.RaggedTensorToVariant` with arguments specifying an invalid ragged tensor results in a null pointer dereference. The implementation of `RaggedTensorToVariant` operations(https://github.com/tensorflow/tensorflow/blob/904b3926ed1c6c70380d5313d282d248a776baa1/tensorflow/core/kernels/ragged_tensor_to_variant_op.cc#L39-L40) does not validate that the ragged tensor argument is non-empty. Since `batched_ragged` contains no elements, `batched_ragged.splits` is a null vector, thus `batched_ragged.splits(0)` will result in dereferencing `nullptr`. The fix will be

    • Обновитесь до 2.1.4
    • Обновитесь до 2.2.3
    • Обновитесь до 2.3.3
    • Обновитесь до 2.4.2
  5. CVE-2021-29517

    Низкий · CVSS 2.5EPSS 0,19%Есть исправление

    Division by zero in `Conv3D`

    TensorFlow is an end-to-end open source platform for machine learning. A malicious user could trigger a division by 0 in `Conv3D` implementation. The implementation(https://github.com/tensorflow/tensorflow/blob/42033603003965bffac51ae171b51801565e002d/tensorflow/core/kernels/conv_ops_3d.cc#L143-L145) does a modulo operation based on user controlled input. Thus, when `filter` has a 0 as the fifth element, this results in a division by 0. Additionally, if the shape of the two tensors is not valid, an Eigen assertion can be triggered, resulting in a program crash. The fix will be included in TensorFlow 2.5.0. We will also cherrypick this commit

    • Обновитесь до 2.1.4
    • Обновитесь до 2.2.3
    • Обновитесь до 2.3.3
    • Обновитесь до 2.4.2
  6. CVE-2021-29518

    Низкий · CVSS 2.5EPSS 0,2%Есть исправление

    Session operations in eager mode lead to null pointer dereferences

    TensorFlow is an end-to-end open source platform for machine learning. In eager mode (default in TF 2.0 and later), session operations are invalid. However, users could still call the raw ops associated with them and trigger a null pointer dereference. The implementation(https://github.com/tensorflow/tensorflow/blob/eebb96c2830d48597d055d247c0e9aebaea94cd5/tensorflow/core/kernels/session_ops.cc#L104) dereferences the session state pointer without checking if it is valid. Thus, in eager mode, `ctx->session_state()` is nullptr and the call of the member function is undefined behavior. The fix will be included in TensorFlow 2.5.0. We will also c

    • Обновитесь до 2.1.4
    • Обновитесь до 2.2.3
    • Обновитесь до 2.3.3
    • Обновитесь до 2.4.2
  7. CVE-2021-29519

    Низкий · CVSS 2.5EPSS 0,19%Есть исправление

    CHECK-fail in SparseCross due to type confusion

    TensorFlow is an end-to-end open source platform for machine learning. The API of `tf.raw_ops.SparseCross` allows combinations which would result in a `CHECK`-failure and denial of service. This is because the implementation(https://github.com/tensorflow/tensorflow/blob/3d782b7d47b1bf2ed32bd4a246d6d6cadc4c903d/tensorflow/core/kernels/sparse_cross_op.cc#L114-L116) is tricked to consider a tensor of type `tstring` which in fact contains integral elements. Fixing the type confusion by preventing mixing `DT_STRING` and `DT_INT64` types solves this issue. The fix will be included in TensorFlow 2.5.0. We will also cherrypick this commit on TensorFl

    • Обновитесь до 2.1.4
    • Обновитесь до 2.2.3
    • Обновитесь до 2.3.3
    • Обновитесь до 2.4.2
  8. CVE-2021-29520

    Низкий · CVSS 2.5EPSS 0,22%Есть исправление

    Heap buffer overflow in `Conv3DBackprop*`

    TensorFlow is an end-to-end open source platform for machine learning. Missing validation between arguments to `tf.raw_ops.Conv3DBackprop*` operations can result in heap buffer overflows. This is because the implementation(https://github.com/tensorflow/tensorflow/blob/4814fafb0ca6b5ab58a09411523b2193fed23fed/tensorflow/core/kernels/conv_grad_shape_utils.cc#L94-L153) assumes that the `input`, `filter_sizes` and `out_backprop` tensors have the same shape, as they are accessed in parallel. The fix will be included in TensorFlow 2.5.0. We will also cherrypick this commit on TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4

    • Обновитесь до 2.1.4
    • Обновитесь до 2.2.3
    • Обновитесь до 2.3.3
    • Обновитесь до 2.4.2
  9. CVE-2021-29521

    Низкий · CVSS 2.5EPSS 0,19%Есть исправление

    Segfault in SparseCountSparseOutput

    TensorFlow is an end-to-end open source platform for machine learning. Specifying a negative dense shape in `tf.raw_ops.SparseCountSparseOutput` results in a segmentation fault being thrown out from the standard library as `std::vector` invariants are broken. This is because the implementation(https://github.com/tensorflow/tensorflow/blob/8f7b60ee8c0206a2c99802e3a4d1bb55d2bc0624/tensorflow/core/kernels/count_ops.cc#L199-L213) assumes the first element of the dense shape is always positive and uses it to initialize a `BatchedMap<T>` (i.e., `std::vector<absl::flat_hash_map<int64,T>>`(https://github.com/tensorflow/tensorflow/blob/8f7b60ee8c0206a

    • Обновитесь до 2.3.3
    • Обновитесь до 2.4.2
  10. CVE-2021-29522

    Низкий · CVSS 2.5EPSS 0,19%Есть исправление

    Division by 0 in `Conv3DBackprop*`

    TensorFlow is an end-to-end open source platform for machine learning. The `tf.raw_ops.Conv3DBackprop*` operations fail to validate that the input tensors are not empty. In turn, this would result in a division by 0. This is because the implementation(https://github.com/tensorflow/tensorflow/blob/a91bb59769f19146d5a0c20060244378e878f140/tensorflow/core/kernels/conv_grad_ops_3d.cc#L430-L450) does not check that the divisor used in computing the shard size is not zero. Thus, if attacker controls the input sizes, they can trigger a denial of service via a division by zero error. The fix will be included in TensorFlow 2.5.0. We will also cherrypi

    • Обновитесь до 2.1.4
    • Обновитесь до 2.2.3
    • Обновитесь до 2.3.3
    • Обновитесь до 2.4.2
  11. CVE-2021-29523

    Низкий · CVSS 2.5EPSS 0,19%Есть исправление

    CHECK-fail in AddManySparseToTensorsMap

    TensorFlow is an end-to-end open source platform for machine learning. An attacker can trigger a denial of service via a `CHECK`-fail in `tf.raw_ops.AddManySparseToTensorsMap`. This is because the implementation(https://github.com/tensorflow/tensorflow/blob/6f9896890c4c703ae0a0845394086e2e1e523299/tensorflow/core/kernels/sparse_tensors_map_ops.cc#L257) takes the values specified in `sparse_shape` as dimensions for the output shape. The `TensorShape` constructor(https://github.com/tensorflow/tensorflow/blob/6f9896890c4c703ae0a0845394086e2e1e523299/tensorflow/core/framework/tensor_shape.cc#L183-L188) uses a `CHECK` operation which triggers when

    • Обновитесь до 2.1.4
    • Обновитесь до 2.2.3
    • Обновитесь до 2.3.3
    • Обновитесь до 2.4.2
  12. CVE-2021-29524

    Низкий · CVSS 2.5EPSS 0,19%Есть исправление

    Division by 0 in `Conv2DBackpropFilter`

    TensorFlow is an end-to-end open source platform for machine learning. An attacker can trigger a division by 0 in `tf.raw_ops.Conv2DBackpropFilter`. This is because the implementation(https://github.com/tensorflow/tensorflow/blob/496c2630e51c1a478f095b084329acedb253db6b/tensorflow/core/kernels/conv_grad_shape_utils.cc#L130) does a modulus operation where the divisor is controlled by the caller. The fix will be included in TensorFlow 2.5.0. We will also cherrypick this commit on TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4, as these are also affected and still in supported range.

    • Обновитесь до 2.1.4
    • Обновитесь до 2.2.3
    • Обновитесь до 2.3.3
    • Обновитесь до 2.4.2
  13. CVE-2021-29585

    Низкий · CVSS 2.5EPSS 0,2%Есть исправление

    Division by zero in padding computation in TFLite

    TensorFlow is an end-to-end open source platform for machine learning. The TFLite computation for size of output after padding, `ComputeOutSize`(https://github.com/tensorflow/tensorflow/blob/0c9692ae7b1671c983569e5d3de5565843d500cf/tensorflow/lite/kernels/padding.h#L43-L55), does not check that the `stride` argument is not 0 before doing the division. Users can craft special models such that `ComputeOutSize` is called with `stride` set to 0. The fix will be included in TensorFlow 2.5.0. We will also cherrypick this commit on TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4, as these are also affected and still in supp

    • Обновитесь до 2.1.4
    • Обновитесь до 2.2.0rc0
    • Обновитесь до 2.2.3
    • Обновитесь до 2.3.0rc0
    • Обновитесь до 2.3.3
    • Обновитесь до 2.3.4
    • Обновитесь до 2.4.2
    • Обновитесь до 2.4.3
  14. CVE-2021-29586

    Низкий · CVSS 2.5EPSS 0,2%Есть исправление

    Division by zero in optimized pooling implementations in TFLite

    TensorFlow is an end-to-end open source platform for machine learning. Optimized pooling implementations in TFLite fail to check that the stride arguments are not 0 before calling `ComputePaddingHeightWidth`(https://github.com/tensorflow/tensorflow/blob/3f24ccd932546416ec906a02ddd183b48a1d2c83/tensorflow/lite/kernels/pooling.cc#L90). Since users can craft special models which will have `params->stride_{height,width}` be zero, this will result in a division by zero. The fix will be included in TensorFlow 2.5.0. We will also cherrypick this commit on TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4, as these are also af

    • Обновитесь до 2.1.4
    • Обновитесь до 2.2.3
    • Обновитесь до 2.3.3
    • Обновитесь до 2.4.2
  15. CVE-2021-29615

    Низкий · CVSS 2.5EPSS 0,2%Есть исправление

    Stack overflow in `ParseAttrValue` with nested tensors

    TensorFlow is an end-to-end open source platform for machine learning. The implementation of `ParseAttrValue`(https://github.com/tensorflow/tensorflow/blob/c22d88d6ff33031aa113e48aa3fc9aa74ed79595/tensorflow/core/framework/attr_value_util.cc#L397-L453) can be tricked into stack overflow due to recursion by giving in a specially crafted input. The fix will be included in TensorFlow 2.5.0. We will also cherrypick this commit on TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4, as these are also affected and still in supported range.

    • Обновитесь до 2.1.4
    • Обновитесь до 2.2.3
    • Обновитесь до 2.3.3
    • Обновитесь до 2.4.2
  16. CVE-2021-29616

    Низкий · CVSS 2.5EPSS 0,21%Есть исправление

    Null dereference in Grappler's `TrySimplify`

    TensorFlow is an end-to-end open source platform for machine learning. The implementation of TrySimplify(https://github.com/tensorflow/tensorflow/blob/c22d88d6ff33031aa113e48aa3fc9aa74ed79595/tensorflow/core/grappler/optimizers/arithmetic_optimizer.cc#L390-L401) has undefined behavior due to dereferencing a null pointer in corner cases that result in optimizing a node with no inputs. The fix will be included in TensorFlow 2.5.0. We will also cherrypick this commit on TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4, as these are also affected and still in supported range.

    • Обновитесь до 2.1.4
    • Обновитесь до 2.2.0rc0
    • Обновитесь до 2.2.3
    • Обновитесь до 2.3.0rc0
    • Обновитесь до 2.3.3
    • Обновитесь до 2.3.4
    • Обновитесь до 2.4.2
    • Обновитесь до 2.4.3
  17. CVE-2021-29617

    Низкий · CVSS 2.5EPSS 0,23%Есть исправление

    Crash in `tf.strings.substr` due to `CHECK`-fail

    TensorFlow is an end-to-end open source platform for machine learning. An attacker can cause a denial of service via `CHECK`-fail in `tf.strings.substr` with invalid arguments. The fix will be included in TensorFlow 2.5.0. We will also cherrypick this commit on TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4, as these are also affected and still in supported range.

    • Обновитесь до 2.1.4
    • Обновитесь до 2.2.0rc0
    • Обновитесь до 2.2.3
    • Обновитесь до 2.3.0rc0
    • Обновитесь до 2.3.3
    • Обновитесь до 2.3.4
    • Обновитесь до 2.4.2
    • Обновитесь до 2.4.3
  18. CVE-2021-29618

    Низкий · CVSS 2.5EPSS 0,23%Есть исправление

    Crash in `tf.transpose` with complex inputs

    TensorFlow is an end-to-end open source platform for machine learning. Passing a complex argument to `tf.transpose` at the same time as passing `conjugate=True` argument results in a crash. The fix will be included in TensorFlow 2.5.0. We will also cherrypick this commit on TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4, as these are also affected and still in supported range.

    • Обновитесь до 2.1.4
    • Обновитесь до 2.2.0rc0
    • Обновитесь до 2.2.3
    • Обновитесь до 2.3.0rc0
    • Обновитесь до 2.3.3
    • Обновитесь до 2.3.4
    • Обновитесь до 2.4.2
    • Обновитесь до 2.4.3
  19. CVE-2021-29619

    Низкий · CVSS 2.5EPSS 0,19%Есть исправление

    Segfault in `tf.raw_ops.SparseCountSparseOutput`

    TensorFlow is an end-to-end open source platform for machine learning. Passing invalid arguments (e.g., discovered via fuzzing) to `tf.raw_ops.SparseCountSparseOutput` results in segfault. The fix will be included in TensorFlow 2.5.0. We will also cherrypick this commit on TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4, as these are also affected and still in supported range.

    • Обновитесь до 2.1.4
    • Обновитесь до 2.2.3
    • Обновитесь до 2.3.3
    • Обновитесь до 2.4.2
  20. CVE-2021-29587

    Низкий · CVSS 2.5EPSS 0,2%Есть исправление

    Division by zero in TFLite's implementation of `SpaceToDepth`

    TensorFlow is an end-to-end open source platform for machine learning. The `Prepare` step of the `SpaceToDepth` TFLite operator does not check for 0 before division(https://github.com/tensorflow/tensorflow/blob/5f7975d09eac0f10ed8a17dbb6f5964977725adc/tensorflow/lite/kernels/space_to_depth.cc#L63-L67). An attacker can craft a model such that `params->block_size` would be zero. The fix will be included in TensorFlow 2.5.0. We will also cherrypick this commit on TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4, as these are also affected and still in supported range.

    • Обновитесь до 2.1.4
    • Обновитесь до 2.2.0rc0
    • Обновитесь до 2.2.3
    • Обновитесь до 2.3.0rc0
    • Обновитесь до 2.3.3
    • Обновитесь до 2.3.4
    • Обновитесь до 2.4.2
    • Обновитесь до 2.4.3

Проверьте свой сервер

Сопоставьте установленный стек и версии со свежими базами уязвимостей.

Проверьте свой сервер →