Skip to content
OpenAdvisories
Critical · 9.1 CVE-2020-26269 BIT-tensorflow-2020-26269EUVD-2020-0216GHSA-9jjw-hf72-3mxwPYSEC-2020-141PYSEC-2020-300PYSEC-2020-335

Heap out of bounds read in filesystem glob matching in TensorFlow

Published Dec 10, 2020 · Updated Aug 4, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
tensorflow tensorflow .4.0rc* —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI tensorflow >= 2.4.0rc0, < 2.4.0 2.4.0 GHSA-9jjw-hf72-3mxw
PyPI tensorflow-cpu >= 2.4.0rc0, < 2.4.0 2.4.0 GHSA-9jjw-hf72-3mxw
PyPI tensorflow-gpu >= 2.4.0rc0, < 2.4.0 2.4.0 GHSA-9jjw-hf72-3mxw

References