CVE-2021-29564

TensorFlow is an end-to-end open source platform for machine learning. An attacker can trigger a null pointer dereference in the implementation of `tf.raw_ops.EditDistance`. This is because the implementation(https://github.com/tensorflow/tensorflow/blob/79865b542f9ffdc9caeb255631f7c56f1d4b6517/tensorflow/core/kernels/edit_distance_op.cc#L103-L159) has incomplete validation of the input parameters. 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

21 Nov 2024, 06:01

Type Values Removed Values Added
References () https://github.com/tensorflow/tensorflow/commit/f4c364a5d6880557f6f5b6eb5cee2c407f0186b3 - Patch, Third Party Advisory () https://github.com/tensorflow/tensorflow/commit/f4c364a5d6880557f6f5b6eb5cee2c407f0186b3 - Patch, Third Party Advisory
References () https://github.com/tensorflow/tensorflow/security/advisories/GHSA-75f6-78jr-4656 - Exploit, Patch, Third Party Advisory () https://github.com/tensorflow/tensorflow/security/advisories/GHSA-75f6-78jr-4656 - Exploit, Patch, Third Party Advisory
CVSS v2 : 2.1
v3 : 5.5
v2 : 2.1
v3 : 2.5

Information

Published : 2021-05-14 20:15

Updated : 2024-11-21 06:01


NVD link : CVE-2021-29564

Mitre link : CVE-2021-29564

CVE.ORG link : CVE-2021-29564


JSON object : View

Products Affected

google

  • tensorflow
CWE
CWE-476

NULL Pointer Dereference