Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2020-15209
September 25, 2020
In tensorflow-lite before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, a crafted TFLite model can force a node to have as input a tensor backed by a "nullptr" buffer. This can be achieved by changing a buffer index in the flatbuffer serialization to convert a read-only tensor to a read-write one. The runtime assumes that these buffers are written to before a possible read, hence they are initialized with "nullptr". However, by changing the buffer index for a tensor and implicitly converting that tensor to be a read-write one, as there is nothing in the model that writes to it, we get a null pointer dereference. The issue is patched in commit 0b5662bc, 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) >=0.11.0rc2 <1.15.4
Fix Suggestion:
Update to version 1.15.4
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.2.0 <2.2.1
Fix Suggestion:
Update to version 2.2.1
tensorflow-gpu (PYTHON):
Affected version(s) =2.3.0 <2.3.1
Fix Suggestion:
Update to version 2.3.1
tensorflow-cpu (PYTHON):
Affected version(s) =2.3.0 <2.3.1
Fix Suggestion:
Update to version 2.3.1
tensorflow (PYTHON):
Affected version(s) =2.3.0 <2.3.1
Fix Suggestion:
Update to version 2.3.1
tensorflow-gpu (PYTHON):
Affected version(s) >=0.12.0rc0 <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) >=2.1.0 <2.1.2
Fix Suggestion:
Update to version 2.1.2
tensorflow (PYTHON):
Affected version(s) >=2.0.0 <2.0.3
Fix Suggestion:
Update to version 2.0.3
tensorflow-gpu (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.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:
8.2
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.9
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
CVSS v2
Base Score:
4.3
Access Vector
NETWORK
Access Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
PARTIAL
Weakness Type (CWE)
NULL Pointer Dereference
EPSS
Base Score:
0.36