Vulnerability Details : CVE-2020-15193
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.
Vulnerability category: Memory Corruption
Products affected by CVE-2020-15193
- cpe:2.3:a:google:tensorflow:2.3.0:*:*:*:-:*:*:*
- cpe:2.3:a:google:tensorflow:2.2.0:*:*:*:-:*:*:*
- cpe:2.3:o:opensuse:leap:15.2:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-15193
0.15%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 51 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-15193
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.5
|
MEDIUM | AV:N/AC:L/Au:S/C:N/I:P/A:P |
8.0
|
4.9
|
NIST | |
7.1
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L |
2.8
|
4.2
|
NIST | |
7.1
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L |
2.8
|
4.2
|
GitHub, Inc. |
CWE ids for CVE-2020-15193
-
The product uses or accesses a resource that has not been initialized.Assigned by:
- nvd@nist.gov (Primary)
- security-advisories@github.com (Secondary)
References for CVE-2020-15193
-
https://github.com/tensorflow/tensorflow/security/advisories/GHSA-rjjg-hgv6-h69v
Memory corruption in dlpack.to_dlpack · Advisory · tensorflow/tensorflow · GitHubExploit;Third Party Advisory
-
https://github.com/tensorflow/tensorflow/releases/tag/v2.3.1
Release TensorFlow 2.3.1 · tensorflow/tensorflow · GitHubThird Party Advisory
-
https://github.com/tensorflow/tensorflow/commit/22e07fb204386768e5bcbea563641ea11f96ceb8
Fix multiple vulnerabilities in `tf.experimental.dlpack.to_dlpack`. · tensorflow/tensorflow@22e07fb · GitHubPatch;Third Party Advisory
-
http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00065.html
[security-announce] openSUSE-SU-2020:1766-1: moderate: Security update fMailing List;Third Party Advisory
Jump to