Skip to main content
← All vulnerabilities
CVE-2022-23561GHSA-9C78-VCQ7-7VXQBIT-TENSORFLOW-2022-23561PYSEC-2022-125PYSEC-2022-70PYSEC-2026-3148

Out of bounds write in TFLite

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.7.1, 2.6.3, 2.5.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

Tensorflow is an Open Source Machine Learning Framework. An attacker can craft a TFLite model that would cause a write outside of bounds of an array in TFLite. In fact, the attacker can override the linked list used by the memory allocator. This can be leveraged for an arbitrary write primitive under certain conditions. The fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, as these are also affected and still in supported range.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • tensorflow tensorflow

    From 2.7.0 · fixed in 2.7.1; From 2.6.0 · fixed in 2.6.3; fixed in 2.5.3

  • tensorflowPyPI

    fixed in 2.5.3

  • tensorflowPyPI

    From 2.6.0 · fixed in 2.6.3

  • tensorflowPyPI

    From 2.7.0 · fixed in 2.7.1

  • tensorflow-cpuPyPI

    fixed in 2.5.3

  • tensorflow-cpuPyPI

    From 2.6.0 · fixed in 2.6.3

  • tensorflow-cpuPyPI

    From 2.7.0 · fixed in 2.7.1

  • tensorflow-gpuPyPI

    fixed in 2.5.3

  • tensorflow-gpuPyPI

    From 2.6.0 · fixed in 2.6.3

  • tensorflow-gpuPyPI

    From 2.7.0 · fixed in 2.7.1

  • tensorflow-gpuPyPI

    fixed in 2.5.3; From 2.6.0 · fixed in 2.6.3

  • tensorflow-cpuPyPI

    fixed in 2.5.3; From 2.6.0 · fixed in 2.6.3

  • tensorflowPyPI

    fixed in 2.5.3; From 2.6.0 · fixed in 2.6.3; From 2.7.0 · fixed in 2.7.1

References 2

GitHub · tensorflow/tensorflow