PT-2020-14272 · Google · Tensorflow
Published
2020-09-25
·
Updated
2024-03-06
·
CVE-2020-15201
CVSS v2.0
6.8
Medium
| Vector | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Name of the Vulnerable Software and Affected Versions
TensorFlow versions prior to 2.3.1
Description
The
RaggedCountSparseOutput implementation does not validate that the input arguments form a valid ragged tensor, specifically that the values in the splits tensor generate a valid partitioning of the values tensor. This lack of validation makes the code prone to heap buffer overflow. If split values does not end with a value at least num values, the while loop condition will trigger a read outside of the bounds of split values once batch idx grows too large.Recommendations
For versions prior to 2.3.1, upgrade to TensorFlow 2.3.1 to resolve the issue. As a temporary workaround, consider adding input validation to ensure that
split values ends with a value at least num values to prevent the heap buffer overflow. Restrict access to the RaggedCountSparseOutput implementation until the issue is resolved by upgrading to the patched version.Exploit
Fix
Memory Corruption
RCE
Heap Based Buffer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Tensorflow