CVE-2021-29549Divide By Zero in Tensorflow

CWE-369Divide By Zero6 documents5 sources
Severity
5.5MEDIUMNVD
CNA2.5
EPSS
0.0%
top 97.19%
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 runtime division by zero error and denial of service in `tf.raw_ops.QuantizedBatchNormWithGlobalNormalization`. This is because the implementation(https://github.com/tensorflow/tensorflow/blob/6f26b3f3418201479c264f2a02000880d8df151c/tensorflow/core/kernels/quantized_add_op.cc#L289-L295) computes a modulo operation without validating that the divisor is not zero. Since `vector_num_elements` is determin

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

📋Vendor Advisories

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