Vulnerability Details CVE-2021-41216
TensorFlow is an open source platform for machine learning. In affected versions the shape inference function for `Transpose` is vulnerable to a heap buffer overflow. This occurs whenever `perm` contains negative elements. The shape inference function does not validate that the indices in `perm` are all valid. 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.
Exploit prediction scoring system (EPSS) score
EPSS Score 0.0
EPSS Ranking 3.4%
CVSS Severity
CVSS v3 Score 5.5
CVSS v2 Score 4.6
Products affected by CVE-2021-41216
-
cpe:2.3:a:google:tensorflow:2.4.0
-
cpe:2.3:a:google:tensorflow:2.4.1
-
cpe:2.3:a:google:tensorflow:2.4.2
-
cpe:2.3:a:google:tensorflow:2.4.3
-
cpe:2.3:a:google:tensorflow:2.5.0
-
cpe:2.3:a:google:tensorflow:2.5.1
-
cpe:2.3:a:google:tensorflow:2.6.0
-
cpe:2.3:a:google:tensorflow:2.7.0