CVE-2021-29581Use 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. Due to lack of validation in `tf.raw_ops.CTCBeamSearchDecoder`, an attacker can trigger denial of service via segmentation faults. The implementation(https://github.com/tensorflow/tensorflow/blob/a74768f8e4efbda4def9f16ee7e13cf3922ac5f7/tensorflow/core/kernels/ctc_decoder_ops.cc#L68-L79) fails to detect cases when the input tensor is empty and proceeds to read data from a null buffer. The fix will be included in TensorFlow 2.

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

📋Vendor Advisories

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