CVE-2022-41908: `CHECK` fail via inputs in `PyFunc` in Tensorflow
TensorFlow is an open source platform for machine learning. An input token that is not a UTF-8 bytestring will trigger a CHECK fail in tf.rawops.PyFunc. We have patched the issue in GitHub commit 9f03a9d3bafe902c1e6beb105b2f24172f238645. 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 9f03a9d3bafe902c1e6beb105b2f24172f238645 - Upgrade
Upgrade
TensorFlowto a version that resolves this vulnerability.Fixed in 2.10.1Patch 9f03a9d3bafe902c1e6beb105b2f24172f238645 - Upgrade
Upgrade
TensorFlowto a version that resolves this vulnerability.Fixed in 2.9.3Patch 9f03a9d3bafe902c1e6beb105b2f24172f238645 - Upgrade
Upgrade
TensorFlowto a version that resolves this vulnerability.Fixed in 2.8.4Patch 9f03a9d3bafe902c1e6beb105b2f24172f238645
Event History
Frequently Asked Questions
What is the vulnerability ID for this TensorFlow issue?
The vulnerability ID for this TensorFlow issue is CVE-2022-41908.
What is the severity level of CVE-2022-41908?
The severity level of CVE-2022-41908 is high (7.5).
How does the vulnerability in TensorFlow impact the system?
The vulnerability in TensorFlow allows an input `token` that is not a UTF-8 bytestring to trigger a `CHECK` fail in `tf.raw_ops.PyFunc`.
Which versions of TensorFlow are affected by CVE-2022-41908?
Versions 2.8.4, 2.9.0 to 2.9.3, and 2.10.0 of TensorFlow are affected by CVE-2022-41908.
How can I fix CVE-2022-41908 in TensorFlow?
The issue has been patched in GitHub commit 9f03a9d3bafe902c1e6beb105b2f24172f238645, and the fix will be included in TensorFlow 2.11.