cve.bz

CVE-2021-41220

7.8 highEPSS 0.2%

High (7.8) in google tensorflow. EPSS 0.2% chance of exploitation in the next 30 days. Fixed in tensorflow 2.6.1, 2.7.0.

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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.2% chance of exploitation in the next 30 days; higher than 11% of CVEs (scores of 2026-10-31)
CWE
CWE-416
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-gpfh-jvf9-7wg5PyPItensorflow>=2.6.0 <2.6.12.6.1
GHSA-gpfh-jvf9-7wg5PyPItensorflow-cpu>=2.6.0 <2.6.12.6.1
GHSA-gpfh-jvf9-7wg5PyPItensorflow-gpu>=2.6.0 <2.6.12.6.1
PYSEC-2021-412PyPItensorflow>=2.6.0 <2.6.1
>=2.7.0rc0 <2.7.0
2.6.1, 2.7.0
PYSEC-2021-629PyPItensorflow-cpu>=2.6.0 <2.6.1
>=2.7.0rc0 <2.7.0
2.6.1, 2.7.0
PYSEC-2021-827PyPItensorflow-gpu>=2.6.0 <2.6.1
>=2.7.0rc0 <2.7.0
2.6.1, 2.7.0

References

Check your stackJSON