Use After Free in Google Tensorflow
CVE-2021-41220
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.
Vulnerability class: Use-After-Free
EPSS: 0.002 (10.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Google Tensorflow — versions 2.7.0
- Tensorflow — versions >= 2.6.0, < 2.6.1
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Patch, Third Party Advisory)
- security-advisories@github.com (Patch, Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2021-41220?
- CVE-2021-41220 is a high-severity vulnerability in Google Tensorflow, classified under Use After Free. CVSS score: 7.8/10. Published 2021-11-05.
- How severe is CVE-2021-41220?
- High severity. CVSS v3 base score is 7.8 out of 10.