CVE-2020-15213
TensorFlow Lite Denial of Service (DoS) JTextField
Description
In TensorFlow Lite before versions 2.2.1 and 2.3.1, models using segment sum can trigger a denial of service by causing an out of memory allocation in the implementation of segment sum. Since code uses the last element of the tensor holding them to determine the dimensionality of output tensor, attackers can use a very large value to trigger a large allocation. The issue is patched in commit 204945b19e44b57906c9344c0d00120eeeae178a and is released in TensorFlow versions 2.2.1, or 2.3.1. A potential workaround would be to add a custom `Verifier` to limit the maximum value in the segment ids tensor. This only handles the case when the segment ids are stored statically in the model, but a similar validation could be done if the segment ids are generated at runtime, between inference steps. However, if the segment ids are generated as outputs of a tensor during inference steps, then there are no possible workaround and users are advised to upgrade to patched code.
INFO
Published Date :
Sept. 25, 2020, 7:15 p.m.
Last Modified :
Nov. 18, 2021, 5:28 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
1.4
Exploitability Score :
2.2
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2020-15213
.
URL | Resource |
---|---|
https://github.com/tensorflow/tensorflow/commit/204945b19e44b57906c9344c0d00120eeeae178a | Patch Third Party Advisory |
https://github.com/tensorflow/tensorflow/releases/tag/v2.3.1 | Third Party Advisory |
https://github.com/tensorflow/tensorflow/security/advisories/GHSA-hjmq-236j-8m87 | Exploit Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2020-15213
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2020-15213
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Reanalysis by [email protected]
Nov. 18, 2021
Action Type Old Value New Value Added CWE NIST CWE-770 -
CPE Deprecation Remap by [email protected]
Aug. 17, 2021
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:tensorflow:tensorflow:*:*:*:*:lite:*:*:* versions from (including) 2.3.0 from (excluding) 2.3.1 OR *cpe:2.3:a:google:tensorflow:*:*:*:*:lite:*:*:* versions from (including) 2.3.0 from (excluding) 2.3.1 -
CPE Deprecation Remap by [email protected]
Aug. 17, 2021
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:tensorflow:tensorflow:*:*:*:*:lite:*:*:* versions from (including) 2.2.0 from (excluding) 2.2.1 OR *cpe:2.3:a:google:tensorflow:*:*:*:*:lite:*:*:* versions from (including) 2.2.0 from (excluding) 2.2.1 -
Initial Analysis by [email protected]
Oct. 01, 2020
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:N/I:N/A:P) Added CVSS V3.1 NIST AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L Changed Reference Type https://github.com/tensorflow/tensorflow/commit/204945b19e44b57906c9344c0d00120eeeae178a No Types Assigned https://github.com/tensorflow/tensorflow/commit/204945b19e44b57906c9344c0d00120eeeae178a Patch, Third Party Advisory Changed Reference Type https://github.com/tensorflow/tensorflow/releases/tag/v2.3.1 No Types Assigned https://github.com/tensorflow/tensorflow/releases/tag/v2.3.1 Third Party Advisory Changed Reference Type https://github.com/tensorflow/tensorflow/security/advisories/GHSA-hjmq-236j-8m87 No Types Assigned https://github.com/tensorflow/tensorflow/security/advisories/GHSA-hjmq-236j-8m87 Exploit, Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:tensorflow:tensorflow:*:*:*:*:lite:*:*:* versions from (including) 2.2.0 up to (excluding) 2.2.1 *cpe:2.3:a:tensorflow:tensorflow:*:*:*:*:lite:*:*:* versions from (including) 2.3.0 up to (excluding) 2.3.1
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2020-15213
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2020-15213
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.12 }} 0.02%
score
0.45397
percentile