TensorFlow is an end-to-end open source platform for machine learning. Incomplete validation in SparseReshape
results in a denial of service based on a CHECK
-failure. The implementation(https://github.com/tensorflow/tensorflow/blob/e87b51ce05c3eb172065a6ea5f48415854223285/tensorflow/core/kernels/sparsereshapeop.cc#L40) has no validation that the input arguments specify a valid sparse tensor. The fix will be included in TensorFlow 2.5.0. We will also cherrypick this commit on TensorFlow 2.4.2 and TensorFlow 2.3.3, as these are the only affected versions.
{ "vanir_signatures": [ { "id": "CVE-2021-29611-7ac133f3", "signature_type": "Line", "digest": { "line_hashes": [ "158159903475446779880967988611394154443", "267787465191184409819835649506901042082", "265570247639594904370691175315383030911", "172586733352639170258723933795550879171", "217998250740609711177308564080330353836", "121202344012005619311567391870920230261", "198983287854641823931519055359618189762", "9903896771086403761409399151986643021" ], "threshold": 0.9 }, "target": { "file": "tensorflow/core/kernels/sparse_reshape_op.cc" }, "source": "https://github.com/tensorflow/tensorflow/commit/1d04d7d93f4ed3854abf75d6b712d72c3f70d6b6", "signature_version": "v1", "deprecated": false } ] }