CVE-2021-29546Divide By Zero in Tensorflow

CWE-369Divide By Zero6 documents5 sources
Severity
7.8HIGHNVD
CNA2.5
EPSS
0.0%
top 95.91%
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 trigger an integer division by zero undefined behavior in `tf.raw_ops.QuantizedBiasAdd`. This is because the implementation of the Eigen kernel(https://github.com/tensorflow/tensorflow/blob/61bca8bd5ba8a68b2d97435ddfafcdf2b85672cd/tensorflow/core/kernels/quantization_utils.h#L812-L849) does a division by the number of elements of the smaller input (based on shape) without checking that this is not zero. The fi

CVSS vector

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

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
GHSA
Division by 0 in `QuantizedBiasAdd`2021-05-21
OSV
Division by 0 in `QuantizedBiasAdd`2021-05-21
OSV
CVE-2021-29546: TensorFlow is an end-to-end open source platform for machine learning2021-05-14
CVEList
Division by 0 in `QuantizedBiasAdd`2021-05-14

📋Vendor Advisories

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