Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2020-15204
September 25, 2020
In eager mode, TensorFlow before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1 does not set the session state. Hence, calling "tf.raw_ops.GetSessionHandle" or "tf.raw_ops.GetSessionHandleV2" results in a null pointer dereference In linked snippet, in eager mode, "ctx->session_state()" returns "nullptr". Since code immediately dereferences this, we get a segmentation fault. The issue is patched in commit 9a133d73ae4b4664d22bd1aa6d654fec13c52ee1, 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.1.0 <2.1.2
Fix Suggestion:
Update to version 2.1.2
tensorflow-cpu (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-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.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.1.0 <2.1.2
Fix Suggestion:
Update to version 2.1.2
tensorflow (PYTHON):
Affected version(s) =2.2.0 <2.2.1
Fix Suggestion:
Update to version 2.2.1
tensorflow (PYTHON):
Affected version(s) >=0.11.0rc2 <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-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.0.0 <2.0.3
Fix Suggestion:
Update to version 2.0.3
Do you need more information?
Contact Us
CVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
CVSS v2
Base Score:
5
Access Vector
NETWORK
Access Complexity
LOW
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
PARTIAL
Weakness Type (CWE)
NULL Pointer Dereference
EPSS
Base Score:
0.22