CVE-2020-15204
published medium CVSS 3.1 · 5.3Segfault in Tensorflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| tensorflow | — | 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 | 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 23 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 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tensorflow-liteaarch64 | Advisory build | 2.9.1-1.1 | OPENSUSE-SU-2024:12116-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tensorflow-liteppc64le | Advisory build | 2.9.1-1.1 | OPENSUSE-SU-2024:12116-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tensorflow-lites390x | Advisory build | 2.9.1-1.1 | OPENSUSE-SU-2024:12116-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tensorflow-litex86_64 | Advisory build | 2.9.1-1.1 | OPENSUSE-SU-2024:12116-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tensorflow-lite-develaarch64 | Advisory build | 2.9.1-1.1 | OPENSUSE-SU-2024:12116-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tensorflow-lite-develppc64le | Advisory build | 2.9.1-1.1 | OPENSUSE-SU-2024:12116-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tensorflow-lite-devels390x | Advisory build | 2.9.1-1.1 | OPENSUSE-SU-2024:12116-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tensorflow-lite-develx86_64 | Advisory build | 2.9.1-1.1 | OPENSUSE-SU-2024:12116-1 |
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.
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
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| tensorflow | tensorflow | < 1.15.4 (affected)>= 2.0.0, < 2.0.3 (affected)>= 2.1.0, < 2.1.2 (affected)>= 2.2.0, < 2.2.1 (affected)>= 2.3.0, < 2.3.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-476 {"CWE-476":"NULL Pointer Dereference"}
References
4- openSUSE-SU-2020:1766 http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00065.html
- https://github.com/tensorflow/tensorflow/commit/9a133d73ae4b4664d22bd1aa6d654fec13c52ee1
- https://github.com/tensorflow/tensorflow/releases/tag/v2.3.1
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-q8gv-q7wr-9jf8
Provider assertions
2GitHub_M · cna
Segfault in Tensorflow
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a39ea3193679a84b505706ced8f08713f5a5bc88ad17940741cb84613f9cd00a
- Ingested
- 23 Sep 2026, 07:48:51 UTC
- Source record
- Official CVE record