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

CWE-125Out-of-bounds Read7 documents6 sources
Severity
7.3HIGHNVD
EPSS
0.0%
top 88.77%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedAug 12
Latest updateJul 11

Description

TensorFlow is an end-to-end open source platform for machine learning. In affected versions an attacker can trigger a read from outside of bounds of heap allocated data by sending invalid arguments to `tf.raw_ops.ResourceScatterUpdate`. The [implementation](https://github.com/tensorflow/tensorflow/blob/f24faa153ad31a4b51578f8181d3aaab77a1ddeb/tensorflow/core/kernels/resource_variable_ops.cc#L919-L923) has an incomplete validation of the relationship between the shapes of `indices` and `updates`:

CVSS vector

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

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
OSV
Heap OOB in `ResourceScatterUpdate`2021-08-25
GHSA
Heap OOB in `ResourceScatterUpdate`2021-08-25
CVEList
Heap OOB in `ResourceScatterUpdate` in TensorFlow2021-08-12
OSV
CVE-2021-37655: TensorFlow is an end-to-end open source platform for machine learning2021-08-12

📋Vendor Advisories

1
Debian
CVE-2021-37655: tensorflow - TensorFlow is an end-to-end open source platform for machine learning. In affect...2021

📄Research Papers

1
arXiv
ConFL: Constraint-guided Fuzzing for Machine Learning Framework2023-07-11
CVE-2021-37655 — Out-of-bounds Read in Tensorflow | cvebase