CVE-2021-37669
MEDIUMDescription
TensorFlow is an end-to-end open source platform for machine learning. In affected versions an attacker can cause denial of service in applications serving models using `tf.raw_ops.NonMaxSuppressionV5` by triggering a division by 0. The implementation uses a user controlled argument to resize a `std::vector`. However, as `std::vector::resize` takes the size argument as a `size_t` and `output_size` is an `int`, there is an implicit conversion to unsigned. If the attacker supplies a negative value, this conversion results in a crash. A similar issue occurs in `CombinedNonMaxSuppression`. We have patched the issue in GitHub commit 3a7362750d5c372420aa8f0caf7bf5b5c3d0f52d and commit [b5cdbf12ffcaaffecf98f22a6be5a64bb96e4f58. The fix will be included in TensorFlow 2.6.0. We will also cherrypick this commit on TensorFlow 2.5.1, TensorFlow 2.4.3, and TensorFlow 2.3.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: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-681 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2009-0231 | High | 8.8 | 37% | - | - |
| CVE-2016-3074 | Critical | 9.8 | 37% | - | Fix |
| CVE-2008-1721 | High | 7.5 | 23% | - | Fix |
| CVE-2017-7308 | High | 7.8 | 18% | - | Fix |
| CVE-2022-34169 | High | 7.5 | 18% | - | Fix |
| CVE-2022-43663 | High | 8.1 | 14% | - | - |
Embed a live status badge for CVE-2021-37669
Markdown
[](https://tridentstack.com/cve/CVE-2021-37669)HTML
<a href="https://tridentstack.com/cve/CVE-2021-37669"><img src="https://tridentstack.com/cve/badge/CVE-2021-37669.svg" alt="CVE-2021-37669"></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.