CVE-2021-29608Incorrect Calculation of Buffer Size in Tensorflow

Severity
7.8HIGHNVD
CNA5.3
EPSS
0.1%
top 82.10%
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.RaggedTensorToTensor`, an attacker can exploit an undefined behavior if input arguments are empty. The implementation(https://github.com/tensorflow/tensorflow/blob/656e7673b14acd7835dc778867f84916c6d1cac2/tensorflow/core/kernels/ragged_tensor_to_tensor_op.cc#L356-L360) only checks that one of the tensors is not empty, but does not check for the other ones. There are multiple `DCHECK` v

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

Patches

🔴Vulnerability Details

4
GHSA
Heap OOB and null pointer dereference in `RaggedTensorToTensor`2021-05-21
OSV
Heap OOB and null pointer dereference in `RaggedTensorToTensor`2021-05-21
CVEList
Heap OOB and null pointer dereference in `RaggedTensorToTensor`2021-05-14
OSV
CVE-2021-29608: TensorFlow is an end-to-end open source platform for machine learning2021-05-14

📋Vendor Advisories

1
Debian
CVE-2021-29608: tensorflow - TensorFlow is an end-to-end open source platform for machine learning. Due to la...2021
CVE-2021-29608 — Incorrect Calculation of Buffer Size | cvebase