CVE-2021-41220
CVE-2021-41220 · Use after free in `CollectiveReduceV2`
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 7.8 · High · EPSS 0.2% · Fix available
- Published
- Updated
Stack: python
Affected products and versions
tensorflow
- Versions
- >= 2.6.0, < 2.6.1: Affected
No fix published
tensorflow PyPI
- Versions
- 2.6.0
- Affected ranges
- ECOSYSTEM: ≥ 2.6.0, < 2.6.1
Update to 2.6.1
tensorflow-cpu PyPI
- Versions
- 2.6.0
- Affected ranges
- ECOSYSTEM: ≥ 2.6.0, < 2.6.1
Update to 2.6.1
tensorflow-gpu PyPI
- Versions
- 2.6.0
- Affected ranges
- ECOSYSTEM: ≥ 2.6.0, < 2.6.1
Update to 2.6.1
tensorflow PyPI
- Versions
- 2.6.0
- 2.7.0rc0
- 2.7.0rc1
- Affected ranges
- GIT: < ca38dab9d3ee66c5de06f11af9a4b1200da5ef75
- ECOSYSTEM: ≥ 2.6.0, < 2.6.1 ∪ ≥ 2.7.0rc0, < 2.7.0
Update to 2.6.1; Update to 2.7.0
tensorflow-cpu PyPI
- Versions
- 2.6.0
- 2.7.0rc0
- 2.7.0rc1
- Affected ranges
- GIT: < ca38dab9d3ee66c5de06f11af9a4b1200da5ef75
- ECOSYSTEM: ≥ 2.6.0, < 2.6.1 ∪ ≥ 2.7.0rc0, < 2.7.0
Update to 2.6.1; Update to 2.7.0
tensorflow-gpu PyPI
- Versions
- 2.6.0
- 2.7.0rc0
- 2.7.0rc1
- Affected ranges
- GIT: < ca38dab9d3ee66c5de06f11af9a4b1200da5ef75
- ECOSYSTEM: ≥ 2.6.0, < 2.6.1 ∪ ≥ 2.7.0rc0, < 2.7.0
Update to 2.6.1; Update to 2.7.0