p PatchFirst

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

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

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

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

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

  1. CVE-2022-35937

    Высокий · CVSS 7EPSS 0,57%Есть исправление

    OOB read in `Gather_nd` op in TensorFlow Lite

    TensorFlow is an open source platform for machine learning. The `GatherNd` function takes arguments that determine the sizes of inputs and outputs. If the inputs given are greater than or equal to the sizes of the outputs, an out-of-bounds memory read is triggered. This issue has been patched in GitHub commit 595a65a3e224a0362d7e68c2213acfc2b499a196. The fix will be included in TensorFlow 2.10.0. We will also cherrypick this commit on TensorFlow 2.9.1, TensorFlow 2.8.1, and TensorFlow 2.7.2, as these are also affected and still in supported range. There are no known workarounds for this issue.

    • Обновитесь до 2.7.2
    • Обновитесь до 2.8.1
    • Обновитесь до 2.9.1
    Опубликовано Обновлено
  2. CVE-2022-35939

    Высокий · CVSS 7EPSS 0,57%Есть исправление

    Out of bounds write in `scatter_nd` op in TensorFlow Lite

    TensorFlow is an open source platform for machine learning. The `ScatterNd` function takes an input argument that determines the indices of of the output tensor. An input index greater than the output tensor or less than zero will either write content at the wrong index or trigger a crash. We have patched the issue in GitHub commit b4d4b4cb019bd7240a52daa4ba61e3cc814f0384. The fix will be included in TensorFlow 2.10.0. We will also cherrypick this commit on TensorFlow 2.9.1, TensorFlow 2.8.1, and TensorFlow 2.7.2, as these are also affected and still in supported range. There are no known workarounds for this issue.

    • Обновитесь до 2.7.2
    • Обновитесь до 2.8.1
    • Обновитесь до 2.9.1
    Опубликовано Обновлено
  3. CVE-2022-35935

    Средний · CVSS 5.9EPSS 0,53%Есть исправление

    `CHECK` failure in `SobolSample` via missing validation in TensorFlow

    TensorFlow is an open source platform for machine learning. The implementation of SobolSampleOp is vulnerable to a denial of service via CHECK-failure (assertion failure) caused by assuming `input(0)`, `input(1)`, and `input(2)` to be scalar. This issue has been patched in GitHub commit c65c67f88ad770662e8f191269a907bf2b94b1bf. The fix will be included in TensorFlow 2.10.0. We will also cherrypick this commit on TensorFlow 2.9.1, TensorFlow 2.8.1, and TensorFlow 2.7.2, as these are also affected and still in supported range. There are no known workarounds for this issue.

    • Обновитесь до 2.7.2
    • Обновитесь до 2.8.1
    • Обновитесь до 2.9.1
    Опубликовано Обновлено
  4. CVE-2022-35934

    Средний · CVSS 5.9EPSS 0,48%Есть исправление

    `CHECK` failure in tf.reshape in Tensorflow

    TensorFlow is an open source platform for machine learning. The implementation of tf.reshape op in TensorFlow is vulnerable to a denial of service via CHECK-failure (assertion failure) caused by overflowing the number of elements in a tensor. This issue has been patched in GitHub commit 61f0f9b94df8c0411f0ad0ecc2fec2d3f3c33555. The fix will be included in TensorFlow 2.10.0. We will also cherrypick this commit on TensorFlow 2.9.1, TensorFlow 2.8.1, and TensorFlow 2.7.2, as these are also affected and still in supported range. There are no known workarounds for this issue.

    • Обновитесь до 2.7.2
    • Обновитесь до 2.8.1
    • Обновитесь до 2.9.1
    Опубликовано Обновлено
  5. GHSA-mw6j-hh29-h379

    Без оценкиЕсть исправление

    `CHECK` failure in depthwise ops via overflows

    ### Impact The implementation of depthwise ops in TensorFlow is vulnerable to a denial of service via `CHECK`-failure (assertion failure) caused by overflowing the number of elements in a tensor: ```python import tensorflow as tf input = tf.constant(1, shape=[1, 4, 4, 3], dtype=tf.float32) filter_sizes = tf.constant(1879048192, shape=[13], dtype=tf.int32) out_backprop = tf.constant(1, shape=[1, 4, 4, 3], dtype=tf.float32) tf.raw_ops.DepthwiseConv2dNativeBackpropFilter( input=input, filter_sizes=filter_sizes, out_backprop=out_backprop, strides=[1, 1, 1, 1], padding="SAME") ``` This is another instance of [TFSA-2021-198](https://github

    • Обновитесь до 2.6.4
    • Обновитесь до 2.7.2
    • Обновитесь до 2.8.1
  6. CVE-2022-29216

    Высокий · CVSS 7.8EPSS 0,55%Есть исправление

    Code injection in `saved_model_cli` in TensorFlow

    TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, TensorFlow's `saved_model_cli` tool is vulnerable to a code injection. This can be used to open a reverse shell. This code path was maintained for compatibility reasons as the maintainers had several test cases where numpy expressions were used as arguments. However, given that the tool is always run manually, the impact of this is still not severe. The maintainers have now removed the `safe=False` argument, so all parsing is done without calling `eval`. The patch is available in versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4.

    • Обновитесь до 2.6.4
    • Обновитесь до 2.7.2
    • Обновитесь до 2.8.1
  7. CVE-2022-29213

    Средний · CVSS 5.5EPSS 0,32%Есть исправление

    Incomplete validation in signal ops leads to crashes in TensorFlow

    TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, the `tf.compat.v1.signal.rfft2d` and `tf.compat.v1.signal.rfft3d` lack input validation and under certain condition can result in crashes (due to `CHECK`-failures). Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.

    • Обновитесь до 2.6.4
    • Обновитесь до 2.7.2
    • Обновитесь до 2.8.1
  8. CVE-2022-29210

    Средний · CVSS 5.5EPSS 0,23%Есть исправление

    Heap buffer overflow due to incorrect hash function in TensorFlow

    TensorFlow is an open source platform for machine learning. In version 2.8.0, the `TensorKey` hash function used total estimated `AllocatedBytes()`, which (a) is an estimate per tensor, and (b) is a very poor hash function for constants (e.g. `int32_t`). It also tried to access individual tensor bytes through `tensor.data()` of size `AllocatedBytes()`. This led to ASAN failures because the `AllocatedBytes()` is an estimate of total bytes allocated by a tensor, including any pointed-to constructs (e.g. strings), and does not refer to contiguous bytes in the `.data()` buffer. The discoverers could not use this byte vector anyway because types s

    • Обновитесь до 2.8.1
  9. CVE-2022-29209

    Средний · CVSS 5.5EPSS 0,4%Есть исправление

    Type confusion leading to `CHECK`-failure based denial of service in TensorFlow

    TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, the macros that TensorFlow uses for writing assertions (e.g., `CHECK_LT`, `CHECK_GT`, etc.) have an incorrect logic when comparing `size_t` and `int` values. Due to type conversion rules, several of the macros would trigger incorrectly. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.

    • Обновитесь до 2.6.4
    • Обновитесь до 2.7.2
    • Обновитесь до 2.8.1
  10. CVE-2022-29211

    Средний · CVSS 5.5EPSS 0,32%Есть исправление

    Segfault in TensorFlow if `tf.histogram_fixed_width` is called with NaN values

    TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, the implementation of `tf.histogram_fixed_width` is vulnerable to a crash when the values array contain `Not a Number` (`NaN`) elements. The implementation assumes that all floating point operations are defined and then converts a floating point result to an integer index. If `values` contains `NaN` then the result of the division is still `NaN` and the cast to `int32` would result in a crash. This only occurs on the CPU implementation. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.

    • Обновитесь до 2.6.4
    • Обновитесь до 2.7.2
    • Обновитесь до 2.8.1
  11. CVE-2022-29212

    Средний · CVSS 5.5EPSS 0,32%Есть исправление

    Core dump when loading TFLite models with quantization in TensorFlow

    TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, certain TFLite models that were created using TFLite model converter would crash when loaded in the TFLite interpreter. The culprit is that during quantization the scale of values could be greater than 1 but code was always assuming sub-unit scaling. Thus, since code was calling `QuantizeMultiplierSmallerThanOneExp`, the `TFLITE_CHECK_LT` assertion would trigger and abort the process. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.

    • Обновитесь до 2.6.4
    • Обновитесь до 2.7.2
    • Обновитесь до 2.8.1
  12. CVE-2022-29201

    Средний · CVSS 5.5EPSS 0,34%Есть исправление

    Missing validation in `QuantizedConv2D` results in undefined behavior in TensorFlow

    TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, the implementation of `tf.raw_ops.QuantizedConv2D` does not fully validate the input arguments. In this case, references get bound to `nullptr` for each argument that is empty. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.

    • Обновитесь до 2.6.4
    • Обновитесь до 2.7.2
    • Обновитесь до 2.8.1
  13. CVE-2022-29202

    Средний · CVSS 5.5EPSS 0,32%Есть исправление

    Denial of service in TensorFlow due to lack of validation in `tf.ragged.constant`

    TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, the implementation of `tf.ragged.constant` does not fully validate the input arguments. This results in a denial of service by consuming all available memory. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.

    • Обновитесь до 2.6.4
    • Обновитесь до 2.7.2
    • Обновитесь до 2.8.1
  14. CVE-2022-29203

    Средний · CVSS 5.5EPSS 0,34%Есть исправление

    Integer overflow in `SpaceToBatchND` in TensorFlow

    TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, the implementation of `tf.raw_ops.SpaceToBatchND` (in all backends such as XLA and handwritten kernels) is vulnerable to an integer overflow: The result of this integer overflow is used to allocate the output tensor, hence we get a denial of service via a `CHECK`-failure (assertion failure), as in TFSA-2021-198. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.

    • Обновитесь до 2.6.4
    • Обновитесь до 2.7.2
    • Обновитесь до 2.8.1
  15. CVE-2022-29204

    Средний · CVSS 5.5EPSS 0,35%Есть исправление

    Missing validation causes denial of service in TensorFlow via `Conv3DBackpropFilterV2`

    TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, the implementation of `tf.raw_ops.UnsortedSegmentJoin` does not fully validate the input arguments. This results in a `CHECK`-failure which can be used to trigger a denial of service attack. The code assumes `num_segments` is a positive scalar but there is no validation. Since this value is used to allocate the output tensor, a negative value would result in a `CHECK`-failure (assertion failure), as per TFSA-2021-198. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.

    • Обновитесь до 2.6.4
    • Обновитесь до 2.7.2
    • Обновитесь до 2.8.1
  16. CVE-2022-29208

    Высокий · CVSS 7.1EPSS 0,39%Есть исправление

    Segfault and Out-of-bounds Write write due to incomplete validation in TensorFlow

    TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, the implementation of `tf.raw_ops.EditDistance` has incomplete validation. Users can pass negative values to cause a segmentation fault based denial of service. In multiple places throughout the code, one may compute an index for a write operation. However, the existing validation only checks against the upper bound of the array. Hence, it is possible to write before the array by massaging the input to generate negative values for `loc`. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.

    • Обновитесь до 2.6.4
    • Обновитесь до 2.7.2
    • Обновитесь до 2.8.1
  17. CVE-2022-29205

    Средний · CVSS 5.5EPSS 0,33%Есть исправление

    Segfault due to missing support for quantized types in TensorFlow

    TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, there is a potential for segfault / denial of service in TensorFlow by calling `tf.compat.v1.*` ops which don't yet have support for quantized types, which was added after migration to TensorFlow 2.x. In these scenarios, since the kernel is missing, a `nullptr` value is passed to `ParseDimensionValue` for the `py_value` argument. Then, this is dereferenced, resulting in segfault. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.

    • Обновитесь до 2.6.4
    • Обновитесь до 2.7.2
    • Обновитесь до 2.8.1
  18. CVE-2022-29206

    Средний · CVSS 5.5EPSS 0,36%Есть исправление

    Missing validation results in undefined behavior in `SparseTensorDenseAdd` in TensorFlow

    TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, the implementation of `tf.raw_ops.SparseTensorDenseAdd` does not fully validate the input arguments. In this case, a reference gets bound to a `nullptr` during kernel execution. This is undefined behavior. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.

    • Обновитесь до 2.6.4
    • Обновитесь до 2.7.2
    • Обновитесь до 2.8.1
  19. CVE-2022-29207

    Средний · CVSS 5.5EPSS 0,33%Есть исправление

    Undefined behavior when users supply invalid resource handles in TensorFlow

    TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, multiple TensorFlow operations misbehave in eager mode when the resource handle provided to them is invalid. In graph mode, it would have been impossible to perform these API calls, but migration to TF 2.x eager mode opened up this vulnerability. If the resource handle is empty, then a reference is bound to a null pointer inside TensorFlow codebase (various codepaths). This is undefined behavior. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.

    • Обновитесь до 2.6.4
    • Обновитесь до 2.7.2
    • Обновитесь до 2.8.1
  20. CVE-2022-29195

    Средний · CVSS 5.5EPSS 0,33%Есть исправление

    Missing validation causes denial of service in TensorFlow via `StagePeek`

    TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, the implementation of `tf.raw_ops.StagePeek` does not fully validate the input arguments. This results in a `CHECK`-failure which can be used to trigger a denial of service attack. The code assumes `index` is a scalar but there is no validation for this before accessing its value. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.

    • Обновитесь до 2.6.4
    • Обновитесь до 2.7.2
    • Обновитесь до 2.8.1

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

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

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