Skip to content

CVE-2020-26269 Heap out of bounds read in filesystem glob matching in TensorFlow

HighCVSS 7.5 EPSS 0.70%
Published
Updated
Exploit status
No public exploit known
Technology
Debian

Description

In TensorFlow release candidate versions 2.4.0rc*, the general implementation for matching filesystem paths to globbing pattern is vulnerable to an access out of bounds of the array holding the directories. There are multiple invariants and preconditions that are assumed by the parallel implementation of GetMatchingPaths but are not verified by the PRs introducing it (#40861 and #44310). Thus, we are completely rewriting the implementation to fully specify and validate these. This is patched in version 2.4.0. This issue only impacts master branch and the release candidates for TF version 2.4. The final release of the 2.4 release will be patched.

Upgrade path

5 packages: 3 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
TensorFlow All versions No fix listed No fix yet
pypi tensorflow(PyPI) = 2.4.0rc0; = 2.4.0rc1; = 2.4.0rc2; = 2.4.0rc3 +2 more 2.4.0 Fixed
pypi tensorflow-cpu(PyPI) >= 2.4.0rc0, < 2.4.0 2.4.0 Fixed
pypi tensorflow-gpu(PyPI) >= 2.4.0rc0, < 2.4.0 2.4.0 Fixed
Google tensorflow = 2.4.0-rc0; = 2.4.0-rc1; = 2.4.0-rc2; = 2.4.0-rc3 +1 more No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi tensorflow(PyPI) >= 2.4.0rc0, < 2.4.0 2.4.0
pypi tensorflow-cpu(PyPI) >= 2.4.0rc0, < 2.4.0 2.4.0
pypi tensorflow-gpu(PyPI) >= 2.4.0rc0, < 2.4.0 2.4.0
pypi tensorflow(PyPI) = 2.4.0rc0 No fix listed
pypi tensorflow(PyPI) = 2.4.0rc1 No fix listed
pypi tensorflow(PyPI) = 2.4.0rc2 No fix listed
pypi tensorflow(PyPI) = 2.4.0rc3 No fix listed
pypi tensorflow(PyPI) = 2.4.0rc4 No fix listed
Google tensorflow = 2.4.0-rc0 No fix listed
Google tensorflow = 2.4.0-rc1 No fix listed
Google tensorflow = 2.4.0-rc2 No fix listed
Google tensorflow = 2.4.0-rc3 No fix listed
Google tensorflow = 2.4.0-rc4 No fix listed
TensorFlow All versions No fix listed

References