CVE-2020-15193
HIGH 7.1CVSS 3.1Memory 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
| Source | Scored by | Version | Score | Vector / 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
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | tensorflowcpe:2.3:a:google:tensorflow:2.2.0:*:*:*:-:*:*:* |
= 2.2.0 | ||
| NVD | tensorflowcpe:2.3:a:google:tensorflow:2.3.0:*:*:*:-:*:*:* |
= 2.3.0 | ||
| NVD | opensuse | leapcpe: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
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00065.html · Mailing List, Third Party Advisory, WEB
- https://github.com/tensorflow/tensorflow/commit/22e07fb204386768e5bcbea563641ea11f96ceb8 · Patch, Third Party Advisory, WEB, FIX
- https://github.com/tensorflow/tensorflow/releases/tag/v2.3.1 · Third Party Advisory, WEB
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-rjjg-hgv6-h69v · Exploit, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-15193 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2020-273.yaml · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2020-308.yaml · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2020-116.yaml · WEB
- https://github.com/tensorflow/tensorflow · PACKAGE
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)