Live threats

All CVEs / Google

CVE-2020-15191Google Tensorflow

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
0.9%
probability of exploitation in 30 days · percentile 61
Auth required
No
Published
Sep 25, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20, CWE-476, CWE-252
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

What happens

In Tensorflow before versions 2.2.1 and 2.3.1, if a user passes an invalid argument to `dlpack.to_dlpack` the expected validations will cause variables to bind to `nullptr` while setting a `status` variable to the error condition. However, this `status` argument is not properly checked. Hence, code following these methods will bind references to null pointers. This is undefined behavior and reported as an error if compiling with `-fsanitize=null`. The issue is patched in commit 22e07fb204386768e5bcbea563641ea11f96ceb8 and is released in TensorFlow versions 2.2.1, or 2.3.1.

Original NVD text.

What to do

  1. Apply the vendor's security update for Tensorflow.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI tensorflow ≥ 2.2.0 < 2.2.1 2.2.1 pip install "tensorflow>=2.2.1"
PyPI tensorflow ≥ 2.3.0 < 2.3.1 2.3.1 pip install "tensorflow>=2.3.1"
PyPI tensorflow < 2.2.1 2.2.1 pip install "tensorflow>=2.2.1"
PyPI tensorflow ≥ 2.3.0rc0 < 2.3.1 2.3.1 pip install "tensorflow>=2.3.1"
PyPI tensorflow-cpu ≥ 2.2.0 < 2.2.1 2.2.1 pip install "tensorflow-cpu>=2.2.1"
PyPI tensorflow-cpu ≥ 2.3.0 < 2.3.1 2.3.1 pip install "tensorflow-cpu>=2.3.1"
PyPI tensorflow-cpu < 2.2.1 2.2.1 pip install "tensorflow-cpu>=2.2.1"
PyPI tensorflow-cpu ≥ 2.3.0rc0 < 2.3.1 2.3.1 pip install "tensorflow-cpu>=2.3.1"
PyPI tensorflow-gpu ≥ 2.2.0 < 2.2.1 2.2.1 pip install "tensorflow-gpu>=2.2.1"
PyPI tensorflow-gpu ≥ 2.3.0 < 2.3.1 2.3.1 pip install "tensorflow-gpu>=2.3.1"
PyPI tensorflow-gpu < 2.2.1 2.2.1 pip install "tensorflow-gpu>=2.2.1"
PyPI tensorflow-gpu ≥ 2.3.0rc0 < 2.3.1 2.3.1 pip install "tensorflow-gpu>=2.3.1"

Per OSV / GitHub Advisories (GHSA-q8qj-fc9q-cphr, PYSEC-2020-114, PYSEC-2020-271, PYSEC-2020-306). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
googletensorflow2.2.0
googletensorflow2.3.0
opensuseleap15.2

Official sources

References

Links published by the sources. Open them with care.