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

CWE-125Out-of-bounds Read6 documents5 sources
Severity
5.5MEDIUMNVD
EPSS
0.0%
top 86.62%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedAug 12
Latest updateAug 25

Description

TensorFlow is an end-to-end open source platform for machine learning. In affected versions TFLite's [`GatherNd` implementation](https://github.com/tensorflow/tensorflow/blob/149562d49faa709ea80df1d99fc41d005b81082a/tensorflow/lite/kernels/gather_nd.cc#L124) does not support negative indices but there are no checks for this situation. Hence, an attacker can read arbitrary data from the heap by carefully crafting a model with negative values in `indices`. Similar issue exists in [`Gather` impleme

CVSS vector

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

Affected Packages3 packages

NVDgoogle/tensorflow2.3.02.3.4+3
CVEListV5tensorflow/tensorflow< 2.3.4+2
PyPIintel/optimization_for_tensorflow2.4.02.4.3+5

Patches

🔴Vulnerability Details

4
OSV
Heap OOB in TFLite's `Gather*` implementations2021-08-25
GHSA
Heap OOB in TFLite's `Gather*` implementations2021-08-25
OSV
CVE-2021-37687: TensorFlow is an end-to-end open source platform for machine learning2021-08-12
CVEList
Heap OOB in TensorFlow Lite's `Gather*` implementations2021-08-12

📋Vendor Advisories

1
Debian
CVE-2021-37687: tensorflow - TensorFlow is an end-to-end open source platform for machine learning. In affect...2021
CVE-2021-37687 — Out-of-bounds Read in Tensorflow | cvebase