CVE-2021-29566Out-of-bounds Write in Tensorflow

Severity
7.8HIGHNVD
CNA2.5
EPSS
0.0%
top 95.86%
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. An attacker can write outside the bounds of heap allocated arrays by passing invalid arguments to `tf.raw_ops.Dilation2DBackpropInput`. This is because the implementation(https://github.com/tensorflow/tensorflow/blob/afd954e65f15aea4d438d0a219136fc4a63a573d/tensorflow/core/kernels/dilation_ops.cc#L321-L322) does not validate before writing to the output array. The values for `h_out` and `w_out` are guaranteed to be in range f

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

Patches

🔴Vulnerability Details

4
OSV
Heap OOB access in `Dilation2DBackpropInput`2021-05-21
GHSA
Heap OOB access in `Dilation2DBackpropInput`2021-05-21
CVEList
Heap OOB access in `Dilation2DBackpropInput`2021-05-14
OSV
CVE-2021-29566: TensorFlow is an end-to-end open source platform for machine learning2021-05-14

📋Vendor Advisories

1
Debian
CVE-2021-29566: tensorflow - TensorFlow is an end-to-end open source platform for machine learning. An attack...2021
CVE-2021-29566 — Out-of-bounds Write in Tensorflow | cvebase