CVE-2020-26267

Severity CVSS v4.0:
Pending analysis
Type:
CWE-125 Out-of-bounds Read
Publication date:
10/12/2020
Last modified:
17/08/2021

Description

In affected versions of TensorFlow the tf.raw_ops.DataFormatVecPermute API does not validate the src_format and dst_format attributes. The code assumes that these two arguments define a permutation of NHWC. This can result in uninitialized memory accesses, read outside of bounds and even crashes. This is fixed in versions 1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2, and 2.4.0.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* 1.15.5 (excluding)
cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* 2.0.0 (including) 2.0.4 (excluding)
cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* 2.1.0 (including) 2.1.3 (excluding)
cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* 2.2.0 (including) 2.2.2 (excluding)
cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* 2.3.0 (including) 2.3.2 (excluding)