Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2020-15205
September 25, 2020
In Tensorflow before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, the "data_splits" argument of "tf.raw_ops.StringNGrams" lacks validation. This allows a user to pass values that can cause heap overflow errors and even leak contents of memory In the linked code snippet, all the binary strings after "ee ff" are contents from the memory stack. Since these can contain return addresses, this data leak can be used to defeat ASLR. The issue is patched in commit 0462de5b544ed4731aa2fb23946ac22c01856b80, 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.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-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-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.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-gpu (PYTHON):
Affected version(s) >=2.0.0 <2.0.3
Fix Suggestion:
Update to version 2.0.3
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.0.0 <2.0.3
Fix Suggestion:
Update to version 2.0.3
tensorflow (PYTHON):
Affected version(s) >=2.1.0 <2.1.2
Fix Suggestion:
Update to version 2.1.2
Do you need more information?
Contact Us
CVSS v4
Base Score:
9.5
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
HIGH
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
HIGH
CVSS v3
Base Score:
9
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
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 Write
Heap-based Buffer Overflow
Improper Restriction of Operations within the Bounds of a Memory Buffer
EPSS
Base Score:
0.54