CVE-2022-36016: `CHECK`-fail in `tensorflow::full_type::SubstituteFromAttrs` in TensorFlow
TensorFlow is an open source platform for machine learning. When tensorflow::fulltype::SubstituteFromAttrs receives a FullTypeDef& t that is not exactly three args, it triggers a CHECK-fail instead of returning a status. We have patched the issue in GitHub commit 6104f0d4091c260ce9352f9155f7e9b725eab012. The fix will be included in TensorFlow 2.10.0. We will also cherrypick this commit on TensorFlow 2.9.1, TensorFlow 2.8.1, and TensorFlow 2.7.2, as these are also affected and still in supported range. There are no known workarounds for this issue.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is CVE-2022-36016?
CVE-2022-36016 is a vulnerability in TensorFlow that triggers a CHECK-fail instead of returning a status when receiving a FullTypeDef& t that is not exactly three args.
How severe is CVE-2022-36016?
CVE-2022-36016 has a severity score of 7.5 (high).
Which versions of TensorFlow are affected by CVE-2022-36016?
Versions up to and including 2.7.2, 2.8.0 to 2.8.1, 2.9.0 to 2.9.1, 2.10-rc0, 2.10-rc1, 2.10-rc2, and 2.10-rc3 of TensorFlow are affected by CVE-2022-36016.
How do I fix CVE-2022-36016?
To fix CVE-2022-36016, update TensorFlow to a version that includes the patch, such as the commit 6104f0d4091c260ce9352f9155f7e9b725eab012.
What is the Common Weakness Enumeration (CWE) for CVE-2022-36016?
The Common Weakness Enumeration (CWE) for CVE-2022-36016 is CWE-617.