CVE-2021-29554
LOWDescription
TensorFlow is an end-to-end open source platform for machine learning. An attacker can cause a denial of service via a FPE runtime error in `tf.raw_ops.DenseCountSparseOutput`. This is because the implementation(https://github.com/tensorflow/tensorflow/blob/efff014f3b2d8ef6141da30c806faf141297eca1/tensorflow/core/kernels/count_ops.cc#L123-L127) computes a divisor value from user data but does not check that the result is 0 before doing the division. Since `data` is given by the `values` argument, `num_batch_elements` is 0. The fix will be included in TensorFlow 2.5.0. We will also cherrypick this commit on TensorFlow 2.4.2, and TensorFlow 2.3.3, as these are also affected.
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:H/PR:L/UI:N/S:U/C:N/I:N/A:L
Exploit Intelligence
Low risk: more likely to be exploited than 9% of all known CVEs.
References
Related Vulnerabilities
Other CWE-369 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2012-0207 | High | 7.5 | 20% | - | Fix |
| CVE-2017-8537 | Medium | 5.5 | 17% | - | - |
| CVE-2017-8536 | Medium | 5.5 | 17% | - | - |
| CVE-2017-8535 | Medium | 5.5 | 17% | - | - |
| CVE-2007-2237 | Medium | 5.5 | 15% | - | - |
| CVE-2025-0317 | High | 7.5 | 13% | - | - |
Embed a live status badge for CVE-2021-29554
Markdown
[](https://tridentstack.com/cve/CVE-2021-29554)HTML
<a href="https://tridentstack.com/cve/CVE-2021-29554"><img src="https://tridentstack.com/cve/badge/CVE-2021-29554.svg" alt="CVE-2021-29554"></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.