PT-2020-14262 · Google+1 · Tensorflow+1
Published
2020-09-25
·
Updated
2024-03-06
·
CVE-2020-15191
CVSS v4.0
6.9
Medium
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
Tensorflow versions prior to 2.2.1
Tensorflow versions prior to 2.3.1
Description
The issue arises when a user passes an invalid argument to
dlpack.to dlpack, causing variables to bind to nullptr while setting a status variable to the error condition. However, this status argument is not properly checked, leading to code following these methods binding references to null pointers. This results in undefined behavior and is reported as an error if compiling with -fsanitize=null.Recommendations
For versions prior to 2.2.1, upgrade to TensorFlow 2.2.1.
For versions prior to 2.3.1, upgrade to TensorFlow 2.3.1.
As a temporary workaround, consider adding proper checks for the
status argument after calling dlpack.to dlpack to prevent binding references to null pointers.Exploit
Fix
Unchecked Return Value
NULL Pointer Dereference
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Suse
Tensorflow