Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2020-15265
October 21, 2020
In Tensorflow before version 2.4.0, an attacker can pass an invalid "axis" value to "tf.quantization.quantize_and_dequantize". This results in accessing a dimension outside the rank of the input tensor in the C++ kernel implementation. However, dim_size only does a DCHECK to validate the argument and then uses it to access the corresponding element of an array. Since in normal builds, "DCHECK"-like macros are no-ops, this results in segfault and access out of bounds of the array. The issue is patched in eccb7ec454e6617738554a255d77f08e60ee0808 and TensorFlow 2.4.0 will be released containing the patch. TensorFlow nightly packages after this commit will also have the issue resolved.
Affected Packages
tensorflow-cpu (PYTHON):
Affected version(s) >=0.0.0 <2.4.0
Fix Suggestion:
Update to version 2.4.0
tensorflow (PYTHON):
Affected version(s) >=0.11.0rc2 <2.4.0
Fix Suggestion:
Update to version 2.4.0
tensorflow-gpu (PYTHON):
Affected version(s) >=0.12.0rc0 <2.4.0
Fix Suggestion:
Update to version 2.4.0
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:
5
Access Vector
NETWORK
Access Complexity
LOW
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
PARTIAL
Weakness Type (CWE)
Out-of-bounds Read
EPSS
Base Score:
0.24