CVE-2022-23587: Integer overflow in Tensorflow
Impact Under certain scenarios, Grappler component of TensorFlow is vulnerable to an integer overflow during cost estimation for crop and resize. Since the cropping parameters are user controlled, a malicious person can trigger undefined behavior.
Patches We have patched the issue in GitHub commit 0aaaae6eca5a7175a193696383f582f53adab23f.
The fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, as these are also affected and still in supported range.
For more information Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.
Other sources
Tensorflow is an Open Source Machine Learning Framework. Under certain scenarios, Grappler component of TensorFlow is vulnerable to an integer overflow during cost estimation for crop and resize. Since the cropping parameters are user controlled, a malicious person can trigger undefined behavior. The fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, as these are also affected and still in supported range.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2022-23587?
CVE-2022-23587 has been categorized as a moderate severity vulnerability due to the potential for integer overflow.
How do I fix CVE-2022-23587?
To fix CVE-2022-23587, upgrade TensorFlow to version 2.7.1 or later.
Which versions of TensorFlow are affected by CVE-2022-23587?
CVE-2022-23587 affects TensorFlow versions up to 2.5.2, as well as versions from 2.6.0 to 2.6.2 and 2.7.0.
What is the risk associated with CVE-2022-23587?
The risk associated with CVE-2022-23587 includes potential unexpected behavior or crashes during operations involving the Grappler component of TensorFlow.
Is there a workaround for CVE-2022-23587?
There are no known workarounds for CVE-2022-23587; the only solution is to upgrade to a patched version.