PT-2020-14268 · Google · Tensorflow
Mihaimaruseac
·
Published
2020-09-25
·
Updated
2024-03-06
·
CVE-2020-15197
CVSS v3.1
6.3
Medium
| Vector | AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Tensorflow versions prior to 2.3.1
Description
The
SparseCountSparseOutput implementation does not validate that the input arguments form a valid sparse tensor, specifically that the indices tensor has rank 2, which must be a matrix. Malicious users can pass in tensors of different rank, resulting in a CHECK assertion failure and a crash, potentially causing denial of service in serving installations if users are allowed to control the components of the input sparse tensor.Recommendations
For versions prior to 2.3.1, upgrade to TensorFlow 2.3.1 to resolve the issue. As a temporary workaround, consider restricting access to the
SparseCountSparseOutput implementation to minimize the risk of exploitation. Avoid allowing users to control the components of the input sparse tensor until the issue is resolved.Exploit
Fix
Assertion Failure
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Tensorflow