Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2020-15208
September 25, 2020
In tensorflow-lite before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, when determining the common dimension size of two tensors, TFLite uses a "DCHECK" which is no-op outside of debug compilation modes. Since the function always returns the dimension of the first tensor, malicious attackers can craft cases where this is larger than that of the second tensor. In turn, this would result in reads/writes outside of bounds since the interpreter will wrongly assume that there is enough data in both tensors. The issue is patched in commit 8ee24e7949a203d234489f9da2c5bf45a7d5157d, and is released in TensorFlow versions 1.15.4, 2.0.3, 2.1.2, 2.2.1, or 2.3.1.
Affected Packages
tensorflow (PYTHON):
Affected version(s) >=2.0.0 <2.0.3
Fix Suggestion:
Update to version 2.0.3
tensorflow (PYTHON):
Affected version(s) >=0.11.0rc2 <1.15.4
Fix Suggestion:
Update to version 1.15.4
tensorflow-cpu (PYTHON):
Affected version(s) >=2.1.0 <2.1.2
Fix Suggestion:
Update to version 2.1.2
tensorflow-gpu (PYTHON):
Affected version(s) >=0.12.0rc0 <1.15.4
Fix Suggestion:
Update to version 1.15.4
tensorflow (PYTHON):
Affected version(s) =2.3.0 <2.3.1
Fix Suggestion:
Update to version 2.3.1
tensorflow (PYTHON):
Affected version(s) =2.2.0 <2.2.1
Fix Suggestion:
Update to version 2.2.1
tensorflow-gpu (PYTHON):
Affected version(s) >=2.1.0 <2.1.2
Fix Suggestion:
Update to version 2.1.2
tensorflow-cpu (PYTHON):
Affected version(s) =2.3.0 <2.3.1
Fix Suggestion:
Update to version 2.3.1
tensorflow-gpu (PYTHON):
Affected version(s) =2.2.0 <2.2.1
Fix Suggestion:
Update to version 2.2.1
tensorflow-cpu (PYTHON):
Affected version(s) =2.2.0 <2.2.1
Fix Suggestion:
Update to version 2.2.1
tensorflow (PYTHON):
Affected version(s) >=2.1.0 <2.1.2
Fix Suggestion:
Update to version 2.1.2
tensorflow-gpu (PYTHON):
Affected version(s) =2.3.0 <2.3.1
Fix Suggestion:
Update to version 2.3.1
tensorflow-gpu (PYTHON):
Affected version(s) >=2.0.0 <2.0.3
Fix Suggestion:
Update to version 2.0.3
Additional Notes
The description of this vulnerability differs from MITRE.
Do you need more information?
Contact Us
CVSS v4
Base Score:
9.1
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.4
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
CVSS v2
Base Score:
7.5
Access Vector
NETWORK
Access Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
Weakness Type (CWE)
Out-of-bounds Read
Out-of-bounds Write
EPSS
Base Score:
0.33