CVE-2022-41897: `FractionalMaxPoolGrad` Heap out of bounds read in Tensorflow
TensorFlow is an open source platform for machine learning. If FractionMaxPoolGrad is given outsize inputs rowpoolingsequence and colpoolingsequence, TensorFlow will crash. We have patched the issue in GitHub commit d71090c3e5ca325bdf4b02eb236cfb3ee823e927. 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 d71090c3e5ca325bdf4b02eb236cfb3ee823e927 - Upgrade
Upgrade
TensorFlowto a version that resolves this vulnerability.Fixed in 2.10.1Patch d71090c3e5ca325bdf4b02eb236cfb3ee823e927 - Upgrade
Upgrade
TensorFlowto a version that resolves this vulnerability.Fixed in 2.9.3Patch d71090c3e5ca325bdf4b02eb236cfb3ee823e927 - Upgrade
Upgrade
TensorFlowto a version that resolves this vulnerability.Fixed in 2.8.4Patch d71090c3e5ca325bdf4b02eb236cfb3ee823e927
Event History
Frequently Asked Questions
What is the severity of CVE-2022-41897?
The severity of CVE-2022-41897 is high with a CVSS score of 7.5.
Which versions of TensorFlow are affected by CVE-2022-41897?
Versions up to and including 2.8.4, 2.9.0 to 2.9.3, and 2.10.0 to 2.10.1 of TensorFlow are affected by CVE-2022-41897.
How can I fix CVE-2022-41897?
You can fix CVE-2022-41897 by updating TensorFlow to a version higher than 2.10.1 or applying the patch provided in GitHub commit d71090c3e5ca325bdf4b02eb236cfb3ee823e927.
What is the CWE ID of CVE-2022-41897?
The CWE ID of CVE-2022-41897 is 125.
Where can I find more information about CVE-2022-41897?
You can find more information about CVE-2022-41897 in the following references: [GitHub Commit](https://github.com/tensorflow/tensorflow/commit/d71090c3e5ca325bdf4b02eb236cfb3ee823e927), [GitHub Security Advisory](https://github.com/tensorflow/tensorflow/security/advisories/GHSA-f2w8-jw48-fr7j).