CVE-2021-41206

HighCVSS 7.8/10Last modified Jun 17, 2026

Description

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 don't 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.

Metrics

CVSS 3.1 7.8/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
Nov 5, 2021
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2021

CVE-2021-412075.5TensorFlow is an open source platform for machine learning. In affected versions the implementation of `ParallelConcat` misses some input vaCVE-2021-412087.8TensorFlow is an open source platform for machine learning. In affected versions the code for boosted trees in TensorFlow is still missing vCVE-2021-412095.5TensorFlow is an open source platform for machine learning. In affected versions the implementations for convolution operators trigger a divCVE-2021-41216.1yetiforcecrm is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')CVE-2021-412107.1TensorFlow is an open source platform for machine learning. In affected versions the shape inference functions for `SparseCountSparseOutput`CVE-2021-412117.1TensorFlow is an open source platform for machine learning. In affected versions the shape inference code for `QuantizeV2` can trigger a reaCVE-2021-412127.1TensorFlow is an open source platform for machine learning. In affected versions the shape inference code for `tf.ragged.cross` can trigger CVE-2021-412135.5TensorFlow is an open source platform for machine learning. In affected versions the code behind `tf.function` API can be made to deadlock wCVE-2021-412147.8TensorFlow is an open source platform for machine learning. In affected versions the shape inference code for `tf.ragged.cross` has an undefCVE-2021-412155.5TensorFlow is an open source platform for machine learning. In affected versions the shape inference code for `DeserializeSparse` can triggeCVE-2021-412167.8TensorFlow is an open source platform for machine learning. In affected versions the shape inference function for `Transpose` is vulnerable CVE-2021-412175.5TensorFlow is an open source platform for machine learning. In affected versions the process of building the control flow graph for a Tensor
CVE-2021-41206: High severity, CVSS 7.8 | Vulnix