CVE-2021-41201

HighCVSS 7.8/10Last modified Jun 17, 2026

Description

TensorFlow is an open source platform for machine learning. In affeced versions during execution, `EinsumHelper::ParseEquation()` is supposed to set the flags in `input_has_ellipsis` vector and `*output_has_ellipsis` boolean to indicate whether there is ellipsis in the corresponding inputs and output. However, the code only changes these flags to `true` and never assigns `false`. This results in unitialized variable access if callers assume that `EinsumHelper::ParseEquation()` always sets these flags. 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.

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-412025.5TensorFlow is an open source platform for machine learning. In affected versions while calculating the size of the output within the `tf.ranCVE-2021-412037.8TensorFlow is an open source platform for machine learning. In affected versions an attacker can trigger undefined behavior, integer overfloCVE-2021-412045.5TensorFlow is an open source platform for machine learning. In affected versions during TensorFlow's Grappler optimizer phase, constant foldCVE-2021-412057.1TensorFlow is an open source platform for machine learning. In affected versions the shape inference functions for the `QuantizeAndDequantizCVE-2021-412067.8TensorFlow is an open source platform for machine learning. In affected versions several TensorFlow operations are missing validation for thCVE-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-41201: High severity, CVSS 7.8 | Vulnix