Skip to content

← Public intelligence

PyPI package

tensorflow-gpu

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

427 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 4.8PyPIAmendedPublished

    CHECK fail via inputs in PyFunc

    CVE-2022-41908 · GHSA-mv77-9g28-cwg3

    Affected
    • PyPI tensorflow-gpu < 2.8.4; >= 2.9.0, < 2.9.3; >= 2.10.0, < 2.10.1
    Fixed in
    2.10.12.9.32.8.4· Vendor fix available
    Issue
    Impact An input token that is not a UTF-8 bytestring will trigger a CHECK fail in tf.rawops.PyFunc. Patches We have patched the issue in GitHub commit 9f03a9d3bafe902c1e6beb105b2f24172f238645. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range. For more information Please consult our security guide for more information regarding the security model and how to contact us with issues and questions. Attribution This vulnerability has been reported by pattarakritr@smu.edu.sg

    Recommended action: Upgrade to 2.10.1, 2.9.3 or 2.8.4 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  2. Medium, CVSS 4.8PyPIAmendedPublished

    Overflow in ResizeNearestNeighborGrad

    CVE-2022-41907 · GHSA-368v-7v32-52fx

    Affected
    • PyPI tensorflow-gpu < 2.8.4; >= 2.9.0, < 2.9.3; >= 2.10.0, < 2.10.1
    Fixed in
    2.10.12.9.32.8.4· Vendor fix available
    Issue
    Impact When tf.rawops.ResizeNearestNeighborGrad is given a large size input, it overflows. Patches We have patched the issue in GitHub commit 00c821af032ba9e5f5fa3fe14690c8d28a657624. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range. For more information Please consult our security guide for more information regarding the security model and how to contact us with issues and questions. Attribution This vulnerability has been reported by Neophytos Christou from the Secure Systems Lab (SSL) at Brown University.

    Recommended action: Upgrade to 2.10.1, 2.9.3 or 2.8.4 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  3. High, CVSS 7.1PyPIAmendedPublished

    Out of bounds write in grappler in Tensorflow

    CVE-2022-41902 · GHSA-cg88-rpvp-cjv5

    Affected
    • PyPI tensorflow-gpu < 2.8.4; >= 2.9.0, < 2.9.3; >= 2.10.0, < 2.10.1
    Fixed in
    2.10.12.9.32.8.4· Vendor fix available
    Issue
    Impact 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 memory read or a crash is triggered. Patches We have patched the issue in GitHub commit a65411a1d69edfb16b25907ffb8f73556ce36bb7. The fix will be included in TensorFlow 2.11.0. We will also cherrypick this commit on TensorFlow 2.10.1. For more information Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.

    Recommended action: Upgrade to 2.10.1, 2.9.3 or 2.8.4 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  4. Medium, CVSS 4.8PyPIAmendedPublished

    CHECK_EQ fail via input in SparseMatrixNNZ

    CVE-2022-41901 · GHSA-g9fm-r5mm-rf9f

    Affected
    • PyPI tensorflow-gpu < 2.8.4; >= 2.9.0, < 2.9.3; >= 2.10.0, < 2.10.1
    Fixed in
    2.10.12.9.32.8.4· Vendor fix available
    Issue
    Impact An input sparsematrix that is not a matrix with a shape with rank 0 will trigger a CHECK fail in tf.rawops.SparseMatrixNNZ. Patches We have patched the issue in GitHub commit f856d02e5322821aad155dad9b3acab1e9f5d693. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range. For more information Please consult our security guide for more information regarding the security model and how to contact us with issues and questions. Attribution This vulnerability has been reported by Kang Hong Jin

    Recommended action: Upgrade to 2.10.1, 2.9.3 or 2.8.4 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  5. High, CVSS 7.1PyPIAmendedPublished

    FractionalMaxPool and FractionalAVGPool heap out-of-bounds acess

    CVE-2022-41900 · GHSA-xvwp-h6jv-7472

    Affected
    • PyPI tensorflow-gpu < 2.8.4; >= 2.9.0, < 2.9.3; >= 2.10.0, < 2.10.1
    Fixed in
    2.10.12.9.32.8.4· Vendor fix available
    Issue
    Impact An input poolingratio that is smaller than 1 will trigger a heap OOB in tf.rawops.FractionalMaxPool and tf.rawops.FractionalAvgPool. Patches We have patched the issue in GitHub commit 216525144ee7c910296f5b05d214ca1327c9ce48. The fix will be included in TensorFlow 2.11.0. We will also cherry pick this commit on TensorFlow 2.10.1. For more information Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.

    Recommended action: Upgrade to 2.10.1, 2.9.3 or 2.8.4 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  6. Medium, CVSS 4.8PyPIAmendedPublished

    CHECK fail via inputs in SdcaOptimizer

    CVE-2022-41899 · GHSA-27rc-728f-x5w2

    Affected
    • PyPI tensorflow-gpu < 2.8.4; >= 2.9.0, < 2.9.3; >= 2.10.0, < 2.10.1
    Fixed in
    2.10.12.9.32.8.4· Vendor fix available
    Issue
    Impact Inputs densefeatures or examplestatedata not of rank 2 will trigger a CHECK fail in SdcaOptimizer. Patches We have patched the issue in GitHub commit 80ff197d03db2a70c6a111f97dcdacad1b0babfa. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range. For more information Please consult our security guide for more information regarding the security model and how to contact us with issues and questions. Attribution This vulnerability has been reported by Zizhuang Deng of IIE, UCAS

    Recommended action: Upgrade to 2.10.1, 2.9.3 or 2.8.4 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  7. Medium, CVSS 4.8PyPIAmendedPublished

    CHECK fail via inputs in SparseFillEmptyRowsGrad

    CVE-2022-41898 · GHSA-hq7g-wwwp-q46h

    Affected
    • PyPI tensorflow-gpu < 2.8.4; >= 2.9.0, < 2.9.3; >= 2.10.0, < 2.10.1
    Fixed in
    2.10.12.9.32.8.4· Vendor fix available
    Issue
    Impact If SparseFillEmptyRowsGrad is given empty inputs, TensorFlow will crash. Patches We have patched the issue in GitHub commit af4a6a3c8b95022c351edae94560acc61253a1b8. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range. For more information Please consult our security guide for more information regarding the security model and how to contact us with issues and questions. Attribution This vulnerability has been reported by Jiawei Liu, PhD student at University of Illinois, Urbana-Champaign.

    Recommended action: Upgrade to 2.10.1, 2.9.3 or 2.8.4 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  8. Medium, CVSS 4.8PyPIAmendedPublished

    FractionalMaxPoolGrad Heap out of bounds read

    CVE-2022-41897 · GHSA-f2w8-jw48-fr7j

    Affected
    • PyPI tensorflow-gpu < 2.8.4; >= 2.9.0, < 2.9.3; >= 2.10.0, < 2.10.1
    Fixed in
    2.10.12.9.32.8.4· Vendor fix available
    Issue
    Impact If FractionMaxPoolGrad is given outsize inputs rowpoolingsequence and colpoolingsequence, TensorFlow will crash. Patches We have patched the issue in GitHub commit d71090c3e5ca325bdf4b02eb236cfb3ee823e927. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range. For more information Please consult our security guide for more information regarding the security model and how to contact us with issues and questions. Attribution This vulnerability has been reported by Vul AI.

    Recommended action: Upgrade to 2.10.1, 2.9.3 or 2.8.4 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  9. Medium, CVSS 4.8PyPIAmendedPublished

    tf.raw_ops.Mfcc crashes

    CVE-2022-41896 · GHSA-rmg2-f698-wq35

    Affected
    • PyPI tensorflow-gpu < 2.8.4; >= 2.9.0, < 2.9.3; >= 2.10.0, < 2.10.1
    Fixed in
    2.10.12.9.32.8.4· Vendor fix available
    Issue
    Impact If ThreadUnsafeUnigramCandidateSampler is given input filterbankchannelcount greater than the allowed max size, TensorFlow will crash. Patches We have patched the issue in GitHub commit 39ec7eaf1428e90c37787e5b3fbd68ebd3c48860. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range. For more information Please consult our security guide for more information regarding the security model and how to contact us with issues and questions. Attribution This vulnerability has been reported by Vul AI.

    Recommended action: Upgrade to 2.10.1, 2.9.3 or 2.8.4 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  10. Medium, CVSS 4.8PyPIAmendedPublished

    MirrorPadGrad heap out of bounds read

    CVE-2022-41895 · GHSA-gq2j-cr96-gvqx

    Affected
    • PyPI tensorflow-gpu < 2.8.4; >= 2.9.0, < 2.9.3; >= 2.10.0, < 2.10.1
    Fixed in
    2.10.12.9.32.8.4· Vendor fix available
    Issue
    Impact If MirrorPadGrad is given outsize input paddings, TensorFlow will give a heap OOB error. Patches We have patched the issue in GitHub commit 717ca98d8c3bba348ff62281fdf38dcb5ea1ec92. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range. For more information Please consult our security guide for more information regarding the security model and how to contact us with issues and questions. Attribution This vulnerability has been reported by Vul AI.

    Recommended action: Upgrade to 2.10.1, 2.9.3 or 2.8.4 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  11. Medium, CVSS 4.8PyPIAmendedPublished

    CHECK_EQ fail in tf.raw_ops.TensorListResize

    CVE-2022-41893 · GHSA-67pf-62xr-q35m

    Affected
    • PyPI tensorflow-gpu < 2.8.4; >= 2.9.0, < 2.9.3; >= 2.10.0, < 2.10.1
    Fixed in
    2.10.12.9.32.8.4· Vendor fix available
    Issue
    Impact If tf.rawops.TensorListResize is given a nonscalar value for input size, it results CHECK fail which can be used to trigger a denial of service attack. Patches We have patched the issue in GitHub commit 888e34b49009a4e734c27ab0c43b0b5102682c56. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range. For more information Please consult our security guide for more information regarding the security model and how to contact us with issues and questions. Attribution This vulnerability has been reported by Pattarakrit Rattankul

    Recommended action: Upgrade to 2.10.1, 2.9.3 or 2.8.4 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  12. Medium, CVSS 4.8PyPIAmendedPublished

    Segfault in tf.raw_ops.TensorListConcat

    CVE-2022-41891 · GHSA-66vq-54fq-6jvv

    Affected
    • PyPI tensorflow-gpu < 2.8.4; >= 2.9.0, < 2.9.3; >= 2.10.0, < 2.10.1
    Fixed in
    2.10.12.9.32.8.4· Vendor fix available
    Issue
    Impact If tf.rawops.TensorListConcat is given elementshape=[], it results segmentation fault which can be used to trigger a denial of service attack. Patches We have patched the issue in GitHub commit fc33f3dc4c14051a83eec6535b608abe1d355fde. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range. For more information Please consult our security guide for more information regarding the security model and how to contact us with issues and questions. Attribution This vulnerability has been reported by Tong Liu, ShanghaiTech University

    Recommended action: Upgrade to 2.10.1, 2.9.3 or 2.8.4 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  13. Medium, CVSS 4.8PyPIAmendedPublished

    CHECK fail in BCast overflow

    CVE-2022-41890 · GHSA-h246-cgh4-7475

    Affected
    • PyPI tensorflow-gpu < 2.8.4; >= 2.9.0, < 2.9.3; >= 2.10.0, < 2.10.1
    Fixed in
    2.10.12.9.32.8.4· Vendor fix available
    Issue
    Impact 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 large input to the input b. Patches We have patched the issue in GitHub commit 8310bf8dd188ff780e7fc53245058215a05bdbe5. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range. For more information Please consult our security guide for more information regarding the security model and how to contact us with issues and questions. Attribution This vulnerability has been reported by Pattarakrit Rattankul.

    Recommended action: Upgrade to 2.10.1, 2.9.3 or 2.8.4 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  14. Medium, CVSS 5.5PyPIAmendedPublished

    Segfault via invalid attributes in pywrap_tfe_src.cc

    CVE-2022-41889 · GHSA-xxcj-rhqg-m46g

    Affected
    • PyPI tensorflow-gpu < 2.8.4; >= 2.9.0, < 2.9.3; >= 2.10.0, < 2.10.1
    Fixed in
    2.10.12.9.32.8.4· Vendor fix available
    Issue
    Impact 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.extractvolumepatches by passing in quantized tensors as input ksizes. Patches We have patched the issue in GitHub commit e9e95553e5411834d215e6770c81a83a3d0866ce. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range. For more information Please consult our security guide for more information regarding the security model and how to contact us with issues and questions. Attribution This vulnerability has been reported by Pattarakrit Rattankul.

    Recommended action: Upgrade to 2.10.1, 2.9.3 or 2.8.4 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  15. Medium, CVSS 4.8PyPIAmendedPublished

    FPE in tf.image.generate_bounding_box_proposals

    CVE-2022-41888 · GHSA-6x99-gv2v-q76v

    Affected
    • PyPI tensorflow-gpu < 2.8.4; >= 2.9.0, < 2.9.3; >= 2.10.0, < 2.10.1
    Fixed in
    2.10.12.9.32.8.4· Vendor fix available
    Issue
    Impact When running on GPU, tf.image.generateboundingboxproposals receives a scores input that must be of rank 4 but is not checked. Patches We have patched the issue in GitHub commit cf35502463a88ca7185a99daa7031df60b3c1c98. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range. For more information Please consult our security guide for more information regarding the security model and how to contact us with issues and questions. Attribution This vulnerability has been reported by Pattarakrit Rattankul.

    Recommended action: Upgrade to 2.10.1, 2.9.3 or 2.8.4 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  16. Medium, CVSS 4.8PyPIAmendedPublished

    Overflow in tf.keras.losses.poisson

    CVE-2022-41887 · GHSA-8fvv-46hw-vpg3

    Affected
    • PyPI tensorflow-gpu < 2.9.3; >= 2.10.0, < 2.10.1
    Fixed in
    2.10.12.9.3· Vendor fix available
    Issue
    Impact tf.keras.losses.poisson receives a ypred and ytrue that are passed through functor::mul in BinaryOp. If the resulting dimensions overflow an int32, TensorFlow will crash due to a size mismatch during broadcast assignment. Patches We have patched the issue in GitHub commit c5b30379ba87cbe774b08ac50c1f6d36df4ebb7c. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1 and 2.9.3, as these are also affected and still in supported range. However, we will not cherrypick this commit into TensorFlow 2.8.x, as it depends on Eigen behavior that changed between 2.8 and 2.9. For more information Please consult our security guide for more information regarding the security model and how to contact us with issues and questions. Attribution This vulnerability has been reported by Pattarakrit Rattankul.

    Recommended action: Upgrade to 2.10.1 or 2.9.3 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  17. Medium, CVSS 4.8PyPIAmendedPublished

    Overflow in ImageProjectiveTransformV2

    CVE-2022-41886 · GHSA-54pp-c6pp-7fpx

    Affected
    • PyPI tensorflow-gpu < 2.8.4; >= 2.9.0, < 2.9.3; >= 2.10.0, < 2.10.1
    Fixed in
    2.10.12.9.32.8.4· Vendor fix available
    Issue
    Impact When tf.rawops.ImageProjectiveTransformV2 is given a large output shape, it overflows. Patches We have patched the issue in GitHub commit 8faa6ea692985dbe6ce10e1a3168e0bd60a723ba. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range. For more information Please consult our security guide for more information regarding the security model and how to contact us with issues and questions. Attribution This vulnerability has been reported by Neophytos Christou from the Secure Systems Lab (SSL) at Brown University.

    Recommended action: Upgrade to 2.10.1, 2.9.3 or 2.8.4 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  18. Medium, CVSS 4.8PyPIAmendedPublished

    Overflow in FusedResizeAndPadConv2D

    CVE-2022-41885 · GHSA-762h-vpvw-3rcx

    Affected
    • PyPI tensorflow-gpu < 2.7.4; >= 2.8.0, < 2.8.1; >= 2.9.0, < 2.9.1
    Fixed in
    2.8.12.9.12.7.4· Vendor fix available
    Issue
    Impact When tf.rawops.FusedResizeAndPadConv2D is given a large tensor shape, it overflows. Patches We have patched the issue in GitHub commit d66e1d568275e6a2947de97dca7a102a211e01ce. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range. For more information Please consult our security guide for more information regarding the security model and how to contact us with issues and questions. Attribution This vulnerability has been reported by Neophytos Christou from the Secure Systems Lab (SSL) at Brown University.

    Recommended action: Upgrade to 2.9.1, 2.8.1 or 2.7.4 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  19. Medium, CVSS 4.8PyPIAmendedPublished

    Seg fault in ndarray_tensor_bridge due to zero and large inputs

    CVE-2022-41884 · GHSA-jq6x-99hj-q636

    Affected
    • PyPI tensorflow-gpu < 2.8.4; >= 2.9.0, < 2.9.3; >= 2.10.0, < 2.10.1
    Fixed in
    2.10.12.9.32.8.4· Vendor fix available
    Issue
    Impact 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. E.g. the following raises an error: An example of a proof of concept: The return value of PyArraySimpleNewFromData, which returns null on such shapes, is not checked. Patches We have patched the issue in GitHub commit 2b56169c16e375c521a3bc8ea658811cc0793784. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range. For more information Please consult our security guide for more information regarding the security model and how to contact us with issues and questions. Attribution This vulnerability has been reported by Pattarakrit Rattanukul.

    Recommended action: Upgrade to 2.10.1, 2.9.3 or 2.8.4 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  20. Medium, CVSS 6.8PyPIAmendedPublished

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

    CVE-2022-41883 · GHSA-w58w-79xv-6vcj

    Affected
    • PyPI tensorflow-gpu >= 2.10.0, <= 2.10.0
    Fixed in
    2.10.1· Vendor fix available
    Issue
    Impact tf.rawops.DynamicStitch specifies input sizes when it is registered. When it receives a differing number of inputs, such as when it is called with an indices size 1 and a data size 2, it will crash. Patches We have patched the issue in GitHub commit f5381e0e10b5a61344109c1b7c174c68110f7629. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1 as this is also affected. For more information Please consult our security guide for more information regarding the security model and how to contact us with issues and questions. Attribution This vulnerability has been reported by Zizhuang Deng of IIE, UCAS

    Recommended action: Upgrade to 2.10.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  21. High, CVSS 7.2PyPIAmendedPublished

    TensorFlow vulnerable to heap out of bounds read in filesystem glob matching

    CVE-2020-26269 · GHSA-9jjw-hf72-3mxw

    Affected
    • PyPI tensorflow-gpu >= 2.4.0rc0, < 2.4.0
    Fixed in
    2.4.0· Vendor fix available
    Issue
    Impact The general implementation for matching filesystem paths to globbing pattern is vulnerable to an access out of bounds of the array holding the directories: Since dirindex is unconditionaly incremented outside of the lambda function where the vulnerable pattern occurs, this results in an access out of bounds issue under certain scenarios. For example, if /tmp/x is a directory that only contains a single file y, then the following scenario will cause a crash due to the out of bounds read: There are multiple invariants and preconditions that are assumed by the parallel implementation of GetMatchingPaths but are not verified by the PRs introducing it (#40861 and #44310). Thus, we are completely rewriting the implementation to fully specify and validate these. Patches We have patched the issue in GitHub commit 8b5b9dc96666a3a5d27fad7179ff215e3b74b67c and will release TensorFlow 2.4.0 containing the patch. TensorFlow nightly packages after this commit will also have the issue…

    Recommended action: Upgrade to 2.4.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  22. Medium, CVSS 5.9PyPIAmendedPublished

    TensorFlow vulnerable to CHECK fail in Save and SaveSlices

    CVE-2022-35983 · GHSA-m6vp-8q9j-whx4

    Affected
    • PyPI tensorflow-gpu < 2.7.2; >= 2.8.0, < 2.8.1; >= 2.9.0, < 2.9.1
    Fixed in
    2.8.12.7.22.9.1· Vendor fix available
    Issue
    Impact If Save or SaveSlices is run over tensors of an unsupported dtype, it results in a CHECK fail that can be used to trigger a denial of service attack. Patches We have patched the issue in GitHub commit 5dd7b86b84a864b834c6fa3d7f9f51c87efa99d4. 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. For more information Please consult our security guide for more information regarding the security model and how to contact us with issues and questions. Attribution This vulnerability has been reported by Di Jin, Secure Systems Labs, Brown University

    Recommended action: Upgrade to 2.9.1, 2.8.1 or 2.7.2 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  23. Medium, CVSS 5.9PyPIAmendedPublished

    TensorFlow vulnerable to CHECK fail in ParameterizedTruncatedNormal

    CVE-2022-35984 · GHSA-p2xf-8hgm-hpw5

    Affected
    • PyPI tensorflow-gpu < 2.7.2; >= 2.8.0, < 2.8.1; >= 2.9.0, < 2.9.1
    Fixed in
    2.8.12.7.22.9.1· Vendor fix available
    Issue
    Impact ParameterizedTruncatedNormal assumes shape is of type int32. A valid shape of type int64 results in a mismatched type CHECK fail that can be used to trigger a denial of service attack. Patches We have patched the issue in GitHub commit 72180be03447a10810edca700cbc9af690dfeb51. 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. For more information Please consult our security guide for more information regarding the security model and how to contact us with issues and questions. Attribution This vulnerability has been reported by Di Jin, Secure Systems Labs, Brown University

    Recommended action: Upgrade to 2.9.1, 2.8.1 or 2.7.2 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  24. Medium, CVSS 5.9PyPIAmendedPublished

    TensorFlow vulnerable to CHECK fail in LRNGrad

    CVE-2022-35985 · GHSA-9942-r22v-78cp

    Affected
    • PyPI tensorflow-gpu < 2.7.2; >= 2.8.0, < 2.8.1; >= 2.9.0, < 2.9.1
    Fixed in
    2.8.12.7.22.9.1· Vendor fix available
    Issue
    Impact If LRNGrad is given an outputimage input tensor that is not 4-D, it results in a CHECK fail that can be used to trigger a denial of service attack. Patches We have patched the issue in GitHub commit bd90b3efab4ec958b228cd7cfe9125be1c0cf255. 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. For more information Please consult our security guide for more information regarding the security model and how to contact us with issues and questions. Attribution This vulnerability has been reported by Di Jin, Secure Systems Labs, Brown University

    Recommended action: Upgrade to 2.9.1, 2.8.1 or 2.7.2 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  25. Medium, CVSS 5.9PyPIAmendedPublished

    TensorFlow vulnerable to CHECK fail in tf.linalg.matrix_rank

    CVE-2022-35988 · GHSA-9vqj-64pv-w55c

    Affected
    • PyPI tensorflow-gpu < 2.7.2; >= 2.8.0, < 2.8.1; >= 2.9.0, < 2.9.1
    Fixed in
    2.8.12.7.22.9.1· Vendor fix available
    Issue
    Impact When tf.linalg.matrixrank receives an empty input a, the GPU kernel gives a CHECK fail that can be used to trigger a denial of service attack. Patches We have patched the issue in GitHub commit c55b476aa0e0bd4ee99d0f3ad18d9d706cd1260a. 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. For more information Please consult our security guide for more information regarding the security model and how to contact us with issues and questions. Attribution This vulnerability has been reported by Kang Hong Jin.

    Recommended action: Upgrade to 2.9.1, 2.8.1 or 2.7.2 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →