CVE-2020-15193
published high CVSS 3.1 · 7.1Memory corruption in Tensorflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| tensorflow | — | tensorflow= 2.2.0 · = 2.3.0 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Leap-15.2 | libtensorflow2x86_64 | Advisory build | 2.1.2-lp152.7.3.1 | OPENSUSE-SU-2020:1766-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | libtensorflow2-gnu-hpcx86_64 | Advisory build | 2.1.2-lp152.7.3.1 | OPENSUSE-SU-2020:1766-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | libtensorflow2-gnu-openmpi2-hpcx86_64 | Advisory build | 2.1.2-lp152.7.3.1 | OPENSUSE-SU-2020:1766-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | libtensorflow_cc2x86_64 | Advisory build | 2.1.2-lp152.7.3.1 | OPENSUSE-SU-2020:1766-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | libtensorflow_cc2-gnu-hpcx86_64 | Advisory build | 2.1.2-lp152.7.3.1 | OPENSUSE-SU-2020:1766-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | libtensorflow_cc2-gnu-openmpi2-hpcx86_64 | Advisory build | 2.1.2-lp152.7.3.1 | OPENSUSE-SU-2020:1766-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | libtensorflow_framework2x86_64 | Advisory build | 2.1.2-lp152.7.3.1 | OPENSUSE-SU-2020:1766-1 |
Show 15 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Leap-15.2 | libtensorflow_framework2-gnu-hpcx86_64 | Advisory build | 2.1.2-lp152.7.3.1 | OPENSUSE-SU-2020:1766-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | libtensorflow_framework2-gnu-openmpi2-hpcx86_64 | Advisory build | 2.1.2-lp152.7.3.1 | OPENSUSE-SU-2020:1766-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | tensorflow2x86_64 | Advisory build | 2.1.2-lp152.7.3.1 | OPENSUSE-SU-2020:1766-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | tensorflow2-develx86_64 | Advisory build | 2.1.2-lp152.7.3.1 | OPENSUSE-SU-2020:1766-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | tensorflow2-docx86_64 | Advisory build | 2.1.2-lp152.7.3.1 | OPENSUSE-SU-2020:1766-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | tensorflow2-gnu-hpcx86_64 | Advisory build | 2.1.2-lp152.7.3.1 | OPENSUSE-SU-2020:1766-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | tensorflow2-gnu-openmpi2-hpcx86_64 | Advisory build | 2.1.2-lp152.7.3.1 | OPENSUSE-SU-2020:1766-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | tensorflow2-litex86_64 | Advisory build | 2.1.2-lp152.7.3.1 | OPENSUSE-SU-2020:1766-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | tensorflow2-lite-develx86_64 | Advisory build | 2.1.2-lp152.7.3.1 | OPENSUSE-SU-2020:1766-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | tensorflow2_2_1_2-gnu-hpcx86_64 | Advisory build | 2.1.2-lp152.7.3.1 | OPENSUSE-SU-2020:1766-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | tensorflow2_2_1_2-gnu-hpc-develx86_64 | Advisory build | 2.1.2-lp152.7.3.1 | OPENSUSE-SU-2020:1766-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | tensorflow2_2_1_2-gnu-hpc-docx86_64 | Advisory build | 2.1.2-lp152.7.3.1 | OPENSUSE-SU-2020:1766-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | tensorflow2_2_1_2-gnu-openmpi2-hpcx86_64 | Advisory build | 2.1.2-lp152.7.3.1 | OPENSUSE-SU-2020:1766-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | tensorflow2_2_1_2-gnu-openmpi2-hpc-develx86_64 | Advisory build | 2.1.2-lp152.7.3.1 | OPENSUSE-SU-2020:1766-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | tensorflow2_2_1_2-gnu-openmpi2-hpc-docx86_64 | Advisory build | 2.1.2-lp152.7.3.1 | OPENSUSE-SU-2020:1766-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| tensorflow | tensorflow | = 2.2.0 (affected)= 2.3.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-908 {"CWE-908":"Use of Uninitialized Resource"}
References
4- openSUSE-SU-2020:1766 http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00065.html
- https://github.com/tensorflow/tensorflow/commit/22e07fb204386768e5bcbea563641ea11f96ceb8
- https://github.com/tensorflow/tensorflow/releases/tag/v2.3.1
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-rjjg-hgv6-h69v
Provider assertions
2GitHub_M · cna
Memory corruption in Tensorflow
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ee151a090f5d4f9b836cae015939fabfbaa32cfd99299e9c5a006132e16b14dc
- Ingested
- 23 Sep 2026, 07:48:45 UTC
- Source record
- Official CVE record