CVE-2020-26269
Heap out of bounds read in filesystem glob matching in TensorFlow
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.
How to fix CVE-2020-26269
To remediate CVE-2020-26269, upgrade the affected package to a fixed version below.
- —upgrade to 2.4.0 or later
- —upgrade to 2.4.0 or later
- —upgrade to 8b5b9dc96666a3a5d27fad7179ff215e3b74b67c or later
- —upgrade to 8b5b9dc96666a3a5d27fad7179ff215e3b74b67c or later
- —upgrade to 2.4.0 or later
- —upgrade to 8b5b9dc96666a3a5d27fad7179ff215e3b74b67c or later
- —upgrade to 2.4.0 or later
Is CVE-2020-26269 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (7)
- >= 2.4.0-rc0, < 2.4.0, >= 2.4.0-rc1, < 2.4.0, >= 2.4.0-rc2, < 2.4.0, >= 2.4.0-rc3, < 2.4.0, >= 2.4.0-rc4, < 2.4.0
- >= 2.4.0rc0, < 2.4.0
- from 0, < 8b5b9dc96666a3a5d27fad7179ff215e3b74b67c | >= 2.4.0rc0, < 2.4.0
- from 0, < 8b5b9dc96666a3a5d27fad7179ff215e3b74b67c | >= 2.4.0rc0, < 2.4.0
- >= 2.4.0rc0, < 2.4.0
- from 0, < 8b5b9dc96666a3a5d27fad7179ff215e3b74b67c | >= 2.4.0rc0, < 2.4.0
- >= 2.4.0rc0, < 2.4.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | CRITICAL9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |