CVE-2021-29595

TensorFlow is an end-to-end open source platform for machine learning. The implementation of the `DepthToSpace` TFLite operator is vulnerable to a division by zero error(https://github.com/tensorflow/tensorflow/blob/0d45ea1ca641b21b73bcf9c00e0179cda284e7e7/tensorflow/lite/kernels/depth_to_space.cc#L63-L69). An attacker can craft a model such that `params->block_size` is 0. The fix will be included in TensorFlow 2.5.0. We will also cherrypick this commit on TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4, as these are also affected and still in supported range.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*
cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*
cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*
cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*

History

19 May 2021, 16:35

Type Values Removed Values Added
CPE cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 4.6
v3 : 7.8
References (CONFIRM) https://github.com/tensorflow/tensorflow/security/advisories/GHSA-vf94-36g5-69v8 - (CONFIRM) https://github.com/tensorflow/tensorflow/security/advisories/GHSA-vf94-36g5-69v8 - Exploit, Patch, Third Party Advisory
References (MISC) https://github.com/tensorflow/tensorflow/commit/106d8f4fb89335a2c52d7c895b7a7485465ca8d9 - (MISC) https://github.com/tensorflow/tensorflow/commit/106d8f4fb89335a2c52d7c895b7a7485465ca8d9 - Patch, Third Party Advisory

14 May 2021, 20:56

Type Values Removed Values Added
CWE CWE-369

14 May 2021, 20:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-05-14 20:15

Updated : 2023-12-10 13:55


NVD link : CVE-2021-29595

Mitre link : CVE-2021-29595

CVE.ORG link : CVE-2021-29595


JSON object : View

Products Affected

google

  • tensorflow
CWE
CWE-369

Divide By Zero