CVE-2020-5215
MEDIUMDescription
In TensorFlow before 1.15.2 and 2.0.1, converting a string (from Python) to a tf.float16 value results in a segmentation fault in eager mode as the format checks for this use case are only in the graph mode. This issue can lead to denial of service in inference/training where a malicious attacker can send a data point which contains a string instead of a tf.float16 value. Similar effects can be obtained by manipulating saved models and checkpoints whereby replacing a scalar tf.float16 value with a scalar string will trigger this issue due to automatic conversions. This can be easily reproduced by tf.constant("hello", tf.float16), if eager execution is enabled. This issue is patched in TensorFlow 1.15.1 and 2.0.1 with this vulnerability patched. TensorFlow 2.1.0 was released after we fixed the issue, thus it is not affected. Users are encouraged to switch to TensorFlow 1.15.1, 2.0.1 or 2.1.0.
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:R/S:C/C:L/I:L/A:L
Exploit Intelligence
Moderate risk: more likely to be exploited than 44% of all known CVEs.
References
Related Vulnerabilities
Other CWE-754 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2024-4367 | High | 8.8 | 73% | - | Fix |
| CVE-2022-39288 | High | 7.5 | 59% | - | Fix |
| CVE-2023-30591 | High | 7.5 | 54% | - | - |
| CVE-2023-41993 | High | 8.8 | 29% | KEV | Fix |
| CVE-2024-43044 | High | 8.8 | 29% | - | Fix |
| CVE-2024-3393 | High | 7.5 | 27% | KEV | Fix |
Embed a live status badge for CVE-2020-5215
Markdown
[](https://tridentstack.com/cve/CVE-2020-5215)HTML
<a href="https://tridentstack.com/cve/CVE-2020-5215"><img src="https://tridentstack.com/cve/badge/CVE-2020-5215.svg" alt="CVE-2020-5215"></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.