CVE-2021-29570

Low

Description

TensorFlow is an end-to-end open source platform for machine learning. The implementation of `tf.raw_ops.MaxPoolGradWithArgmax` can cause reads outside of bounds of heap allocated data if attacker supplies specially crafted inputs. The implementation(https://github.com/tensorflow/tensorflow/blob/ef0c008ee84bad91ec6725ddc42091e19a30cf0e/tensorflow/core/kernels/maxpooling_op.cc#L1016-L1017) uses the same value to index in two different arrays but there is no guarantee that the sizes are identical. The fix will be included in TensorFlow 2.5.0. We will also cherrypick this commit on TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4, as these are also affected and still in supported range.

SeverityLow
CVSS2.5
Exploit probability—
ProductGoogle Tensorflow
PublishedMay 14, 2021
First seenMay 14, 2021

How to fix

Update
  • google tensorflow2.1.4, 2.2.3, 2.3.3, 2.4.2 or later
  • tensorflow2.1.4, 2.2.3, 2.3.3, 2.4.2 or later
  • tensorflow-cpu2.1.4, 2.2.3, 2.3.3, 2.4.2 or later
  • tensorflow-gpu2.1.4, 2.2.3, 2.3.3, 2.4.2 or later

Affected products

ProductAffected versionsFixed in
google tensorflowv < 2.1.4, 2.2.0 ≤ v < 2.2.3, 2.3.0 ≤ v < 2.3.3, 2.4.0 ≤ v < 2.4.22.1.4, 2.2.3, 2.3.3, 2.4.2
tensorflowPyPIv < 2.1.4, 2.2.0 ≤ v < 2.2.3, 2.3.0 ≤ v < 2.3.3, 2.4.0 ≤ v < 2.4.22.1.4, 2.2.3, 2.3.3, 2.4.2
tensorflow-cpuPyPIv < 2.1.4, 2.2.0 ≤ v < 2.2.3, 2.3.0 ≤ v < 2.3.3, 2.4.0 ≤ v < 2.4.22.1.4, 2.2.3, 2.3.3, 2.4.2
tensorflow-gpuPyPIv < 2.1.4, 2.2.0 ≤ v < 2.2.3, 2.3.0 ≤ v < 2.3.3, 2.4.0 ≤ v < 2.4.22.1.4, 2.2.3, 2.3.3, 2.4.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2021-29570 · Google Tensorflow · Dark Radar