CVE-2021-29538Divide By Zero in Tensorflow

CWE-369Divide By Zero6 documents5 sources
Severity
5.5MEDIUMNVD
CNA2.5
EPSS
0.0%
top 87.26%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMay 14
Latest updateMay 21

Description

TensorFlow is an end-to-end open source platform for machine learning. An attacker can cause a division by zero to occur in `Conv2DBackpropFilter`. This is because the implementation(https://github.com/tensorflow/tensorflow/blob/1b0296c3b8dd9bd948f924aa8cd62f87dbb7c3da/tensorflow/core/kernels/conv_grad_filter_ops.cc#L513-L522) computes a divisor based on user provided data (i.e., the shape of the tensors given as arguments). If all shapes are empty then `work_unit_size` is 0. Since there is no c

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.2.02.2.3+3
CVEListV5tensorflow/tensorflow< 2.1.4+3
PyPIintel/optimization_for_tensorflow2.2.02.2.3+8

Patches

🔴Vulnerability Details

4
OSV
Division by zero in `Conv2DBackpropFilter`2021-05-21
GHSA
Division by zero in `Conv2DBackpropFilter`2021-05-21
OSV
CVE-2021-29538: TensorFlow is an end-to-end open source platform for machine learning2021-05-14
CVEList
Division by zero in `Conv2DBackpropFilter`2021-05-14

📋Vendor Advisories

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