Skip to content

CVE-2021-41220 Use after free in `CollectiveReduceV2`

HighCVSS 7.8 EPSS 0.21%
Published
Updated
Exploit status
No public exploit known
Technology
Debian

Description

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.

Upgrade path

5 packages: 4 fixed.

PackageAffectedFixed inStatus
Google tensorflow = 2.7.0-rc0; = 2.7.0-rc1; >= 2.6.0, < 2.6.1 2.6.1 Fixed
pypi tensorflow(PyPI) = 2.6.0; = 2.7.0rc0; = 2.7.0rc1; >= 2.6.0, < 2.6.1 +1 more 2.6.1, 2.7.0 Fixed
pypi tensorflow-cpu(PyPI) = 2.6.0; = 2.7.0rc0; = 2.7.0rc1; >= 2.6.0, < 2.6.1 +1 more 2.6.1, 2.7.0 Fixed
pypi tensorflow-gpu(PyPI) = 2.6.0; = 2.7.0rc0; = 2.7.0rc1; >= 2.6.0, < 2.6.1 +1 more 2.6.1, 2.7.0 Fixed
TensorFlow = >= 2.6.0, < 2.6.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi tensorflow(PyPI) >= 2.6.0, < 2.6.1 2.6.1
pypi tensorflow(PyPI) = 2.6.0 No fix listed
pypi tensorflow-cpu(PyPI) >= 2.6.0, < 2.6.1 2.6.1
pypi tensorflow-cpu(PyPI) = 2.6.0 No fix listed
pypi tensorflow-gpu(PyPI) >= 2.6.0, < 2.6.1 2.6.1
pypi tensorflow-gpu(PyPI) = 2.6.0 No fix listed
pypi tensorflow(PyPI) >= 2.7.0rc0, < 2.7.0 2.7.0
pypi tensorflow(PyPI) = 2.7.0rc0 No fix listed
pypi tensorflow(PyPI) = 2.7.0rc1 No fix listed
pypi tensorflow-cpu(PyPI) >= 2.7.0rc0, < 2.7.0 2.7.0
pypi tensorflow-cpu(PyPI) = 2.7.0rc0 No fix listed
pypi tensorflow-cpu(PyPI) = 2.7.0rc1 No fix listed
pypi tensorflow-gpu(PyPI) >= 2.7.0rc0, < 2.7.0 2.7.0
pypi tensorflow-gpu(PyPI) = 2.7.0rc0 No fix listed
pypi tensorflow-gpu(PyPI) = 2.7.0rc1 No fix listed
Google tensorflow >= 2.6.0, < 2.6.1 2.6.1
Google tensorflow = 2.7.0-rc0 No fix listed
Google tensorflow = 2.7.0-rc1 No fix listed
TensorFlow = >= 2.6.0, < 2.6.1 No fix listed

References