CVE-2021-41204

MediumCVSS 5.5/10Last modified Jun 17, 2026

Description

TensorFlow is an open source platform for machine learning. In affected versions during TensorFlow's Grappler optimizer phase, constant folding might attempt to deep copy a resource tensor. This results in a segfault, as these tensors are supposed to not change. 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 5.5/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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-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-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 trigge
CVE-2021-41204: Medium severity, CVSS 5.5 | Vulnix