CVE-2021-29610Improper Initialization in Tensorflow

Severity
7.8HIGHNVD
CNA3.6
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. The validation in `tf.raw_ops.QuantizeAndDequantizeV2` allows invalid values for `axis` argument:. The validation(https://github.com/tensorflow/tensorflow/blob/eccb7ec454e6617738554a255d77f08e60ee0808/tensorflow/core/kernels/quantize_and_dequantize_op.cc#L74-L77) uses `||` to mix two different conditions. If `axis_ < -1` the condition in `OP_REQUIRES` will still be true, but this value of `axis_` results in heap underflow. Th

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
OSV
Invalid validation in `QuantizeAndDequantizeV2`2021-05-21
GHSA
Invalid validation in `QuantizeAndDequantizeV2`2021-05-21
CVEList
Invalid validation in `QuantizeAndDequantizeV2`2021-05-14
OSV
CVE-2021-29610: TensorFlow is an end-to-end open source platform for machine learning2021-05-14

📋Vendor Advisories

1
Debian
CVE-2021-29610: tensorflow - TensorFlow is an end-to-end open source platform for machine learning. The valid...2021
CVE-2021-29610 — Improper Initialization in Tensorflow | cvebase