CVE-2022-41895: `MirrorPadGrad` heap out of bounds read in Tensorflow
TensorFlow is an open source platform for machine learning. If MirrorPadGrad is given outsize input paddings, TensorFlow will give a heap OOB error. We have patched the issue in GitHub commit 717ca98d8c3bba348ff62281fdf38dcb5ea1ec92. 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.
Patch 717ca98d8c3bba348ff62281fdf38dcb5ea1ec92 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.11 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.10.1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.9.3 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.8.4
Event History
Frequently Asked Questions
What is the vulnerability ID for this TensorFlow vulnerability?
The vulnerability ID for this TensorFlow vulnerability is CVE-2022-41895.
What is the severity rating of CVE-2022-41895?
The severity rating of CVE-2022-41895 is high with a value of 7.5.
What is the affected software for CVE-2022-41895?
The affected software for CVE-2022-41895 is versions 2.8.4, 2.9.0 to 2.9.3, and 2.10.0 to 2.10.1 of Google TensorFlow.
How can I fix the CVE-2022-41895 vulnerability?
To fix the CVE-2022-41895 vulnerability, update TensorFlow to version 2.11 or later.
Where can I find more information about CVE-2022-41895?
You can find more information about CVE-2022-41895 on the GitHub page [linking to the respective advisory].