CVE-2020-26269
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.
EPSS 0.14% · 33.9th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| PyPI | tensorflow | 2.4.0rc0 |
| PyPI | tensorflow-cpu | 2.4.0rc0 |
| PyPI | tensorflow-gpu | 2.4.0rc0 |
| tensorflow | 2.4.0, 2.4.0, 2.4.0 | |
| tensorflow | tensorflow | .4.0rc* |
Exploit Intelligence
Timeline
- Dec 10, 2020 CVE Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Aug 24, 2021 EPSS Score
- Oct 26, 2021 EPSS Score
- Jan 6, 2022 EPSS Score
- Feb 4, 2022 EPSS Score
- Feb 28, 2022 EPSS Score
- Apr 1, 2022 EPSS Score
- May 1, 2022 EPSS Score
- Jul 3, 2022 EPSS Score
- Sep 4, 2022 EPSS Score
References
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-9jjw-hf72-3mxw url
- https://github.com/tensorflow/tensorflow/commit/8b5b9dc96666a3a5d27fad7179ff215e3b74b67c url
- https://nvd.nist.gov/vuln/detail/CVE-2020-26269 advisory
- https://github.com/tensorflow/tensorflow/pull/40861 url
- https://github.com/tensorflow/tensorflow/pull/44310 url
- https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2020-300.yaml url
- https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2020-335.yaml url
- https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2020-141.yaml url
- https://github.com/tensorflow/tensorflow package
- https://github.com/tensorflow/tensorflow/blob/458c6260265c46ebaf18052d6c61aea4b6b40926/tensorflow/core/platform/file_system_helper.cc#L106 url
- https://github.com/tensorflow/tensorflow/blob/458c6260265c46ebaf18052d6c61aea4b6b40926/tensorflow/core/platform/file_system_helper.cc#L127 url