Live threats

All CVEs / Google

CVE-2020-15192Google Tensorflow

Medium 4.3

Priority
26
CVSS 3.1
4.3
EPSS
0.8%
probability of exploitation in 30 days · percentile 59
Auth required
Yes
Published
Sep 25, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
CVSS:3.1/AV:N/AC:L/PR:L/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 a list of strings to `dlpack.to_dlpack` there is a memory leak following an expected validation failure. The issue occurs because the `status` argument during validation failures is not properly checked. Since each of the above methods can return an error status, the `status` value must be checked before continuing. 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.

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-8fxw-76px-3rxv, PYSEC-2020-115, PYSEC-2020-272, PYSEC-2020-307). 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.