---
cve: "CVE-2021-41220"
severity: "HIGH"
cvss: 7.8
epss: "20%"
vendor: "tensorflow"
kev: false
exploited: false
published: "2021-11-05 23:15:08"
tags: [cve, security, high]
source: tsecurity.de CVE-Dossier
exported: "2026-09-10T08:57:14+02:00"
---

# CVE-2021-41220

> 7.8 HIGH · 🧪 PoC

## Beschreibung

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-Vektor

```
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Lokal | good |
| AC Komplexität | Gering | bad |
| PR Privilegien | Gering | warn |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Hoch | bad |

## Patch verfügbar (OSV)

- 3aa40c3ce9d16eae296f086bc4ac4d62deb2affc (Commit)
- ca38dab9d3ee66c5de06f11af9a4b1200da5ef75 (Commit)

## Referenzen

- <https://github.com/tensorflow/tensorflow/security/advisories/GHSA-gpfh-jvf9-7wg5>
- <https://github.com/tensorflow/tensorflow/commit/ca38dab9d3ee66c5de06f11af9a4b1200da5ef75>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2021-41220) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
