First published: Fri Nov 18 2022(Updated: )
TensorFlow is an open source platform for machine learning. When the `BaseCandidateSamplerOp` function receives a value in `true_classes` larger than `range_max`, a heap oob read occurs. We have patched the issue in GitHub commit b389f5c944cadfdfe599b3f1e4026e036f30d2d4. 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.
Credit: security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
Google TensorFlow | <2.8.4 | |
Google TensorFlow | >=2.9.0<2.9.3 | |
Google TensorFlow | =2.10.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2022-41880 is a vulnerability in TensorFlow where a heap out-of-bounds read occurs in the `BaseCandidateSamplerOp` function when receiving a value in `true_classes` larger than `range_max`.
CVE-2022-41880 has a severity rating of 9.1 (Critical).
TensorFlow versions up to and including 2.8.4, versions 2.9.0 to 2.9.3, and version 2.10.0 are affected by CVE-2022-41880.
To fix CVE-2022-41880, you should update TensorFlow to a version that includes the patch, such as the commit b389f5c944cadfdfe599b3f1e4026e036f30d2d4 on GitHub.
Yes, you can find more information about CVE-2022-41880 in the following references: [GitHub commit](https://github.com/tensorflow/tensorflow/commit/b389f5c944cadfdfe599b3f1e4026e036f30d2d4), [GitHub Security Advisory](https://github.com/tensorflow/tensorflow/security/advisories/GHSA-8w5g-3wcv-9g2j).