Skip to content
OpenAdvisories

Vendor

TensorFlow

403 known vulnerabilities.

197 results · Clear filters · Feed

  • Medium 6.5

    Denial of Service in TensorFlow

    TensorFlow is an Open Source Machine Learning Framework. In versions prior to 2.11.1 a malicious invalid input crashes a tensorflow model (Check Failed) and can be used to trigger a denial of service attack. A proof of concept can be constructed with the `Con…

  • Medium 6.5

    TensorFlow vulnerable to segfault when opening multiframe gif

    TensorFlow is an open source platform for machine learning. Prior to versions 2.12.0 and 2.11.1, integer overflow occurs when `2^31 <= num_frames * height * width * channels < 2^32`, for example Full HD screencast of at least 346 frames. A fix is included in …

  • Medium 4.8

    Heap out of bounds read in `QuantizeAndDequantizeV2` in Tensorflow

    TensorFlow is an open source platform for machine learning. The function MakeGrapplerFunctionItem 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 memor…

  • Medium 4.8

    Unckecked rank size in `tf.image.generate_bounding_box_proposals` in Tensorflow

    TensorFlow is an open source platform for machine learning. When running on GPU, `tf.image.generate_bounding_box_proposals` receives a `scores` input that must be of rank 4 but is not checked. We have patched the issue in GitHub commit cf35502463a88ca7185a99d…

  • Medium 4.8

    `tf.raw_ops.Mfcc` crashes in Tensorflow

    TensorFlow is an open source platform for machine learning. If `ThreadUnsafeUnigramCandidateSampler` is given input `filterbank_channel_count` greater than the allowed max size, TensorFlow will crash. We have patched the issue in GitHub commit 39ec7eaf1428e90…

  • Medium 4.8

    `MirrorPadGrad` heap out of bounds read in Tensorflow

    TensorFlow is an open source platform for machine learning. If `MirrorPadGrad` is given outsize input `paddings`, TensorFlow will give a heap OOB error. We have patched the issue in GitHub commit 717ca98d8c3bba348ff62281fdf38dcb5ea1ec92. The fix will be inclu…

  • Medium 4.8

    `CHECK` fail via inputs in `PyFunc` in Tensorflow

    TensorFlow is an open source platform for machine learning. An input `token` that is not a UTF-8 bytestring will trigger a `CHECK` fail in `tf.raw_ops.PyFunc`. We have patched the issue in GitHub commit 9f03a9d3bafe902c1e6beb105b2f24172f238645. The fix will b…

  • Medium 6.8

    Out of bounds segmentation fault due to unequal op inputs in Tensorflow

    TensorFlow is an open source platform for machine learning. When ops that have specified input sizes receive a differing number of inputs, the executor will crash. We have patched the issue in GitHub commit f5381e0e10b5a61344109c1b7c174c68110f7629. The fix wi…

  • Medium 4.8

    Overflow in `tf.keras.losses.poisson` in Tensorflow

    TensorFlow is an open source platform for machine learning. `tf.keras.losses.poisson` receives a `y_pred` and `y_true` that are passed through `functor::mul` in `BinaryOp`. If the resulting dimensions overflow an `int32`, TensorFlow will crash due to a size m…

  • Medium 4.8

    Segfault in `CompositeTensorVariantToComponents` in Tensorflow

    TensorFlow is an open source platform for machine learning. An input `encoded` that is not a valid `CompositeTensorVariant` tensor will trigger a segfault in `tf.raw_ops.CompositeTensorVariantToComponents`. We have patched the issue in GitHub commits bf594d08…

  • Medium 4.8

    `CHECK_EQ` fail in `tf.raw_ops.TensorListResize` in Tensorflow

    TensorFlow is an open source platform for machine learning. If `tf.raw_ops.TensorListResize` is given a nonscalar value for input `size`, it results `CHECK` fail which can be used to trigger a denial of service attack. We have patched the issue in GitHub comm…

  • Medium 4.8

    Overflow in `FusedResizeAndPadConv2D` in Tensorflow

    TensorFlow is an open source platform for machine learning. When `tf.raw_ops.FusedResizeAndPadConv2D` is given a large tensor shape, it overflows. We have patched the issue in GitHub commit d66e1d568275e6a2947de97dca7a102a211e01ce. The fix will be included in…

  • Medium 4.8

    `FractionalMaxPoolGrad` Heap out of bounds read in Tensorflow

    TensorFlow is an open source platform for machine learning. If `FractionMaxPoolGrad` is given outsize inputs `row_pooling_sequence` and `col_pooling_sequence`, TensorFlow will crash. We have patched the issue in GitHub commit d71090c3e5ca325bdf4b02eb236cfb3ee…

  • Medium 4.8

    Overflow in `ImageProjectiveTransformV2` in Tensorflow

    TensorFlow is an open source platform for machine learning. When `tf.raw_ops.ImageProjectiveTransformV2` is given a large output shape, it overflows. We have patched the issue in GitHub commit 8faa6ea692985dbe6ce10e1a3168e0bd60a723ba. The fix will be included…

  • Medium 4.8

    Overflow in `ResizeNearestNeighborGrad` in Tensorflow

    TensorFlow is an open source platform for machine learning. When `tf.raw_ops.ResizeNearestNeighborGrad` is given a large `size` input, it overflows. We have patched the issue in GitHub commit 00c821af032ba9e5f5fa3fe14690c8d28a657624. The fix will be included …

  • Medium 4.8

    `CHECK` fail via inputs in `SdcaOptimizer` in Tensorflow

    TensorFlow is an open source platform for machine learning. Inputs `dense_features` or `example_state_data` not of rank 2 will trigger a `CHECK` fail in `SdcaOptimizer`. We have patched the issue in GitHub commit 80ff197d03db2a70c6a111f97dcdacad1b0babfa. The …

  • Medium 4.8

    Segfault in `tf.raw_ops.TensorListConcat` in Tensorflow

    TensorFlow is an open source platform for machine learning. If `tf.raw_ops.TensorListConcat` is given `element_shape=[]`, it results segmentation fault which can be used to trigger a denial of service attack. We have patched the issue in GitHub commit fc33f3d…

  • Medium 4.8

    `CHECK` fail in `BCast` overflow in Tensorflow

    TensorFlow is an open source platform for machine learning. If `BCast::ToShape` is given input larger than an `int32`, it will crash, despite being supposed to handle up to an `int64`. An example can be seen in `tf.experimental.numpy.outer` by passing in larg…

  • Medium 4.8

    `CHECK` fail via inputs in `SparseFillEmptyRowsGrad` in Tensorflow

    TensorFlow is an open source platform for machine learning. If `SparseFillEmptyRowsGrad` is given empty inputs, TensorFlow will crash. We have patched the issue in GitHub commit af4a6a3c8b95022c351edae94560acc61253a1b8. The fix will be included in TensorFlow …

  • Medium 4.8

    Invalid char to bool conversion when printing a tensor in Tensorflow

    TensorFlow is an open source platform for machine learning. When printing a tensor, we get it's data as a `const char*` array (since that's the underlying storage) and then we typecast it to the element type. However, conversions from `char` to `bool` are und…

  • Medium 6.8

    ThreadUnsafeUnigramCandidateSampler Heap out of bounds in Tensorflow

    TensorFlow is an open source platform for machine learning. When the `BaseCandidateSamplerOp` function receives a value in `true_classes` larger than `range_max`, a heap oob read occurs. We have patched the issue in GitHub commit b389f5c944cadfdfe599b3f1e4026…

  • Medium 4.8

    Seg fault in `ndarray_tensor_bridge` due to zero and large inputs in Tensorflow

    TensorFlow is an open source platform for machine learning. If a numpy array is created with a shape such that one element is zero and the others sum to a large number, an error will be raised. We have patched the issue in GitHub commit 2b56169c16e375c521a3bc…

  • Medium 5.5

    Segfault via invalid attributes in `pywrap_tfe_src.cc` in Tensorflow

    TensorFlow is an open source platform for machine learning. If a list of quantized tensors is assigned to an attribute, the pywrap code fails to parse the tensor and returns a `nullptr`, which is not caught. An example can be seen in `tf.compat.v1.extract_vol…

  • Medium 4.8

    `CHECK_EQ` fail via input in `SparseMatrixNNZ` in Tensorflow

    TensorFlow is an open source platform for machine learning. An input `sparse_matrix` that is not a matrix with a shape with rank 0 will trigger a `CHECK` fail in `tf.raw_ops.SparseMatrixNNZ`. We have patched the issue in GitHub commit f856d02e5322821aad155dad…

  • Medium 5.9

    Integer overflow in math ops in TensorFlow

    TensorFlow is an open source platform for machine learning. When `RangeSize` receives values that do not fit into an `int64_t`, it crashes. We have patched the issue in GitHub commit 37e64539cd29fcfb814c4451152a60f5d107b0f0. The fix will be included in Tensor…

  • Medium 5.9

    Assertion fail on MLIR empty edge names in TensorFlow

    TensorFlow is an open source platform for machine learning. When `mlir::tfg::ConvertGenericFunctionToFunctionDef` is given empty function attributes, it crashes. We have patched the issue in GitHub commit ad069af92392efee1418c48ff561fd3070a03d7b. The fix will…

  • Medium 5.9

    Floating point exception in `Conv2D` in TensorFlow

    TensorFlow is an open source platform for machine learning. If `Conv2D` is given empty `input` and the `filter` and `padding` sizes are valid, the output is all-zeros. This causes division-by-zero floating point exceptions that can be used to trigger a denial…

  • Medium 5.9

    Segfault TFLite converter on per-channel quantized transposed convolutions in TensorFlow

    TensorFlow is an open source platform for machine learning. When converting transposed convolutions using per-channel weight quantization the converter segfaults and crashes the Python process. We have patched the issue in GitHub commit aa0b852a4588cea4d36b74…

  • Medium 5.9

    Segfault in `Requantize` in TensorFlow

    TensorFlow is an open source platform for machine learning. If `Requantize` is given `input_min`, `input_max`, `requested_output_min`, `requested_output_max` tensors of a nonzero rank, it results in a segfault that can be used to trigger a denial of service a…

  • Medium 5.9

    Null-dereference in `mlir::tfg::TFOp::nameAttr` in TensorFlow

    TensorFlow is an open source platform for machine learning. When `mlir::tfg::TFOp::nameAttr` receives null type list attributes, it crashes. We have patched the issue in GitHub commits 3a754740d5414e362512ee981eefba41561a63a6 and a0f0b9a21c9270930457095092f55…

  • Medium 5.9

    Null dereference on MLIR on empty function attributes in TensorFlow

    TensorFlow is an open source platform for machine learning. When `mlir::tfg::ConvertGenericFunctionToFunctionDef` is given empty function attributes, it gives a null dereference. We have patched the issue in GitHub commit aed36912609fc07229b4d0a7b44f3f48efc00…

  • Medium 5.9

    Null dereference on MLIR on empty function attributes in TensorFlow

    TensorFlow is an open source platform for machine learning. When `mlir::tfg::ConvertGenericFunctionToFunctionDef` is given empty function attributes, it gives a null dereference. We have patched the issue in GitHub commit 1cf45b831eeb0cab8655c9c7c5d06ec6f45fc…

  • Medium 5.9

    Null-dereference in `mlir::tfg::GraphDefImporter::ConvertNodeDef` in TensorFlow

    TensorFlow is an open source platform for machine learning. When `mlir::tfg::GraphDefImporter::ConvertNodeDef` tries to convert NodeDefs without an op name, it crashes. We have patched the issue in GitHub commit a0f0b9a21c9270930457095092f558fbad4c03e5. The f…

  • Medium 5.9

    `CHECK` fail in `CollectiveGather` in TensorFlow

    TensorFlow is an open source platform for machine learning. When `CollectiveGather` receives an scalar input `input`, it gives a `CHECK` fails that can be used to trigger a denial of service attack. We have patched the issue in GitHub commit c1f491817dec39a26…

  • Medium 5.9

    `CHECK` fail in `SetSize` in TensorFlow

    TensorFlow is an open source platform for machine learning. When `SetSize` receives an input `set_shape` that is not a 1D tensor, it gives a `CHECK` fails that can be used to trigger a denial of service attack. We have patched the issue in GitHub commit cf70b…

  • Medium 5.9

    `CHECK` fail in `TensorListFromTensor` in TensorFlow

    TensorFlow is an open source platform for machine learning. When `TensorListFromTensor` receives an `element_shape` of a rank greater than one, it gives a `CHECK` fail that can trigger a denial of service attack. We have patched the issue in GitHub commit 3db…

  • Medium 5.9

    `CHECK` fail in `TensorListScatter` and `TensorListScatterV2` in TensorFlow

    TensorFlow is an open source platform for machine learning. When `TensorListScatter` and `TensorListScatterV2` receive an `element_shape` of a rank greater than one, they give a `CHECK` fail that can trigger a denial of service attack. We have patched the iss…

  • Medium 5.9

    `CHECK` fail in `Conv2DBackpropInput` in TensorFlow

    TensorFlow is an open source platform for machine learning. When `Conv2DBackpropInput` receives empty `out_backprop` inputs (e.g. `[3, 1, 0, 1]`), the current CPU/GPU kernels `CHECK` fail (one with dnnl, the other with cudnn). This can be used to trigger a de…

  • Medium 5.9

    `CHECK` fail in `EmptyTensorList` in TensorFlow

    TensorFlow is an open source platform for machine learning. If `EmptyTensorList` receives an input `element_shape` with more than one dimension, it gives a `CHECK` fail that can be used to trigger a denial of service attack. We have patched the issue in GitHu…

  • Medium 5.9

    `CHECK` fail in `tf.sparse.cross` in TensorFlow

    TensorFlow is an open source platform for machine learning. If `tf.sparse.cross` receives an input `separator` that is not a scalar, it gives a `CHECK` fail that can be used to trigger a denial of service attack. We have patched the issue in GitHub commit 83d…