CVE-2021-37676

High

Description

TensorFlow is an end-to-end open source platform for machine learning. In affected versions an attacker can cause undefined behavior via binding a reference to null pointer in `tf.raw_ops.SparseFillEmptyRows`. The shape inference [implementation](https://github.com/tensorflow/tensorflow/blob/460e000de3a83278fb00b61a16d161b1964f15f4/tensorflow/core/ops/sparse_ops.cc#L608-L634) does not validate that the input arguments are not empty tensors. We have patched the issue in GitHub commit 578e634b4f1c1c684d4b4294f9e5281b2133b3ed. The fix will be included in TensorFlow 2.6.0. We will also cherrypick this commit on TensorFlow 2.5.1, TensorFlow 2.4.3, and TensorFlow 2.3.4, as these are also affected and still in supported range.

SeverityHigh
CVSS7.8
Exploit probability—
ProductGoogle Tensorflow
PublishedAug 12, 2021
First seenAug 12, 2021
Weakness typeCWE-824CWE-824

How to fix

Update
  • google tensorflow2.3.4, 2.4.3 or later
  • tensorflow2.3.4, 2.4.3, 2.5.1 or later
  • tensorflow-cpu2.3.4, 2.4.3, 2.5.1 or later
  • tensorflow-gpu2.3.4, 2.4.3, 2.5.1 or later

Affected products

ProductAffected versionsFixed in
google tensorflow2.3.0 ≤ v < 2.3.4, 2.4.0 ≤ v < 2.4.3, 2.5.0, 2.6.02.3.4, 2.4.3
tensorflowPyPIv < 2.3.4, 2.4.0 ≤ v < 2.4.3, 2.5.0 ≤ v < 2.5.1, 2.3.0 ≤ v < 2.3.42.3.4, 2.4.3, 2.5.1
tensorflow-cpuPyPIv < 2.3.4, 2.4.0 ≤ v < 2.4.3, 2.5.0 ≤ v < 2.5.1, 2.3.0 ≤ v < 2.3.42.3.4, 2.4.3, 2.5.1
tensorflow-gpuPyPIv < 2.3.4, 2.4.0 ≤ v < 2.4.3, 2.5.0 ≤ v < 2.5.1, 2.3.0 ≤ v < 2.3.42.3.4, 2.4.3, 2.5.1

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-37676 · Google Tensorflow · Dark Radar