CVE-2021-29554
Summary
| CVE | CVE-2021-29554 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-05-14 19:15:00 UTC |
| Updated | 2021-05-20 16:05:00 UTC |
| Description | 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. |
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|
| Application |
Google |
Tensorflow |
All |
All |
All |
All |
References
| Reference | Source | Link | Tags |
|---|
| Division by 0 in `DenseCountSparseOutput` · Advisory · tensorflow/tensorflow · GitHub |
CONFIRM |
github.com |
|
| Fix FPE issue with `tf.raw_ops.DenseCountSparseOutput`. · tensorflow/tensorflow@da5ff2d · 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
- 982495 Python (pip) Security Update for tensorflow-gpu (GHSA-qg48-85hg-mqc5)