CVE-2022-41896: `tf.raw_ops.Mfcc` crashes in Tensorflow
TensorFlow is an open source platform for machine learning. If ThreadUnsafeUnigramCandidateSampler is given input filterbankchannelcount greater than the allowed max size, TensorFlow will crash. We have patched the issue in GitHub commit 39ec7eaf1428e90c37787e5b3fbd68ebd3c48860. 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.11 - Upgrade
Upgrade
tensorflowto a version that resolves this vulnerability.Fixed in 2.10.1 - Upgrade
Upgrade
tensorflowto a version that resolves this vulnerability.Fixed in 2.9.3 - Upgrade
Upgrade
tensorflowto a version that resolves this vulnerability.Fixed in 2.8.4 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch 39ec7eaf1428e90c37787e5b3fbd68ebd3c48860
Event History
Frequently Asked Questions
What is CVE-2022-41896?
CVE-2022-41896 is a vulnerability in TensorFlow where if `ThreadUnsafeUnigramCandidateSampler` is given input `filterbank_channel_count` greater than the allowed max size, TensorFlow will crash.
What is the severity of CVE-2022-41896?
CVE-2022-41896 has a severity value of 7.5, which is considered high.
How do I fix CVE-2022-41896?
To fix CVE-2022-41896, you need to apply the patch provided in the GitHub commit 39ec7eaf1428e90c37787e5b3fbd68ebd3c48860.
What versions of TensorFlow are affected by CVE-2022-41896?
The versions of TensorFlow affected by CVE-2022-41896 are 2.8.4, 2.9.0 to 2.9.3, and 2.10.0 to 2.10.1.
What is the Common Weakness Enumeration (CWE) ID for CVE-2022-41896?
The Common Weakness Enumeration (CWE) ID for CVE-2022-41896 is CWE-1284 and CWE-20.