Out-of-bounds Read Affecting tensorflow/tensorflow package, versions [2.4.0-rc0,2.4.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.7% (51st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Out-of-bounds Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-TENSORFLOWTENSORFLOW-2333371
  • published12 Jan 2022
  • disclosed10 Dec 2020
  • creditUnknown

Introduced: 10 Dec 2020

CVE-2020-26269  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade tensorflow/tensorflow to version 2.4.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read. 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.

Note: Please refer to https://security.snyk.io/vuln/SNYK-PYTHON-TENSORFLOW-1050420

CVSS Base Scores

version 3.1