Skip to main content
← All vulnerabilities
CVE-2020-15191GHSA-Q8QJ-FC9Q-CPHRBIT-TENSORFLOW-2020-15191PYSEC-2020-114PYSEC-2020-271PYSEC-2020-306

Undefined behavior in Tensorflow

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.2.1, 2.3.1
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • tensorflow tensorflow

    2.2.0, 2.3.0

  • tensorflowPyPI

    From 2.2.0 · fixed in 2.2.1

  • tensorflowPyPI

    From 2.3.0 · fixed in 2.3.1

  • tensorflow-cpuPyPI

    From 2.2.0 · fixed in 2.2.1

  • tensorflow-cpuPyPI

    From 2.3.0 · fixed in 2.3.1

  • tensorflow-gpuPyPI

    From 2.2.0 · fixed in 2.2.1

  • tensorflow-gpuPyPI

    From 2.3.0 · fixed in 2.3.1

  • tensorflowPyPI

    fixed in 2.2.1; From 2.3.0rc0 · fixed in 2.3.1

  • tensorflow-cpuPyPI

    fixed in 2.2.1; From 2.3.0rc0 · fixed in 2.3.1

  • tensorflow-gpuPyPI

    fixed in 2.2.1; From 2.3.0rc0 · fixed in 2.3.1

References 4

GitHub · tensorflow/tensorflow

lists.opensuse.org