CVE-2020-15204: Segfault in Tensorflow
Vulnerability summary
CVE-2020-15204 is a medium (CVSS 5.3) NULL Pointer Dereference vulnerability in google tensorflow. EPSS estimates a 0.90% chance of exploitation in the next 30 days, higher than 61% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
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 eager mode, TensorFlow before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1 does not set the session state. Hence, calling `tf.raw_ops.GetSessionHandle` or `tf.raw_ops.GetSessionHandleV2` results in a null pointer dereference In linked snippet, in eager mode, `ctx->session_state()` returns `nullptr`. Since code immediately dereferences this, we get a segmentation fault. The issue is patched in commit 9a133d73ae4b4664d22bd1aa6d654fec13c52ee1, 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- OSV · PypiEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS trend
Probability
0.90%
Chance of exploitation in the next 30 days
Percentile
61%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.90% 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, 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 | < 9a133d73ae4b4664d22bd1aa6d654fec13c52ee1 | ≥ 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 | < 9a133d73ae4b4664d22bd1aa6d654fec13c52ee1 | ≥ 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 | < 9a133d73ae4b4664d22bd1aa6d654fec13c52ee1 | ≥ 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-q8gv-q7wr-9jf8X Refsource CONFIRMWEBAdvisoryExploitThird Party Advisory
- github.com/tensorflow/tensorflow/commit/9a133d73ae4b4664d22bd1aa6d654fec13c52ee1X Refsource MISCWEBFIXPatchThird Party Advisory
- lists.opensuse.org/opensuse-security-announce/2020-10/msg00065.htmlVendor AdvisoryX Refsource SUSEWEBMailing ListThird Party Advisory