CVE-2020-15207
published high CVSS 3.1 · 8.7Segfault and data corruption in tensorflow-lite
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 tensorflow-lite before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, to mimic Python's indexing with negative values, TFLite uses `ResolveAxis` to convert negative values to positive indices. However, the only check that the converted index is now valid is only present in debug builds. If the `DCHECK` does not trigger, then code execution moves ahead with a negative index. This, in turn, results in accessing data out of bounds which results in segfaults and/or data corruption. The issue is patched in commit 2d88f470dea2671b430884260f3626b1fe99830a, 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
- 8.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H
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-119 {"CWE-119":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}
References
4- openSUSE-SU-2020:1766 http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00065.html
- https://github.com/tensorflow/tensorflow/commit/2d88f470dea2671b430884260f3626b1fe99830a
- https://github.com/tensorflow/tensorflow/releases/tag/v2.3.1
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-q4qf-3fc6-8x34
Provider assertions
2GitHub_M · cna
Segfault and data corruption in tensorflow-lite
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f62e9d89b154558e50c77a889e023a6aa9998655e942ce109f8cb0fc5823a293
- Ingested
- 23 Sep 2026, 07:48:51 UTC
- Source record
- Official CVE record