Out-of-Bound Affecting tensorflow-cpu package, versions [,2.5.3)[2.6.0,2.6.3)[2.7.0,2.7.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.29% (70th 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 IDSNYK-PYTHON-TENSORFLOWCPU-2395434
  • published7 Feb 2022
  • disclosed7 Feb 2022
  • creditUnknown

Introduced: 7 Feb 2022

CVE-2022-23574  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade tensorflow-cpu to version 2.5.3, 2.6.3, 2.7.1 or higher.

Overview

tensorflow-cpu is a machine learning framework.

Affected versions of this package are vulnerable to Out-of-Bound via a typo in TensorFlow's SpecializeType. A nested loop inside a function initializes a pointer to an argument (arg) by using the outer loop's index (i), instead of the inner loop index (j), allowing to assign to arg from outside the vector of arguments, resulting in the ability to read/write out of bounds.

CVSS Scores

version 3.1