CVE-2022-29208: Segfault and Out-of-bounds Write write due to incomplete validation in TensorFlow
TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, the implementation of tf.rawops.EditDistance has incomplete validation. Users can pass negative values to cause a segmentation fault based denial of service. In multiple places throughout the code, one may compute an index for a write operation. However, the existing validation only checks against the upper bound of the array. Hence, it is possible to write before the array by massaging the input to generate negative values for loc. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2022-29208?
CVE-2022-29208 has been classified as a denial of service vulnerability due to its potential to cause a segmentation fault.
How do I fix CVE-2022-29208?
To fix CVE-2022-29208, users should upgrade TensorFlow to versions 2.9.0, 2.8.1, 2.7.2, or 2.6.4 or later.
Which versions of TensorFlow are affected by CVE-2022-29208?
CVE-2022-29208 affects TensorFlow versions prior to 2.9.0, 2.8.1, 2.7.2, and 2.6.4.
What impact does CVE-2022-29208 have on TensorFlow users?
CVE-2022-29208 allows users to pass negative values to the `tf.raw_ops.EditDistance` function, which can lead to a denial of service.
Is there a way to mitigate CVE-2022-29208 without upgrading TensorFlow?
Currently, the best mitigation against CVE-2022-29208 is to upgrade to the patched versions of TensorFlow as no alternative mitigation is specified.