CVE Vulnerabilities

CVE-2021-41206

Improper Validation of Integrity Check Value

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 several TensorFlow operations are missing validation for the shapes of the tensor arguments involved in the call. Depending on the API, this can result in undefined behavior and segfault or CHECK-fail related crashes but in some scenarios writes and reads from heap populated arrays are also possible. We have discovered these issues internally via tooling while working on improving/testing GPU op determinism. As such, we dont have reproducers and there will be multiple fixes for these issues. These fixes will be included in TensorFlow 2.7.0. We will also cherrypick these commits 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

The product does not validate or incorrectly validates the integrity check values or “checksums” of a message. This may prevent it from detecting if the data has been modified or corrupted in transmission.

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