CVE-2021-37686
MEDIUMDescription
TensorFlow is an end-to-end open source platform for machine learning. In affected versions the strided slice implementation in TFLite has a logic bug which can allow an attacker to trigger an infinite loop. This arises from newly introduced support for ellipsis in axis definition. An attacker can craft a model such that `ellipsis_end_idx` is smaller than `i` (e.g., always negative). In this case, the inner loop does not increase `i` and the `continue` statement causes execution to skip over the preincrement at the end of the outer loop. We have patched the issue in GitHub commit dfa22b348b70bb89d6d6ec0ff53973bacb4f4695. TensorFlow 2.6.0 is the only affected version.
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:N/I:N/A:H
Exploit Intelligence
Low risk: more likely to be exploited than 7% of all known CVEs.
References
Related Vulnerabilities
Other CWE-835 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2020-13935 | High | 7.5 | 88% | - | Fix |
| CVE-2020-36227 | High | 7.5 | 78% | - | Fix |
| CVE-2022-0778 | High | 7.5 | 71% | - | Fix |
| CVE-2019-14241 | High | 7.5 | 70% | - | - |
| CVE-2017-16944 | High | 7.5 | 63% | - | Fix |
| CVE-2024-20353 | High | 8.6 | 63% | KEV | - |
Embed a live status badge for CVE-2021-37686
Markdown
[](https://tridentstack.com/cve/CVE-2021-37686)HTML
<a href="https://tridentstack.com/cve/CVE-2021-37686"><img src="https://tridentstack.com/cve/badge/CVE-2021-37686.svg" alt="CVE-2021-37686"></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.