CVE-2021-41206

Summary

CVECVE-2021-41206
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-11-05 22:15:00 UTC
Updated2021-11-09 17:56:00 UTC
DescriptionTensorFlow 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.

Risk And Classification

Problem Types: CWE-354

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Google Tensorflow All All All All
Application Google Tensorflow 2.7.0 rc0 All All
Application Google Tensorflow 2.7.0 rc1 All All

References

ReferenceSourceLinkTags
Roll forward https://github.com/tensorflow/tensorflow/commit/ab0ca4bb… · tensorflow/tensorflow@da4aad5 · GitHub MISC github.com
Fix crash in softmax-xent when some input dimensions are 1. · tensorflow/tensorflow@4d74d8a · GitHub MISC github.com
Fix crash in MatrixSolve when inputs have different batch dimensions. · tensorflow/tensorflow@579261d · GitHub MISC github.com
Fix segfault on OOM in Conv2D. · tensorflow/tensorflow@e7f4975 · GitHub MISC github.com
Fix segfault in pools on empty shapes when certain dimension were ver… · tensorflow/tensorflow@4dddb2f · GitHub MISC github.com
Incomplete validation of shapes in multiple TF ops · Advisory · tensorflow/tensorflow · GitHub CONFIRM github.com
Add shape checks to GPU TridiagonalMatMul. · tensorflow/tensorflow@68422b2 · GitHub MISC github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 980172 Python (pip) Security Update for tensorflow-gpu (GHSA-pgcq-h79j-2f69)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report