Vulnerability Details : CVE-2020-15207
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.
Vulnerability category: OverflowMemory Corruption
Products affected by CVE-2020-15207
- cpe:2.3:a:google:tensorflow:*:*:*:*:lite:*:*:*
- cpe:2.3:a:google:tensorflow:*:*:*:*:lite:*:*:*
- cpe:2.3:a:google:tensorflow:*:*:*:*:lite:*:*:*
- cpe:2.3:a:google:tensorflow:*:*:*:*:lite:*:*:*
- cpe:2.3:a:google:tensorflow:*:*:*:*:lite:*:*:*
- cpe:2.3:o:opensuse:leap:15.2:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-15207
0.27%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 68 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-15207
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.8
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:P/A:P |
8.6
|
6.4
|
NIST | |
9.0
|
CRITICAL | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H |
2.2
|
6.0
|
NIST | |
8.7
|
HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H |
2.2
|
5.8
|
GitHub, Inc. |
CWE ids for CVE-2020-15207
-
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.Assigned by: security-advisories@github.com (Secondary)
-
The product writes data past the end, or before the beginning, of the intended buffer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2020-15207
-
https://github.com/tensorflow/tensorflow/commit/2d88f470dea2671b430884260f3626b1fe99830a
[tflite] Ensure `ResolveAxis` properly handles negative inputs. · tensorflow/tensorflow@2d88f47 · GitHubPatch;Third Party Advisory
-
https://github.com/tensorflow/tensorflow/releases/tag/v2.3.1
Release TensorFlow 2.3.1 · tensorflow/tensorflow · GitHubThird Party Advisory
-
https://github.com/tensorflow/tensorflow/security/advisories/GHSA-q4qf-3fc6-8x34
Segfault and data corruption caused by negative indexing in TFLite · Advisory · tensorflow/tensorflow · GitHubExploit;Third Party Advisory
-
http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00065.html
[security-announce] openSUSE-SU-2020:1766-1: moderate: Security update fMailing List;Third Party Advisory
Jump to