{"id":"CVE-2020-26269","published":"2020-12-10T22:10:28Z","modified":"2024-08-04T15:56:04Z","title":"Heap out of bounds read in filesystem glob matching in TensorFlow","vendor":"tensorflow","product":"tensorflow","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00697,"percentile":0.53971,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-9jjw-hf72-3mxw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tensorflow/tensorflow/commit/8b5b9dc96666a3a5d27fad7179ff215e3b74b67c","tags":["x_refsource_MISC"]}],"priority":{"score":10.8,"factors":[{"name":"EPSS percentile","points":10.79}]},"vendorSlug":"tensorflow","affectedVersions":[{"vendor":"tensorflow","product":"tensorflow","versions":[".4.0rc*"]}],"affected":[{"ecosystem":"PyPI","package":"tensorflow","vulnerableRanges":[">=2.4.0rc0, <2.4.0"],"patched":["2.4.0"],"from":["GHSA-9jjw-hf72-3mxw","PYSEC-2020-141"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-cpu","vulnerableRanges":[">=2.4.0rc0, <2.4.0"],"patched":["2.4.0"],"from":["GHSA-9jjw-hf72-3mxw","PYSEC-2020-300"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-gpu","vulnerableRanges":[">=2.4.0rc0, <2.4.0"],"patched":["2.4.0"],"from":["GHSA-9jjw-hf72-3mxw","PYSEC-2020-335"],"provenance":"source"}],"summary":{"text":"A heap out-of-bounds read flaw exists in the filesystem glob matching code of TensorFlow, specifically in the parallel implementation of GetMatchingPaths that matches filesystem paths against globbing patterns, and it affects the master branch and the 2.4 release candidates. An attacker can read memory beyond the bounds of the array holding the directories, which arises from unverified invariants in that code path, so exploitation depends on the vulnerable code path being reached through a glob-matching operation.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:09:03Z"},"euvd":{"id":"EUVD-2020-0216","exploited":false,"provenance":"source"}}