CVE-2022-41888: Unckecked rank size in `tf.image.generate_bounding_box_proposals` in Tensorflow
TensorFlow is an open source platform for machine learning. When running on GPU, tf.image.generateboundingboxproposals receives a scores input that must be of rank 4 but is not checked. We have patched the issue in GitHub commit cf35502463a88ca7185a99daa7031df60b3c1c98. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
tensorflowto a version that resolves this vulnerability.Fixed in 2.11Patch cf35502463a88ca7185a99daa7031df60b3c1c98 - Upgrade
Upgrade
tensorflowto a version that resolves this vulnerability.Fixed in 2.10.1Patch cf35502463a88ca7185a99daa7031df60b3c1c98 - Upgrade
Upgrade
tensorflowto a version that resolves this vulnerability.Fixed in 2.9.3Patch cf35502463a88ca7185a99daa7031df60b3c1c98 - Upgrade
Upgrade
tensorflowto a version that resolves this vulnerability.Fixed in 2.8.4Patch cf35502463a88ca7185a99daa7031df60b3c1c98
Event History
Frequently Asked Questions
What is CVE-2022-41888?
CVE-2022-41888 is a vulnerability in TensorFlow where the `tf.image.generate_bounding_box_proposals` function does not check the rank of the `scores` input when running on GPU.
What is the severity of CVE-2022-41888?
The severity of CVE-2022-41888 is high, with a severity CVSS score of 7.5.
How does CVE-2022-41888 affect Google TensorFlow?
CVE-2022-41888 affects Google TensorFlow versions up to and including 2.8.4, versions 2.9.0 through 2.9.3, and versions 2.10.0 through 2.10.1.
How can I fix CVE-2022-41888?
The issue has been patched in the GitHub commit cf35502463a88ca7185a99daa7031df60b3c1c98. You should update your TensorFlow installation to the latest patched version to fix the vulnerability.
What is the Common Weakness Enumeration (CWE) ID for CVE-2022-41888?
The CWE ID for CVE-2022-41888 is CWE-20, which represents improper input validation.