CVE-2021-41202
Summary
| CVE | CVE-2021-41202 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-11-05 22:15:00 UTC |
| Updated | 2021-11-09 15:05:00 UTC |
| Description | TensorFlow is an open source platform for machine learning. In affected versions while calculating the size of the output within the `tf.range` kernel, there is a conditional statement of type `int64 = condition ? int64 : double`. Due to C++ implicit conversion rules, both branches of the condition will be cast to `double` and the result would be truncated before the assignment. This result in overflows. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| Merge pull request #51711 from yongtang:46899-tf.range · tensorflow/tensorflow@1b0e0ec · GitHub |
MISC |
github.com |
|
| `tf.sparse.eye` crashes(aborts) when num_rows contains large number · Issue #46912 · tensorflow/tensorflow · GitHub |
MISC |
github.com |
|
| Overflow/crash in `tf.range` · Advisory · tensorflow/tensorflow · GitHub |
CONFIRM |
github.com |
|
| tf.keras.backend.arange crash (abort) when start is large · Issue #46889 · tensorflow/tensorflow · GitHub |
MISC |
github.com |
|
| Merge pull request #51359 from yongtang:46913-range-overflow · tensorflow/tensorflow@6d94002 · GitHub |
MISC |
github.com |
|
| 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
- 980168 Python (pip) Security Update for tensorflow-gpu (GHSA-xrqm-fpgr-6hhx)