Skip to main content
← All vulnerabilities
CVE-2022-35934PYSEC-2026-3316BIT-TENSORFLOW-2022-35934GHSA-F4W6-H4F5-WX45PYSEC-2026-3168PYSEC-2026-987

`CHECK` failure in tf.reshape in Tensorflow

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.7.2, 2.8.1, 2.9.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • tensorflow tensorflow

    fixed in 2.7.2; From 2.8.0 · fixed in 2.8.1; From 2.9.0 · fixed in 2.9.1

  • tensorflow-cpuPyPI

    fixed in 2.7.2; From 2.8.0 · fixed in 2.8.1; From 2.9.0 · fixed in 2.9.1

  • tensorflow-gpuPyPI

    fixed in 2.7.2; From 2.8.0 · fixed in 2.8.1; From 2.9.0 · fixed in 2.9.1

  • tensorflowPyPI

    fixed in 2.7.2

  • tensorflowPyPI

    From 2.8.0 · fixed in 2.8.1

  • tensorflowPyPI

    From 2.9.0 · fixed in 2.9.1

  • tensorflow-cpuPyPI

    fixed in 2.7.2

  • tensorflow-cpuPyPI

    From 2.8.0 · fixed in 2.8.1

  • tensorflow-cpuPyPI

    From 2.9.0 · fixed in 2.9.1

  • tensorflow-gpuPyPI

    fixed in 2.7.2

  • tensorflow-gpuPyPI

    From 2.8.0 · fixed in 2.8.1

  • tensorflow-gpuPyPI

    From 2.9.0 · fixed in 2.9.1

  • tensorflowPyPI

    fixed in 2.7.2; From 2.8.0 · fixed in 2.8.1; From 2.9.0 · fixed in 2.9.1

References 2

GitHub · tensorflow/tensorflow