CVE-2020-15207
September 25, 2020
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.
Affected Packages
tensorflow-cpu (PYTHON):
Affected version(s) >=2.1.0 <2.1.2Fix Suggestion:
Update to version 2.1.2tensorflow-cpu (PYTHON):
Affected version(s) =2.3.0 <2.3.1Fix Suggestion:
Update to version 2.3.1tensorflow (PYTHON):
Affected version(s) >=0.11.0rc2 <1.15.4Fix Suggestion:
Update to version 1.15.4tensorflow (PYTHON):
Affected version(s) =2.3.0 <2.3.1Fix Suggestion:
Update to version 2.3.1tensorflow-gpu (PYTHON):
Affected version(s) >=0.12.0rc0 <1.15.4Fix Suggestion:
Update to version 1.15.4tensorflow-gpu (PYTHON):
Affected version(s) >=2.0.0 <2.0.3Fix Suggestion:
Update to version 2.0.3tensorflow (PYTHON):
Affected version(s) >=2.0.0 <2.0.3Fix Suggestion:
Update to version 2.0.3tensorflow-gpu (PYTHON):
Affected version(s) =2.3.0 <2.3.1Fix Suggestion:
Update to version 2.3.1tensorflow-gpu (PYTHON):
Affected version(s) =2.2.0 <2.2.1Fix Suggestion:
Update to version 2.2.1tensorflow-cpu (PYTHON):
Affected version(s) =2.2.0 <2.2.1Fix Suggestion:
Update to version 2.2.1tensorflow-gpu (PYTHON):
Affected version(s) >=2.1.0 <2.1.2Fix Suggestion:
Update to version 2.1.2tensorflow (PYTHON):
Affected version(s) =2.2.0 <2.2.1Fix Suggestion:
Update to version 2.2.1tensorflow (PYTHON):
Affected version(s) >=2.1.0 <2.1.2Fix Suggestion:
Update to version 2.1.2Additional Notes
The description of this vulnerability differs from MITRE.
Related Resources (9)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.1
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
HIGH
Subsequent System Availability
HIGH
CVSS v3
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
HIGH
CVSS v2
Base Score:
6.8
Access Vector
NETWORK
Access Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
Weakness Type (CWE)
EPSS
Base Score:
1.41