CVE-2022-23569: `CHECK`-fails when building invalid tensor shapes in Tensorflow
Impact Multiple operations in TensorFlow can be used to trigger a denial of service via CHECK-fails (i.e., assertion failures). This is similar to TFSA-2021-198 (CVE-2021-41197) and has similar fixes.
Patches We have patched the reported issues in multiple GitHub commits. It is possible that other similar instances exist in TensorFlow, we will issue fixes as these are discovered.
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. Attribution This vulnerability has been reported by Faysal Hossain Shezan from University of Virginia.
Other sources
Tensorflow is an Open Source Machine Learning Framework. Multiple operations in TensorFlow can be used to trigger a denial of service via CHECK-fails (i.e., assertion failures). This is similar to TFSA-2021-198 and has similar fixes. We have patched the reported issues in multiple GitHub commits. It is possible that other similar instances exist in TensorFlow, we will issue fixes as these are discovered. 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-23569?
CVE-2022-23569 has been classified as a denial of service vulnerability.
How do I fix CVE-2022-23569?
To mitigate CVE-2022-23569, upgrade TensorFlow to version 2.7.1 or newer.
What versions of TensorFlow are affected by CVE-2022-23569?
CVE-2022-23569 affects TensorFlow versions up to 2.7.0 inclusive.
What is the impact of CVE-2022-23569?
The vulnerability can lead to denial of service by triggering assertion failures in multiple TensorFlow operations.
Is there any workaround for CVE-2022-23569?
There are no documented workarounds for CVE-2022-23569, so upgrading is the recommended action.