PyPI: tensorflow-macos
CVE-2023-25675
Safety vulnerability ID: SFTY-20230325-51355
Safety legacy ID: pyup.io-58250
Tensorflow-macos 2.11.1 and 2.12.0 include a fix for CVE-2023-25675: When running versions prior to 2.12.0 and 2.11.1 with XLA, 'tf.raw_ops.Bincount' segfaults when given a parameter 'weights' that is neither the same shape as parameter 'arr' nor a length-0 tensor. https://github.com/tensorflow/tensorflow/security/advisories/GHSA-7x4v-9gxg-9hwj
Overview
TensorFlow has Segfault in Bincount with XLA
Advisory
Tensorflow-macos 2.11.1 and 2.12.0 include a fix for CVE-2023-25675: When running versions prior to 2.12.0 and 2.11.1 with XLA, 'tf.raw_ops.Bincount' segfaults when given a parameter 'weights' that is neither the same shape as parameter 'arr' nor a length-0 tensor. https://github.com/tensorflow/tensorflow/security/advisories/GHSA-7x4v-9gxg-9hwj
Affected Package
Also affects
---
How to Fix
Mitigation and Workarounds
---
Vulnerable Functions
Functions linked to known vulnerabilities.
References
- https://getsafety.com/vulnerabilities/SFTY-20230325-51355/CVE-2023-25675
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-7x4v-9gxg-9hwj
- https://github.com/tensorflow/tensorflow/commit/8ae76cf085f4be26295d2ecf2081e759e04b8acf
- https://nvd.nist.gov/vuln/detail/CVE-2023-25675
- https://github.com/advisories/GHSA-7x4v-9gxg-9hwj
Verified by Safety
Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.
Learn more
