p PatchFirst

PatchFirst · Latest vulnerabilities

tensorflow-cpu vulnerabilities · Page 11

Vulnerabilities published for tensorflow-cpu in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 430

  1. CVE-2021-41202

    Medium · CVSS 5.5EPSS 0.21%Fix available

    Overflow/crash in `tf.range`

    TensorFlow is an open source platform for machine learning. In affected versions while calculating the size of the output within the `tf.range` kernel, there is a conditional statement of type `int64 = condition ? int64 : double`. Due to C++ implicit conversion rules, both branches of the condition will be cast to `double` and the result would be truncated before the assignment. This result in overflows. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.

    • Update to 2.4.4
    • Update to 2.5.2
    • Update to 2.6.1
    • Update to 2.7.0
    Published Updated
  2. CVE-2021-41209

    Medium · CVSS 5.5EPSS 0.14%Fix available

    FPE in convolutions with zero size filters

    TensorFlow is an open source platform for machine learning. In affected versions the implementations for convolution operators trigger a division by 0 if passed empty filter tensor arguments. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.

    • Update to 2.4.4
    • Update to 2.5.2
    • Update to 2.6.1
    • Update to 2.7.0
    Published Updated
  3. CVE-2021-41203

    High · CVSS 7.8EPSS 0.19%Fix available

    Missing validation during checkpoint loading

    TensorFlow is an open source platform for machine learning. In affected versions an attacker can trigger undefined behavior, integer overflows, segfaults and `CHECK`-fail crashes if they can change saved checkpoints from outside of TensorFlow. This is because the checkpoints loading infrastructure is missing validation for invalid file formats. The fixes will be included in TensorFlow 2.7.0. We will also cherrypick these commits on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.

    • Update to 2.4.4
    • Update to 2.5.2
    • Update to 2.6.1
    • Update to 2.7.0
    Published Updated
  4. CVE-2021-41215

    Medium · CVSS 5.5EPSS 0.19%Fix available

    Null pointer exception in `DeserializeSparse`

    TensorFlow is an open source platform for machine learning. In affected versions the shape inference code for `DeserializeSparse` can trigger a null pointer dereference. This is because the shape inference function assumes that the `serialize_sparse` tensor is a tensor with positive rank (and having `3` as the last dimension). The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.

    • Update to 2.4.4
    • Update to 2.5.2
    • Update to 2.6.1
    • Update to 2.7.0
    Published Updated
  5. CVE-2021-41217

    Medium · CVSS 5.5EPSS 0.19%Fix available

    Null pointer exception when `Exit` node is not preceded by `Enter` op

    TensorFlow is an open source platform for machine learning. In affected versions the process of building the control flow graph for a TensorFlow model is vulnerable to a null pointer exception when nodes that should be paired are not. This occurs because the code assumes that the first node in the pairing (e.g., an `Enter` node) always exists when encountering the second node (e.g., an `Exit` node). When this is not the case, `parent` is `nullptr` so dereferencing it causes a crash. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also a

    • Update to 2.4.4
    • Update to 2.5.2
    • Update to 2.6.1
    • Update to 2.7.0
    Published Updated
  6. CVE-2021-41219

    High · CVSS 7.8EPSS 0.21%Fix available

    Undefined behavior via `nullptr` reference binding in sparse matrix multiplication

    TensorFlow is an open source platform for machine learning. In affected versions the code for sparse matrix multiplication is vulnerable to undefined behavior via binding a reference to `nullptr`. This occurs whenever the dimensions of `a` or `b` are 0 or less. In the case on one of these is 0, an empty output tensor should be allocated (to conserve the invariant that output tensors are always allocated when the operation is successful) but nothing should be written to it (that is, we should return early from the kernel implementation). Otherwise, attempts to write to this empty tensor would result in heap OOB access. The fix will be included

    • Update to 2.4.4
    • Update to 2.5.2
    • Update to 2.6.1
    • Update to 2.7.0
    Published Updated
  7. CVE-2021-41214

    High · CVSS 7.8EPSS 0.22%Fix available

    Reference binding to `nullptr` in `tf.ragged.cross`

    TensorFlow is an open source platform for machine learning. In affected versions the shape inference code for `tf.ragged.cross` has an undefined behavior due to binding a reference to `nullptr`. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.

    • Update to 2.4.4
    • Update to 2.5.2
    • Update to 2.6.1
    • Update to 2.7.0
    Published Updated
  8. CVE-2021-41204

    Medium · CVSS 5.5EPSS 0.14%Fix available

    Segfault while copying constant resource tensor

    TensorFlow is an open source platform for machine learning. In affected versions during TensorFlow's Grappler optimizer phase, constant folding might attempt to deep copy a resource tensor. This results in a segfault, as these tensors are supposed to not change. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.

    • Update to 2.4.4
    • Update to 2.5.2
    • Update to 2.6.1
    • Update to 2.7.0
    Published Updated
  9. CVE-2021-41226

    High · CVSS 7.1EPSS 0.21%Fix available

    Heap OOB read in `SparseBinCount`

    TensorFlow is an open source platform for machine learning. In affected versions the implementation of `SparseBinCount` is vulnerable to a heap OOB access. This is because of missing validation between the elements of the `values` argument and the shape of the sparse output. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.

    • Update to 2.4.4
    • Update to 2.5.2
    • Update to 2.6.1
    • Update to 2.7.0
    Published Updated
  10. CVE-2021-41223

    High · CVSS 7.1EPSS 0.21%Fix available

    Heap OOB read in `FusedBatchNorm` kernels

    TensorFlow is an open source platform for machine learning. In affected versions the implementation of `FusedBatchNorm` kernels is vulnerable to a heap OOB access. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.

    • Update to 2.4.4
    • Update to 2.5.2
    • Update to 2.6.1
    • Update to 2.7.0
    Published Updated
  11. CVE-2021-41224

    High · CVSS 7.1EPSS 0.21%Fix available

    `SparseFillEmptyRows` heap OOB read

    TensorFlow is an open source platform for machine learning. In affected versions the implementation of `SparseFillEmptyRows` can be made to trigger a heap OOB access. This occurs whenever the size of `indices` does not match the size of `values`. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.

    • Update to 2.4.4
    • Update to 2.5.2
    • Update to 2.6.1
    • Update to 2.7.0
    Published Updated
  12. CVE-2021-41212

    High · CVSS 7.1EPSS 0.21%Fix available

    Heap OOB read in `tf.ragged.cross`

    TensorFlow is an open source platform for machine learning. In affected versions the shape inference code for `tf.ragged.cross` can trigger a read outside of bounds of heap allocated array. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.

    • Update to 2.4.4
    • Update to 2.5.2
    • Update to 2.6.1
    • Update to 2.7.0
    Published Updated
  13. CVE-2021-41211

    High · CVSS 7.1EPSS 0.21%Fix available

    Heap OOB read in shape inference for `QuantizeV2`

    TensorFlow is an open source platform for machine learning. In affected versions the shape inference code for `QuantizeV2` can trigger a read outside of bounds of heap allocated array. This occurs whenever `axis` is a negative value less than `-1`. In this case, we are accessing data before the start of a heap buffer. The code allows `axis` to be an optional argument (`s` would contain an `error::NOT_FOUND` error code). Otherwise, it assumes that `axis` is a valid index into the dimensions of the `input` tensor. If `axis` is less than `-1` then this results in a heap OOB read. The fix will be included in TensorFlow 2.7.0. We will also cherryp

    • Update to 2.6.1
    • Update to 2.7.0
    Published Updated
  14. CVE-2021-41205

    High · CVSS 7.1EPSS 0.15%Fix available

    Heap OOB read in all `tf.raw_ops.QuantizeAndDequantizeV*` ops

    TensorFlow is an open source platform for machine learning. In affected versions the shape inference functions for the `QuantizeAndDequantizeV*` operations can trigger a read outside of bounds of heap allocated array. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.

    • Update to 2.4.4
    • Update to 2.5.2
    • Update to 2.6.1
    • Update to 2.7.0
    Published Updated
  15. CVE-2021-41210

    High · CVSS 7.1EPSS 0.15%Fix available

    Heap OOB read in `tf.raw_ops.SparseCountSparseOutput`

    TensorFlow is an open source platform for machine learning. In affected versions the shape inference functions for `SparseCountSparseOutput` can trigger a read outside of bounds of heap allocated array. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.

    • Update to 2.4.4
    • Update to 2.5.2
    • Update to 2.6.1
    • Update to 2.7.0
    Published Updated
  16. CVE-2021-41201

    High · CVSS 7.8EPSS 0.25%Fix available

    Unitialized access in `EinsumHelper::ParseEquation`

    TensorFlow is an open source platform for machine learning. In affeced versions during execution, `EinsumHelper::ParseEquation()` is supposed to set the flags in `input_has_ellipsis` vector and `*output_has_ellipsis` boolean to indicate whether there is ellipsis in the corresponding inputs and output. However, the code only changes these flags to `true` and never assigns `false`. This results in unitialized variable access if callers assume that `EinsumHelper::ParseEquation()` always sets these flags. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4,

    • Update to 2.4.4
    • Update to 2.5.2
    • Update to 2.6.1
    • Update to 2.7.0
    Published Updated
  17. CVE-2021-41200

    Medium · CVSS 5.5EPSS 0.24%Fix available

    Incomplete validation in `tf.summary.create_file_writer`

    TensorFlow is an open source platform for machine learning. In affected versions if `tf.summary.create_file_writer` is called with non-scalar arguments code crashes due to a `CHECK`-fail. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.

    • Update to 2.4.4
    • Update to 2.5.2
    • Update to 2.6.1
    • Update to 2.7.0
    Published Updated
  18. CVE-2021-41197

    Medium · CVSS 5.5EPSS 0.32%Fix available

    Crashes due to overflow and `CHECK`-fail in ops with large tensor shapes

    TensorFlow is an open source platform for machine learning. In affected versions TensorFlow allows tensor to have a large number of dimensions and each dimension can be as large as desired. However, the total number of elements in a tensor must fit within an `int64_t`. If an overflow occurs, `MultiplyWithoutOverflow` would return a negative result. In the majority of TensorFlow codebase this then results in a `CHECK`-failure. Newer constructs exist which return a `Status` instead of crashing the binary. This is similar to CVE-2021-29584. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, Ten

    • Update to 2.4.4
    • Update to 2.5.2
    • Update to 2.6.1
    • Update to 2.7.0
    Published Updated
  19. CVE-2021-41198

    Medium · CVSS 5.5EPSS 0.24%Fix available

    Overflow/crash in `tf.tile` when tiling tensor is large

    TensorFlow is an open source platform for machine learning. In affected versions if `tf.tile` is called with a large input argument then the TensorFlow process will crash due to a `CHECK`-failure caused by an overflow. The number of elements in the output tensor is too much for the `int64_t` type and the overflow is detected via a `CHECK` statement. This aborts the process. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.

    • Update to 2.4.4
    • Update to 2.5.2
    • Update to 2.6.1
    • Update to 2.7.0
    Published Updated
  20. CVE-2021-41199

    Medium · CVSS 5.5EPSS 0.24%Fix available

    Overflow/crash in `tf.image.resize` when size is large

    TensorFlow is an open source platform for machine learning. In affected versions if `tf.image.resize` is called with a large input argument then the TensorFlow process will crash due to a `CHECK`-failure caused by an overflow. The number of elements in the output tensor is too much for the `int64_t` type and the overflow is detected via a `CHECK` statement. This aborts the process. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.

    • Update to 2.4.4
    • Update to 2.5.2
    • Update to 2.6.1
    • Update to 2.7.0
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →