CVE-2020-15205: Data leak in Tensorflow
Vulnerability summary
CVE-2020-15205 is a critical (CVSS 9.8) vulnerability in google tensorflow. EPSS estimates a 1.03% chance of exploitation in the next 30 days, higher than 64.7% 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 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, the `data_splits` argument of `tf.raw_ops.StringNGrams` lacks validation. This allows a user to pass values that can cause heap overflow errors and even leak contents of memory In the linked code snippet, all the binary strings after `ee ff` are contents from the memory stack. Since these can contain return addresses, this data leak can be used to defeat ASLR. The issue is patched in commit 0462de5b544ed4731aa2fb23946ac22c01856b80, and is released in TensorFlow versions 1.15.4, 2.0.3, 2.1.2, 2.2.1, or 2.3.1.
CVSS metrics
5 scores · 3 sources · 3 versions- CVE.orgCNA9.0CriticalCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:HDiffers
- OSV · PypiEcosystem advisory · calculated9.0CriticalCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:HDiffers
EPSS trend
Probability
1.03%
Chance of exploitation in the next 30 days
Percentile
65%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.03% 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 cause- CWE-119Improper Restriction of Operations within the Bounds of a Memory BufferThe product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary.
- CWE-122Heap-based Buffer OverflowThe product writes past the end of a buffer that was allocated on the heap.
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
PyPI3 products
- tensorflow< 1.15.4 | ≥ 2.0.0, < 2.0.3 | ≥ 2.1.0, < 2.1.2 | ≥ 2.2.0, < 2.2.1 | < 0462de5b544ed4731aa2fb23946ac22c01856b80 | ≥ 2.3.0, < 2.3.1
- tensorflow-cpu< 1.15.4 | ≥ 2.0.0, < 2.0.3 | ≥ 2.1.0, < 2.1.2 | ≥ 2.2.0, < 2.2.1 | < 0462de5b544ed4731aa2fb23946ac22c01856b80 | ≥ 2.3.0, < 2.3.1
- tensorflow-gpu< 1.15.4 | ≥ 2.0.0, < 2.0.3 | ≥ 2.1.0, < 2.1.2 | ≥ 2.2.0, < 2.2.1 | < 0462de5b544ed4731aa2fb23946ac22c01856b80 | ≥ 2.3.0, < 2.3.1
Google1 product
- tensorflow< 1.15.4 | ≥ 2.0.0, < 2.0.3 | ≥ 2.1.0, < 2.1.2 | ≥ 2.2.0, < 2.2.1 | ≥ 2.3.0, < 2.3.1
Opensuse1 product
- leapEOL15.2
Tensorflow1 product
- tensorflow< 1.15.4 | ≥ 2.0.0, < 2.0.3 | ≥ 2.1.0, < 2.1.2 | ≥ 2.2.0, < 2.2.1 | ≥ 2.3.0, < 2.3.1
4 vendors · 6 products
References
9 links- github.com/tensorflow/tensorflow/security/advisories/GHSA-g7p5-5759-qv46X Refsource CONFIRMWEBAdvisoryExploitThird Party Advisory
- github.com/tensorflow/tensorflow/commit/0462de5b544ed4731aa2fb23946ac22c01856b80X Refsource MISCWEBFIXPatchThird Party Advisory
- lists.opensuse.org/opensuse-security-announce/2020-10/msg00065.htmlVendor AdvisoryX Refsource SUSEWEBMailing ListThird Party Advisory