CVE-2021-41208

High

Description

TensorFlow is an open source platform for machine learning. In affected versions the code for boosted trees in TensorFlow is still missing validation. As a result, attackers can trigger denial of service (via dereferencing `nullptr`s or via `CHECK`-failures) as well as abuse undefined behavior (binding references to `nullptr`s). An attacker can also read and write from heap buffers, depending on the API that gets used and the arguments that are passed to the call. Given that the boosted trees implementation in TensorFlow is unmaintained, it is recommend to no longer use these APIs. We will deprecate TensorFlow's boosted trees APIs in subsequent releases. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.

SeverityHigh
CVSS8.8
Exploit probability—
ProductGoogle Tensorflow
PublishedNov 5, 2021
First seenNov 5, 2021

How to fix

Update
  • google tensorflow2.4.4, 2.5.2, 2.6.1 or later
  • tensorflow2.6.1, 2.5.2, 2.4.4, 2.7.0 or later
  • tensorflow-cpu2.6.1, 2.5.2, 2.4.4, 2.7.0 or later
  • tensorflow-gpu2.6.1, 2.5.2, 2.4.4, 2.7.0 or later

Affected products

ProductAffected versionsFixed in
google tensorflow2.4.0 ≤ v < 2.4.4, 2.5.0 ≤ v < 2.5.2, 2.6.0 ≤ v < 2.6.1, 2.7.02.4.4, 2.5.2, 2.6.1
tensorflowPyPI2.6.0 ≤ v < 2.6.1, 2.5.0 ≤ v < 2.5.2, v < 2.4.4, 2.7.0rc0 ≤ v < 2.7.02.6.1, 2.5.2, 2.4.4, 2.7.0
tensorflow-cpuPyPI2.6.0 ≤ v < 2.6.1, 2.5.0 ≤ v < 2.5.2, v < 2.4.4, 2.7.0rc0 ≤ v < 2.7.02.6.1, 2.5.2, 2.4.4, 2.7.0
tensorflow-gpuPyPI2.6.0 ≤ v < 2.6.1, 2.5.0 ≤ v < 2.5.2, v < 2.4.4, 2.7.0rc0 ≤ v < 2.7.02.6.1, 2.5.2, 2.4.4, 2.7.0

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.