#VU49325 Out-of-bounds read in TensorFlow


Published: 2020-12-11 | Updated: 2021-01-07

Vulnerability identifier: #VU49325

Vulnerability risk: Low

CVSSv3.1: 2.2 [CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-26267

CWE-ID: CWE-125

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
TensorFlow
Server applications / Other server solutions

Vendor: TensorFlow

Description

The vulnerability allows a local user to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition within the the tf.raw_ops.DataFormatVecPermute API when processing the src_format and dst_format attributes. The code assumes that these two arguments define a permutation of NHWC. A local user can run a specially crafted program to trigger out-of-bounds read error and read contents of memory on the system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

TensorFlow: 2.0.0 - 2.0.3, 2.2.0 - 2.2.1, 2.3.0 - 2.3.1, 2.1.0 - 2.1.2, 1.15.0 - 1.15.4, 1.14.0, 1.13.1 - 1.13.2, 1.12.0 - 1.12.3, 1.11.0, 1.10.0 - 1.10.1, 1.9.0, 1.8.0, 1.7.0 - 1.7.1, 1.6.0, 1.5.0 - 1.5.1, 1.4.0 - 1.4.1, 1.3.0 - 1.3.1, 1.2.0 - 1.2.1, 1.1.0, 1.0.0 - 1.0.1


External links
http://github.com/tensorflow/tensorflow/commit/ebc70b7a592420d3d2f359e4b1694c236b82c7ae
http://github.com/tensorflow/tensorflow/security/advisories/GHSA-c9f3-9wfr-wgh7
http://github.com/tensorflow/tensorflow/releases/tag/v2.3.2
http://github.com/tensorflow/tensorflow/releases/tag/v2.2.2
http://github.com/tensorflow/tensorflow/releases/tag/v2.1.3
http://github.com/tensorflow/tensorflow/releases/tag/v2.0.4
http://github.com/tensorflow/tensorflow/releases/tag/v1.15.5


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability