CVE-2022-41899: `CHECK` fail via inputs in `SdcaOptimizer` in Tensorflow
TensorFlow is an open source platform for machine learning. Inputs densefeatures or examplestatedata not of rank 2 will trigger a CHECK fail in SdcaOptimizer. We have patched the issue in GitHub commit 80ff197d03db2a70c6a111f97dcdacad1b0babfa. 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 80ff197d03db2a70c6a111f97dcdacad1b0babfa - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.11Patch 80ff197d03db2a70c6a111f97dcdacad1b0babfa - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.10.1Patch 80ff197d03db2a70c6a111f97dcdacad1b0babfa - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.9.3Patch 80ff197d03db2a70c6a111f97dcdacad1b0babfa - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.8.4Patch 80ff197d03db2a70c6a111f97dcdacad1b0babfa
Event History
Frequently Asked Questions
What is CVE-2022-41899?
CVE-2022-41899 is a vulnerability in TensorFlow, an open source platform for machine learning, that triggers a CHECK failure in SdcaOptimizer when inputs dense_features or example_state_data are not of rank 2.
What is the severity of CVE-2022-41899?
The severity of CVE-2022-41899 is high, with a severity value of 7.5.
How can I fix CVE-2022-41899?
To fix CVE-2022-41899, you can update TensorFlow to version 2.11 or apply the patch provided in GitHub commit 80ff197d03db2a70c6a111f97dcdacad1b0babfa.
Which versions of TensorFlow are affected by CVE-2022-41899?
Versions up to and including 2.8.4, 2.9.0 to 2.9.3, and 2.10.0 of TensorFlow are affected by CVE-2022-41899.
What is the Common Weakness Enumeration (CWE) ID for CVE-2022-41899?
The CWE IDs associated with CVE-2022-41899 are CWE-617 (Reachable Assertion) and CWE-20 (Improper Input Validation).