Live threats

All CVEs / Google

CVE-2020-15194Google Tensorflow

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
1.0%
probability of exploitation in 30 days · percentile 65
Auth required
No
Published
Sep 25, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20, CWE-617
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 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, the `SparseFillEmptyRowsGrad` implementation has incomplete validation of the shapes of its arguments. Although `reverse_index_map_t` and `grad_values_t` are accessed in a similar pattern, only `reverse_index_map_t` is validated to be of proper shape. Hence, malicious users can pass a bad `grad_values_t` to trigger an assertion failure in `vec`, causing denial of service in serving installations. The issue is patched in commit 390611e0d45c5793c7066110af37c8514e6a6c54, 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-9mqp-7v2h-2382, PYSEC-2020-117, PYSEC-2020-274, PYSEC-2020-309). 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.