Improper Input Validation Affecting tensorflow/tensorflow package, versions [,1.15.5)[2.0.0,2.0.4)[2.1.0,2.1.3)[2.2.0,2.2.2)[2.3.0,2.3.2)


Severity

Recommended
0.0
low
0
10

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

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.04% (16th 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 Improper Input Validation vulnerabilities in an interactive lesson.

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

Introduced: 10 Dec 2020

CVE-2020-26270  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade tensorflow/tensorflow to version 1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. In affected versions of TensorFlow running an LSTM/GRU model where the LSTM/GRU layer receives an input with zero-length results in a CHECK failure when using the CUDA backend. This can result in a query-of-death vulnerability, via denial of service, if users can control the input to the layer. This is fixed in versions 1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2, and 2.4.0.

CVSS Scores

version 3.1