CWE
125
Advisory Published
Updated

CVE-2022-41880: ThreadUnsafeUnigramCandidateSampler Heap out of bounds in Tensorflow

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 SoftwareAffected VersionHow to fix
Google TensorFlow<2.8.4
Google TensorFlow>=2.9.0<2.9.3
Google TensorFlow=2.10.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2022-41880?

    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`.

  • What is the severity of CVE-2022-41880?

    CVE-2022-41880 has a severity rating of 9.1 (Critical).

  • Which versions of TensorFlow are affected by CVE-2022-41880?

    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.

  • How can I fix 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.

  • Is there any additional information available about CVE-2022-41880?

    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).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203