Type Confusion Affecting tensorflow-gpu package, versions [,2.6.4)[2.7.0,2.7.2)[2.8.0,2.8.1)[2.9.0rc0, 2.9.0)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.1% (43rd 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 Type Confusion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-TENSORFLOWGPU-2841444
  • published22 May 2022
  • disclosed22 May 2022
  • creditUnknown

Introduced: 22 May 2022

CVE-2022-29209  (opens in a new tab)
CWE-843  (opens in a new tab)

How to fix?

Upgrade tensorflow-gpu to version 2.6.4, 2.7.2, 2.8.1, 2.9.0 or higher.

Overview

tensorflow-gpu is a machine learning framework.

Affected versions of this package are vulnerable to Type Confusion because the macros used for writing assertions (e.g., CHECK_LT, CHECK_GT, etc.) have incorrect logic when comparing size_t and int values. Due to type conversion rules, several of the macros would be triggered incorrectly.

CVSS Scores

version 3.1