CVE-2021-29580Use of Uninitialized Resource in Tensorflow

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. The implementation of `tf.raw_ops.FractionalMaxPoolGrad` triggers an undefined behavior if one of the input tensors is empty. The code is also vulnerable to a denial of service attack as a `CHECK` condition becomes false and aborts the process. The implementation(https://github.com/tensorflow/tensorflow/blob/169054888d50ce488dfde9ca55d91d6325efbd5b/tensorflow/core/kernels/fractional_max_pool_op.cc#L215) fails to validate that

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

Patches

🔴Vulnerability Details

4
OSV
Undefined behavior and `CHECK`-fail in `FractionalMaxPoolGrad`2021-05-21
GHSA
Undefined behavior and `CHECK`-fail in `FractionalMaxPoolGrad`2021-05-21
CVEList
Undefined behavior and `CHECK`-fail in `FractionalMaxPoolGrad`2021-05-14
OSV
CVE-2021-29580: TensorFlow is an end-to-end open source platform for machine learning2021-05-14

📋Vendor Advisories

1
Debian
CVE-2021-29580: tensorflow - TensorFlow is an end-to-end open source platform for machine learning. The imple...2021
CVE-2021-29580 — Use of Uninitialized Resource | cvebase