Security mailing lists by PureSourceCode

CVE-2020-15193

HIGH 7.1CVSS 3.1

Memory corruption in Tensorflow

In Tensorflow before versions 2.2.1 and 2.3.1, the implementation of dlpack.to_dlpack can be made to use uninitialized memory resulting in further memory corruption. This is because the pybind11 glue code assumes that the argument is a tensor. However, there is nothing stopping users from passing in a Python object instead of a tensor. The uninitialized memory address is due to a reinterpret_cast Since the PyObject is a Python object, not a TensorFlow Tensor, the cast to EagerTensor fails. The issue is patched in commit 22e07fb204386768e5bcbea563641ea11f96ceb8 and is released in TensorFlow versions 2.2.1, or 2.3.1.

Published
25 Sep 2020
Last modified
8 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-908
Also known as
BIT-tensorflow-2020-15193GHSA-rjjg-hgv6-h69vPYSEC-2020-116PYSEC-2020-273PYSEC-2020-308
Sources
NVDJSONOSV GHSA-rjjg-hgv6-h69vJSONOSV PYSEC-2020-116JSONOSV PYSEC-2020-273JSONOSV PYSEC-2020-308JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
OSV GitHub CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.5 AV:N/AC:L/Au:S/C:N/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD google tensorflow
cpe:2.3:a:google:tensorflow:2.2.0:*:*:*:-:*:*:*
= 2.2.0
NVD google tensorflow
cpe:2.3:a:google:tensorflow:2.3.0:*:*:*:-:*:*:*
= 2.3.0
NVD opensuse leap
cpe:2.3:o:opensuse:leap:15.2:*:*:*:*:*:*:*
= 15.2
OSV PyPI tensorflow >= 2.2.0, < 2.2.1 2.2.1
OSV PyPI tensorflow >= 2.3.0, < 2.3.1 2.3.1
OSV PyPI tensorflow-cpu >= 2.2.0, < 2.2.1 2.2.1
OSV PyPI tensorflow-cpu >= 2.3.0, < 2.3.1 2.3.1
OSV PyPI tensorflow-gpu >= 2.2.0, < 2.2.1 2.2.1
OSV PyPI tensorflow-gpu >= 2.3.0, < 2.3.1 2.3.1
OSV PyPI tensorflow < 2.2.1; >= 2.3.0rc0, < 2.3.1 2.2.1, 2.3.1
OSV PyPI tensorflow-cpu < 2.2.1; >= 2.3.0rc0, < 2.3.1 2.2.1, 2.3.1
OSV PyPI tensorflow-gpu < 2.2.1; >= 2.3.0rc0, < 2.3.1 2.2.1, 2.3.1

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 25 Sep 2020)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 25 Sep 2020)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 25 Sep 2020)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 25 Sep 2020)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 25 Sep 2020)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.