PT-2021-23168 · Google · Tensorflow

Lugalurimo

·

Published

2021-11-05

·

Updated

2024-03-06

·

CVE-2021-41196

CVSS v4.0

6.8

Medium

VectorAV: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

Weakness Enumeration

Related Identifiers

BIT-TENSORFLOW-2021-41196
CVE-2021-41196
GHSA-M539-J985-HCR8
OPENSUSE-SU-2024:12116-1
PYSEC-2021-389
PYSEC-2021-606
PYSEC-2021-804

Affected Products

Tensorflow