Skip to main content
← All vulnerabilities
CVE-2021-41220PYSEC-2021-629BIT-TENSORFLOW-2021-41220GHSA-GPFH-JVF9-7WG5PYSEC-2021-412PYSEC-2021-827

Use after free in `CollectiveReduceV2`

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.6.1, 2.7.0
None on Exploit-DB, Metasploit or GitHub

Summary

TensorFlow is an open source platform for machine learning. In affected versions the async implementation of `CollectiveReduceV2` suffers from a memory leak and a use after free. This occurs due to the asynchronous computation and the fact that objects that have been `std::move()`d from are still accessed. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, as this version is the only one that is also affected.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • tensorflow tensorflow

    From 2.6.0 · fixed in 2.6.1

  • tensorflow-cpuPyPI

    From 2.6.0 · fixed in 2.6.1; From 2.7.0rc0 · fixed in 2.7.0

  • tensorflowPyPI

    From 2.6.0 · fixed in 2.6.1; From 2.7.0rc0 · fixed in 2.7.0

  • tensorflow-gpuPyPI

    From 2.6.0 · fixed in 2.6.1; From 2.7.0rc0 · fixed in 2.7.0

  • tensorflowPyPI

    From 2.6.0 · fixed in 2.6.1

  • tensorflow-cpuPyPI

    From 2.6.0 · fixed in 2.6.1

  • tensorflow-gpuPyPI

    From 2.6.0 · fixed in 2.6.1

References 2

GitHub · tensorflow/tensorflow