CVE-2021-29577Improper Restriction of Operations within the Bounds of a Memory Buffer in Tensorflow

Severity
7.8HIGHNVD
CNA2.5
EPSS
0.0%
top 95.45%
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 implementation of `tf.raw_ops.AvgPool3DGrad` is vulnerable to a heap buffer overflow. The implementation(https://github.com/tensorflow/tensorflow/blob/d80ffba9702dc19d1fac74fc4b766b3fa1ee976b/tensorflow/core/kernels/pooling_ops_3d.cc#L376-L450) assumes that the `orig_input_shape` and `grad` tensors have similar first and last dimensions but does not check that this assumption is validated. The fix will be included in Tens

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+4

Patches

🔴Vulnerability Details

4
GHSA
Heap buffer overflow in `AvgPool3DGrad`2021-05-21
OSV
Heap buffer overflow in `AvgPool3DGrad`2021-05-21
OSV
CVE-2021-29577: TensorFlow is an end-to-end open source platform for machine learning2021-05-14
CVEList
Heap buffer overflow in `AvgPool3DGrad`2021-05-14

📋Vendor Advisories

1
Debian
CVE-2021-29577: tensorflow - TensorFlow is an end-to-end open source platform for machine learning. The imple...2021
CVE-2021-29577 — Tensorflow vulnerability | cvebase