#VU62915 Out-of-bounds write in TensorFlow - CVE-2022-23566
Published: May 10, 2022 / Updated: May 10, 2022
TensorFlow
TensorFlow
Description
The vulnerability allows a remote user to compromise vulnerable system.
The vulnerability exists due to a boundary error in the set_output() function in Grappler when processing untrusted input. A remote user can pass a specially crafted file and trigger out-of-bounds write and execute arbitrary code on the target system.
Remediation
External links
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-5qw5-89mw-wcg2
- https://github.com/tensorflow/tensorflow/blob/a1320ec1eac186da1d03f033109191f715b2b130/tensorflow/core/framework/shape_inference.h#L394
- https://github.com/tensorflow/tensorflow/commit/97282c6d0d34476b6ba033f961590b783fa184cd
- https://github.com/tensorflow/tensorflow/blob/a1320ec1eac186da1d03f033109191f715b2b130/tensorflow/core/grappler/costs/graph_properties.cc#L1132-L1141