tensorflow is vulnerable to denial of service. The vulnerability exists because the MakeGrapplerFunctionItem
in functions.cc
does not properly validate the input-output arguments, allowing an attacker to cause out-of-bounds memory read or crash the application if the inputs given are greater than or equal to the sizes of the outputs.
github.com/tensorflow/tensorflow/blob/master/tensorflow/core/grappler/utils/functions.cc#L221
github.com/tensorflow/tensorflow/commit/0264a59c2abd465347d755d591f3d0733efa70fc
github.com/tensorflow/tensorflow/commit/216640f745a91a876759db50eededb881f17c0d1
github.com/tensorflow/tensorflow/commit/4af65448cf66aba5f5de05177a7999c38965d27b
github.com/tensorflow/tensorflow/commit/a65411a1d69edfb16b25907ffb8f73556ce36bb7
github.com/tensorflow/tensorflow/commit/c1b2cc4bf3be94bc27a6daa29812ff5ed73d14e7
github.com/tensorflow/tensorflow/pull/58196
github.com/tensorflow/tensorflow/pull/58197
github.com/tensorflow/tensorflow/pull/58198
github.com/tensorflow/tensorflow/pull/58201
github.com/tensorflow/tensorflow/security/advisories/GHSA-cg88-rpvp-cjv5