CVE-2020-26267
Lack of validation in data format attributes in TensorFlow
4.4
MEDIUM
CVSS 3.1
EPSS 0.02%
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.
How to fix CVE-2020-26267
To remediate CVE-2020-26267, upgrade the affected package to a fixed version below.
- —upgrade to 1.15.5 or later
- —upgrade to 1.15.5 or later
- —upgrade to ebc70b7a592420d3d2f359e4b1694c236b82c7ae or later
- —upgrade to ebc70b7a592420d3d2f359e4b1694c236b82c7ae or later
- —upgrade to 1.15.5 or later
- —upgrade to ebc70b7a592420d3d2f359e4b1694c236b82c7ae or later
- —upgrade to 1.15.5 or later
Is CVE-2020-26267 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (7)
- from 0, < 1.15.5, >= 2.0.0, < 2.0.4, >= 2.1.0, < 2.1.3, >= 2.2.0, < 2.2.2, >= 2.3.0, < 2.3.2
- from 0, < 1.15.5
- from 0, < ebc70b7a592420d3d2f359e4b1694c236b82c7ae | from 0, < 1.15.5, >= 2.0.0, < 2.0.4, >= 2.1.0, < 2.1.3, >= 2.2.0, < 2.2.2, >= 2.3.0, < 2.3.2
- from 0, < ebc70b7a592420d3d2f359e4b1694c236b82c7ae | from 0, < 1.15.5, >= 2.0.0, < 2.0.4, >= 2.1.0, < 2.1.3, >= 2.2.0, < 2.2.2, >= 2.3.0, < 2.3.2
- from 0, < 1.15.5
- from 0, < ebc70b7a592420d3d2f359e4b1694c236b82c7ae | from 0, < 1.15.5, >= 2.0.0, < 2.0.4, >= 2.1.0, < 2.1.3, >= 2.2.0, < 2.2.2, >= 2.3.0, < 2.3.2
- from 0, < 1.15.5
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM4.4 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L |