Low severityNVD Advisory· Published Dec 10, 2020· Updated Aug 4, 2024
Lack of validation in data format attributes in TensorFlow
CVE-2020-26267
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
tensorflowPyPI | < 1.15.5 | 1.15.5 |
tensorflowPyPI | >= 2.0.0, < 2.0.4 | 2.0.4 |
tensorflowPyPI | >= 2.1.0, < 2.1.3 | 2.1.3 |
tensorflowPyPI | >= 2.2.0, < 2.2.2 | 2.2.2 |
tensorflowPyPI | >= 2.3.0, < 2.3.2 | 2.3.2 |
tensorflow-cpuPyPI | < 1.15.5 | 1.15.5 |
tensorflow-cpuPyPI | >= 2.0.0, < 2.0.4 | 2.0.4 |
tensorflow-cpuPyPI | >= 2.1.0, < 2.1.3 | 2.1.3 |
tensorflow-cpuPyPI | >= 2.2.0, < 2.2.2 | 2.2.2 |
tensorflow-cpuPyPI | >= 2.3.0, < 2.3.2 | 2.3.2 |
tensorflow-gpuPyPI | < 1.15.5 | 1.15.5 |
tensorflow-gpuPyPI | >= 2.0.0, < 2.0.4 | 2.0.4 |
tensorflow-gpuPyPI | >= 2.1.0, < 2.1.3 | 2.1.3 |
tensorflow-gpuPyPI | >= 2.2.0, < 2.2.2 | 2.2.2 |
tensorflow-gpuPyPI | >= 2.3.0, < 2.3.2 | 2.3.2 |
Affected products
17- osv-coords16 versionspkg:bitnami/tensorflowpkg:pypi/tensorflowpkg:pypi/tensorflow-cpupkg:pypi/tensorflow-gpupkg:rpm/opensuse/bazel3.7&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/bazel-skylib1.0.3&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/tensorflow2_2_6_0-gnu-hpc&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/tensorflow2_2_6_0-gnu-openmpi2-hpc&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/tensorflow2&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/tensorflow2-lite&distro=openSUSE%20Leap%2015.3pkg:rpm/suse/bazel3.7&distro=SUSE%20Package%20Hub%2015%20SP3pkg:rpm/suse/bazel-skylib1.0.3&distro=SUSE%20Package%20Hub%2015%20SP3pkg:rpm/suse/tensorflow2_2_6_0-gnu-hpc&distro=SUSE%20Package%20Hub%2015%20SP3pkg:rpm/suse/tensorflow2_2_6_0-gnu-openmpi2-hpc&distro=SUSE%20Package%20Hub%2015%20SP3pkg:rpm/suse/tensorflow2&distro=SUSE%20Package%20Hub%2015%20SP3pkg:rpm/suse/tensorflow2-lite&distro=SUSE%20Package%20Hub%2015%20SP3
< 1.15.5+ 15 more
- (no CPE)range: < 1.15.5
- (no CPE)range: < 1.15.5
- (no CPE)range: < 1.15.5
- (no CPE)range: < 1.15.5
- (no CPE)range: < 3.7.2-bp153.4.1
- (no CPE)range: < 1.0.3-bp153.2.1
- (no CPE)range: < 2.6.0-bp153.2.3.1
- (no CPE)range: < 2.6.0-bp153.2.3.1
- (no CPE)range: < 2.6.0-bp153.2.3.1
- (no CPE)range: < 2.6.0-bp153.2.3.1
- (no CPE)range: < 3.7.2-bp153.4.1
- (no CPE)range: < 1.0.3-bp153.2.1
- (no CPE)range: < 2.6.0-bp153.2.3.1
- (no CPE)range: < 2.6.0-bp153.2.3.1
- (no CPE)range: < 2.6.0-bp153.2.3.1
- (no CPE)range: < 2.6.0-bp153.2.3.1
- Range: < 1.15.5
Patches
Vulnerability mechanics
References
7- github.com/advisories/GHSA-c9f3-9wfr-wgh7ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2020-26267ghsaADVISORY
- github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2020-298.yamlghsaWEB
- github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2020-333.yamlghsaWEB
- github.com/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2020-140.yamlghsaWEB
- github.com/tensorflow/tensorflow/commit/ebc70b7a592420d3d2f359e4b1694c236b82c7aeghsax_refsource_MISCWEB
- github.com/tensorflow/tensorflow/security/advisories/GHSA-c9f3-9wfr-wgh7ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.