CVE-2020-15191
MEDIUM 5.3CVSS 3.1Undefined behavior in Tensorflow
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.
- Published
- 25 Sep 2020
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-20CWE-252CWE-476
- Also known as
- BIT-tensorflow-2020-15191GHSA-q8qj-fc9q-cphrPYSEC-2020-114PYSEC-2020-271PYSEC-2020-306
- Sources
- NVDJSONOSV GHSA-q8qj-fc9q-cphrJSONOSV PYSEC-2020-114JSONOSV PYSEC-2020-271JSONOSV PYSEC-2020-306JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/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-q8qj-fc9q-cphr · Exploit, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-15191 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2020-271.yaml · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2020-306.yaml · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2020-114.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)