CVE-2022-41898: `CHECK` fail via inputs in `SparseFillEmptyRowsGrad` in Tensorflow
TensorFlow is an open source platform for machine learning. If SparseFillEmptyRowsGrad is given empty inputs, TensorFlow will crash. We have patched the issue in GitHub commit af4a6a3c8b95022c351edae94560acc61253a1b8. 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 af4a6a3c8b95022c351edae94560acc61253a1b8 - Upgrade
Upgrade
TensorFlowto a version that resolves this vulnerability.Fixed in 2.11Patch af4a6a3c8b95022c351edae94560acc61253a1b8 - Upgrade
Upgrade
TensorFlowto a version that resolves this vulnerability.Fixed in 2.10.1Patch af4a6a3c8b95022c351edae94560acc61253a1b8 - Upgrade
Upgrade
TensorFlowto a version that resolves this vulnerability.Fixed in 2.9.3Patch af4a6a3c8b95022c351edae94560acc61253a1b8 - Upgrade
Upgrade
TensorFlowto a version that resolves this vulnerability.Fixed in 2.8.4Patch af4a6a3c8b95022c351edae94560acc61253a1b8
Event History
Frequently Asked Questions
What is CVE-2022-41898?
CVE-2022-41898 is a vulnerability in TensorFlow that allows for a crash when the `SparseFillEmptyRowsGrad` function is given empty inputs.
What is the severity of CVE-2022-41898?
The severity of CVE-2022-41898 is high with a CVSS score of 7.5.
How does CVE-2022-41898 affect Google TensorFlow?
CVE-2022-41898 affects Google TensorFlow versions up to and including 2.8.4, 2.9.0 to 2.9.3, and 2.10.0 to 2.10.1.
Has CVE-2022-41898 been patched?
Yes, the issue has been fixed in TensorFlow GitHub commit af4a6a3c8b95022c351edae94560acc61253a1b8 and will be included in TensorFlow 2.11.
What can I do to protect against CVE-2022-41898?
To protect against CVE-2022-41898, update your TensorFlow installation to version 2.11 when it is released.