CVE-2020-15193: Memory corruption in Tensorflow
Vulnerability summary
CVE-2020-15193 is a high (CVSS 7.1) Use of Uninitialized Resource vulnerability in google tensorflow. EPSS estimates a 0.83% chance of exploitation in the next 30 days, higher than 58.8% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 25-09-2020PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 3 sources · 3 versions- OSV · PypiEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
- NVDNIST7.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
EPSS trend
Probability
0.83%
Chance of exploitation in the next 30 days
Percentile
59%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.83% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundTensorflow
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
PyPI3 products
- tensorflow≥ 2.2.0, < 2.2.1 | ≥ 2.3.0, < 2.3.1 | < 22e07fb204386768e5bcbea563641ea11f96ceb8 | ≥ 2.3.0rc0, < 2.3.1
- tensorflow-cpu≥ 2.2.0, < 2.2.1 | ≥ 2.3.0, < 2.3.1 | < 22e07fb204386768e5bcbea563641ea11f96ceb8 | ≥ 2.3.0rc0, < 2.3.1
- tensorflow-gpu≥ 2.2.0, < 2.2.1 | ≥ 2.3.0, < 2.3.1 | < 22e07fb204386768e5bcbea563641ea11f96ceb8 | ≥ 2.3.0rc0, < 2.3.1
Google1 product
- tensorflow2.2.0 | 2.3.0
Opensuse1 product
- leapEOL15.2
Tensorflow1 product
- tensorflow= 2.2.0 | = 2.3.0
4 vendors · 6 products
References
9 links- github.com/tensorflow/tensorflow/security/advisories/GHSA-rjjg-hgv6-h69vX Refsource CONFIRMWEBAdvisoryExploitThird Party Advisory
- github.com/tensorflow/tensorflow/commit/22e07fb204386768e5bcbea563641ea11f96ceb8X Refsource MISCWEBFIXPatchThird Party Advisory
- lists.opensuse.org/opensuse-security-announce/2020-10/msg00065.htmlVendor AdvisoryX Refsource SUSEWEBMailing ListThird Party Advisory