CVE Vulnerabilities

CVE-2021-41208

NULL Pointer Dereference

Published: Nov 05, 2021 | Modified: Nov 09, 2021
CVSS 3.x
7.8
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
4.6 MEDIUM
AV:L/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu

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 nullptrs or via CHECK-failures) as well as abuse undefined behavior (binding references to nullptrs). 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 TensorFlows 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.

Weakness

A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit.

Affected Software

Name Vendor Start Version End Version
Tensorflow Google 2.4.0 (including) 2.4.4 (excluding)
Tensorflow Google 2.5.0 (including) 2.5.2 (excluding)
Tensorflow Google 2.6.0 (including) 2.6.1 (excluding)
Tensorflow Google 2.7.0-rc0 (including) 2.7.0-rc0 (including)
Tensorflow Google 2.7.0-rc1 (including) 2.7.0-rc1 (including)

Potential Mitigations

References