PyPI: tensorflow-macos
CVE-2022-21729
Safety vulnerability ID: SFTY-20220203-11177
Safety legacy ID: pyup.io-58413
Tensorflow-macos versions 2.5.3, 2.6.3, 2.7.1 and 2.8.0 include a fix for CVE-2022-21729: The implementation of 'UnravelIndex' is vulnerable to a division by zero caused by an integer overflow bug. https://github.com/tensorflow/tensorflow/security/advisories/GHSA-34f9-hjfq-rr8j
Overview
Overflow and uncaught divide by zero in Tensorflow
Advisory
Tensorflow-macos versions 2.5.3, 2.6.3, 2.7.1 and 2.8.0 include a fix for CVE-2022-21729: The implementation of 'UnravelIndex' is vulnerable to a division by zero caused by an integer overflow bug. https://github.com/tensorflow/tensorflow/security/advisories/GHSA-34f9-hjfq-rr8j
Affected Package
Also affects
---
How to Fix
Mitigation and Workarounds
---
Vulnerable Functions
Functions linked to known vulnerabilities.
References
- https://getsafety.com/vulnerabilities/SFTY-20220203-11177/CVE-2022-21729
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-34f9-hjfq-rr8j
- https://github.com/tensorflow/tensorflow/commit/58b34c6c8250983948b5a781b426f6aa01fd47af
- https://github.com/tensorflow/tensorflow/blob/5100e359aef5c8021f2e71c7b986420b85ce7b3d/tensorflow/core/kernels/unravel_index_op.cc#L36-L135
- https://nvd.nist.gov/vuln/detail/CVE-2022-21729
- https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2022-53.yaml
- https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2022-108.yaml
- https://github.com/advisories/GHSA-34f9-hjfq-rr8j
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
