Live threats

All CVEs / Google

CVE-2020-15203Google Tensorflow

High 7.5 No auth needed

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

What happens

In Tensorflow before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, by controlling the `fill` argument of tf.strings.as_string, a malicious attacker is able to trigger a format string vulnerability due to the way the internal format use in a `printf` call is constructed. This may result in segmentation fault. The issue is patched in commit 33be22c65d86256e6826666662e40dbdfe70ee83, and is released in TensorFlow versions 1.15.4, 2.0.3, 2.1.2, 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 < 1.15.4 1.15.4 pip install "tensorflow>=1.15.4"
PyPI tensorflow ≥ 2.0.0 < 2.0.3 2.0.3 pip install "tensorflow>=2.0.3"
PyPI tensorflow ≥ 2.1.0 < 2.1.2 2.1.2 pip install "tensorflow>=2.1.2"
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 < 1.15.4 1.15.4 pip install "tensorflow>=1.15.4"
PyPI tensorflow ≥ 2.0.0 < 2.0.3 2.0.3 pip install "tensorflow>=2.0.3"
PyPI tensorflow ≥ 2.1.0 < 2.1.2 2.1.2 pip install "tensorflow>=2.1.2"
PyPI tensorflow ≥ 2.2.0 < 2.2.1 2.2.1 pip install "tensorflow>=2.2.1"
PyPI tensorflow-cpu < 1.15.4 1.15.4 pip install "tensorflow-cpu>=1.15.4"
PyPI tensorflow-cpu ≥ 2.0.0 < 2.0.3 2.0.3 pip install "tensorflow-cpu>=2.0.3"
PyPI tensorflow-cpu ≥ 2.1.0 < 2.1.2 2.1.2 pip install "tensorflow-cpu>=2.1.2"
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 < 1.15.4 1.15.4 pip install "tensorflow-cpu>=1.15.4"
PyPI tensorflow-cpu ≥ 2.0.0 < 2.0.3 2.0.3 pip install "tensorflow-cpu>=2.0.3"
PyPI tensorflow-cpu ≥ 2.1.0 < 2.1.2 2.1.2 pip install "tensorflow-cpu>=2.1.2"
PyPI tensorflow-cpu ≥ 2.2.0 < 2.2.1 2.2.1 pip install "tensorflow-cpu>=2.2.1"
PyPI tensorflow-gpu < 1.15.4 1.15.4 pip install "tensorflow-gpu>=1.15.4"
PyPI tensorflow-gpu ≥ 2.0.0 < 2.0.3 2.0.3 pip install "tensorflow-gpu>=2.0.3"
PyPI tensorflow-gpu ≥ 2.1.0 < 2.1.2 2.1.2 pip install "tensorflow-gpu>=2.1.2"
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 < 1.15.4 1.15.4 pip install "tensorflow-gpu>=1.15.4"
PyPI tensorflow-gpu ≥ 2.0.0 < 2.0.3 2.0.3 pip install "tensorflow-gpu>=2.0.3"
PyPI tensorflow-gpu ≥ 2.1.0 < 2.1.2 2.1.2 pip install "tensorflow-gpu>=2.1.2"
PyPI tensorflow-gpu ≥ 2.2.0 < 2.2.1 2.2.1 pip install "tensorflow-gpu>=2.2.1"

Per OSV / GitHub Advisories (GHSA-xmq7-7fxm-rr79, PYSEC-2020-126, PYSEC-2020-283, PYSEC-2020-318). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
googletensorflow< 1.15.4
googletensorflow≥ 2.0.0 < 2.0.3
googletensorflow≥ 2.1.0 < 2.1.2
googletensorflow≥ 2.2.0 < 2.2.1
googletensorflow≥ 2.3.0 < 2.3.1
opensuseleap15.2

Official sources

References

Links published by the sources. Open them with care.