CVE-2020-5215
Summary
| CVE | CVE-2020-5215 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2020-01-28 22:15:00 UTC |
| Updated | 2020-02-05 21:02:00 UTC |
| Description | 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. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| Release TensorFlow 1.15.2 · tensorflow/tensorflow · GitHub |
MISC |
github.com |
Release Notes |
| Segmentation fault when converting a Python string to `tf.float16` · Advisory · tensorflow/tensorflow · GitHub |
CONFIRM |
github.com |
Exploit, Patch, Third Party Advisory |
| Release TensorFlow 2.0.1 · tensorflow/tensorflow · GitHub |
MISC |
github.com |
Release Notes |
| Fix segfault when attempting to convert string to float16. · tensorflow/tensorflow@5ac1b9e · GitHub |
MISC |
github.com |
Patch |
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 983114 Python (pip) Security Update for tensorflow-gpu (GHSA-977j-xj7q-2jr9)