CVE-2021-41219
HIGHDescription
TensorFlow is an open source platform for machine learning. In affected versions the code for sparse matrix multiplication is vulnerable to undefined behavior via binding a reference to `nullptr`. This occurs whenever the dimensions of `a` or `b` are 0 or less. In the case on one of these is 0, an empty output tensor should be allocated (to conserve the invariant that output tensors are always allocated when the operation is successful) but nothing should be written to it (that is, we should return early from the kernel implementation). Otherwise, attempts to write to this empty tensor would result in heap OOB access. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Exploit Intelligence
Low risk: more likely to be exploited than 10% of all known CVEs.
References
Related Vulnerabilities
Other CWE-824 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2018-9948 | Medium | 6.5 | 64% | - | - |
| CVE-2018-11803 | High | 7.5 | 58% | - | Fix |
| CVE-2022-21971 | High | 7.8 | 54% | KEV | Fix |
| CVE-2010-1818 | High | 9.3 | 43% | - | - |
| CVE-2015-1770 | High | 8.8 | 35% | KEV | - |
| CVE-2017-12561 | Critical | 9.8 | 31% | - | - |
Embed a live status badge for CVE-2021-41219
Markdown
[](https://tridentstack.com/cve/CVE-2021-41219)HTML
<a href="https://tridentstack.com/cve/CVE-2021-41219"><img src="https://tridentstack.com/cve/badge/CVE-2021-41219.svg" alt="CVE-2021-41219"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.