PT-2021-23168 · Google · Tensorflow
Lugalurimo
·
Published
2021-11-05
·
Updated
2024-03-06
·
CVE-2021-41196
CVSS v4.0
6.8
Medium
| Vector | AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
TensorFlow versions prior to 2.7.0
TensorFlow versions 2.6.1 and earlier
TensorFlow versions 2.5.2 and earlier
TensorFlow versions 2.4.4 and earlier
Description
The Keras pooling layers in TensorFlow can trigger a segfault if the size of the pool is 0 or if a dimension is negative. This issue arises due to TensorFlow's implementation of pooling operations, where the values in the sliding window are not checked to be strictly positive.
Recommendations
For versions prior to 2.7.0, update to TensorFlow 2.7.0 or later.
For versions 2.6.1 and earlier, update to TensorFlow 2.6.1 or later.
For versions 2.5.2 and earlier, update to TensorFlow 2.5.2 or later.
For versions 2.4.4 and earlier, update to TensorFlow 2.4.4 or later.
As a temporary workaround, consider avoiding the use of Keras pooling layers with a pool size of 0 or negative dimensions until a patch is available.
Exploit
Fix
Integer Underflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Tensorflow