Vulnerability · Published Dec 10, 2020 · Assigned by GitHub_M

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

High 7.5

In plain English

A high-severity out-of-bounds read in tensorflow from tensorflow. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.5High
Exploit odds (30 days)0.7%top 46.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPItensorflow2.4.0GHSA-9jjw-hf72-3mxw
PyPItensorflow2.4.0PYSEC-2020-141
PyPItensorflow-cpu2.4.0GHSA-9jjw-hf72-3mxw
PyPItensorflow-cpu2.4.0PYSEC-2020-300
PyPItensorflow-gpu2.4.0GHSA-9jjw-hf72-3mxw
PyPItensorflow-gpu2.4.0PYSEC-2020-335

Affected products (as reported)

VendorProductVersions
tensorflow tensorflow .4.0rc*

Weakness: CWE-125

References