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

CWE-125Out-of-bounds Read6 documents5 sources
Severity
5.5MEDIUMNVD
EPSS
0.0%
top 88.01%
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 [`expand_dims.cc`](https://github.com/tensorflow/tensorflow/blob/149562d49faa709ea80df1d99fc41d005b81082a/tensorflow/lite/kernels/expand_dims.cc#L36-L50) contains a vulnerability which allows reading one element outside of bounds of heap allocated data. If `axis` is a large negative value (e.g., `-100000`), then after the first `if` it would still be negative. The check following the `if` stateme

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

Patches

🔴Vulnerability Details

4
GHSA
Heap OOB in TFLite2021-08-25
OSV
Heap OOB in TFLite2021-08-25
CVEList
Heap OOB in TensorFlow Lite2021-08-12
OSV
CVE-2021-37685: TensorFlow is an end-to-end open source platform for machine learning2021-08-12

📋Vendor Advisories

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