Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. tensorflow-gpu
  4. ›
  5. CVE-2020-26270

CVE-2020-26270: CHECK-fail in LSTM with zero-length input in TensorFlow

December 10, 2020 (updated October 28, 2024)

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.

References

  • github.com/advisories/GHSA-m648-33qf-v3gp
  • github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2020-301.yaml
  • github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2020-336.yaml
  • github.com/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2020-256.yaml
  • github.com/tensorflow/tensorflow
  • github.com/tensorflow/tensorflow/commit/14755416e364f17fb1870882fa778c7fec7f16e3
  • github.com/tensorflow/tensorflow/security/advisories/GHSA-m648-33qf-v3gp
  • nvd.nist.gov/vuln/detail/CVE-2020-26270

Code Behaviors & Features

Detect and mitigate CVE-2020-26270 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.15.5, all versions starting from 2.0.0 before 2.0.4, all versions starting from 2.1.0 before 2.1.3, all versions starting from 2.2.0 before 2.2.2, all versions starting from 2.3.0 before 2.3.2

Fixed versions

  • 1.15.5
  • 2.0.4
  • 2.1.3
  • 2.2.2
  • 2.3.2

Solution

Upgrade to versions 1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2 or above.

Impact 3.3 LOW

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

pypi/tensorflow-gpu/CVE-2020-26270.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:49 +0000.