CVE-2021-29582Out-of-bounds Read in Tensorflow

CWE-125Out-of-bounds Read7 documents6 sources
Severity
7.1HIGHNVD
CNA2.5
EPSS
0.0%
top 95.86%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMay 14
Latest updateJul 15

Description

TensorFlow is an end-to-end open source platform for machine learning. Due to lack of validation in `tf.raw_ops.Dequantize`, an attacker can trigger a read from outside of bounds of heap allocated data. The implementation(https://github.com/tensorflow/tensorflow/blob/26003593aa94b1742f34dc22ce88a1e17776a67d/tensorflow/core/kernels/dequantize_op.cc#L106-L131) accesses the `min_range` and `max_range` tensors in parallel but fails to check that they have the same shape. The fix will be included in

CVSS vector

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

Affected Packages3 packages

NVDgoogle/tensorflow2.2.02.2.3+3
CVEListV5tensorflow/tensorflow< 2.1.4+3
PyPIintel/optimization_for_tensorflow2.2.02.2.3+4

Patches

🔴Vulnerability Details

4
GHSA
Heap OOB read in `tf.raw_ops.Dequantize`2021-05-21
OSV
Heap OOB read in `tf.raw_ops.Dequantize`2021-05-21
OSV
CVE-2021-29582: TensorFlow is an end-to-end open source platform for machine learning2021-05-14
CVEList
Heap OOB read in `tf.raw_ops.Dequantize`2021-05-14

📋Vendor Advisories

2
Oracle
Oracle Oracle Communications Risk Matrix: Signaling (Calico) — CVE-2020-295822021-07-15
Debian
CVE-2021-29582: tensorflow - TensorFlow is an end-to-end open source platform for machine learning. Due to la...2021
CVE-2021-29582 — Out-of-bounds Read in Tensorflow | cvebase