CVE-2022-41886: Overflow in `ImageProjectiveTransformV2` in Tensorflow
TensorFlow is an open source platform for machine learning. When tf.rawops.ImageProjectiveTransformV2 is given a large output shape, it overflows. We have patched the issue in GitHub commit 8faa6ea692985dbe6ce10e1a3168e0bd60a723ba. 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 to a fixed release to a version that resolves this vulnerability.
Fixed in 2.11Patch 8faa6ea692985dbe6ce10e1a3168e0bd60a723ba - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.10.1Patch 8faa6ea692985dbe6ce10e1a3168e0bd60a723ba - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.9.3Patch 8faa6ea692985dbe6ce10e1a3168e0bd60a723ba - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.8.4Patch 8faa6ea692985dbe6ce10e1a3168e0bd60a723ba
Event History
Frequently Asked Questions
What is CVE-2022-41886?
CVE-2022-41886 is a vulnerability in TensorFlow where `tf.raw_ops.ImageProjectiveTransformV2` overflows when given a large output shape.
What is the severity of CVE-2022-41886?
The severity of CVE-2022-41886 is high with a CVSS score of 7.5.
Which versions of TensorFlow are affected by CVE-2022-41886?
TensorFlow versions 2.8.4, 2.9.0 to 2.9.3, and 2.10.0 are affected by CVE-2022-41886.
How can I fix CVE-2022-41886?
The issue has been patched in GitHub commit 8faa6ea692985dbe6ce10e1a3168e0bd60a723ba and the fix will be included in TensorFlow 2.11. It is recommended to update to the latest version when available.
Where can I find more information about CVE-2022-41886?
More information about CVE-2022-41886 can be found in the following references: [GitHub Commit](https://github.com/tensorflow/tensorflow/commit/8faa6ea692985dbe6ce10e1a3168e0bd60a723ba), [GitHub Security Advisory](https://github.com/tensorflow/tensorflow/security/advisories/GHSA-54pp-c6pp-7fpx).