CVE-2021-37642Divide By Zero in Tensorflow

CWE-369Divide By Zero6 documents5 sources
Severity
5.5MEDIUMNVD
EPSS
0.0%
top 98.55%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedAug 12
Latest updateAug 25

Description

TensorFlow is an end-to-end open source platform for machine learning. In affected versions the implementation of `tf.raw_ops.ResourceScatterDiv` is vulnerable to a division by 0 error. The [implementation](https://github.com/tensorflow/tensorflow/blob/8d72537c6abf5a44103b57b9c2e22c14f5f49698/tensorflow/core/kernels/resource_variable_ops.cc#L865) uses a common class for all binary operations but fails to treat the division by 0 case separately. We have patched the issue in GitHub commit 4aacb308

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages3 packages

NVDgoogle/tensorflow2.3.02.3.4+3
CVEListV5tensorflow/tensorflow< 2.3.4+2
PyPIintel/optimization_for_tensorflow2.3.02.3.4+4

Patches

🔴Vulnerability Details

4
GHSA
Division by 0 in `ResourceScatterDiv`2021-08-25
OSV
Division by 0 in `ResourceScatterDiv`2021-08-25
CVEList
Division by 0 in `ResourceScatterDiv` in TensorFlow2021-08-12
OSV
CVE-2021-37642: TensorFlow is an end-to-end open source platform for machine learning2021-08-12

📋Vendor Advisories

1
Debian
CVE-2021-37642: tensorflow - TensorFlow is an end-to-end open source platform for machine learning. In affect...2021
CVE-2021-37642 — Divide By Zero in Tensorflow | cvebase