CVE-2022-41884: TensorFlow - Error when creating numpy array with zero element
Summary
CVE-2022-41884: Seg fault in ndarray_tensor_bridge due to zero and large inputs in Tensorflow. Affects tensorflow across 3 version ranges.
< 2.8.4
>= 2.9.0, < 2.9.3
>= 2.10.0, < 2.10.1
Fixed in 2.8.4, 2.9.3 or 2.10.1, depending on the release line you run. How to fix ↓
Also tracked for
- tensorflow · PyPI
- tensorflow-cpu · PyPI
- tensorflow-gpu · PyPI
- tensorflow · PyPI
The same CVE-2022-41884 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
TensorFlow is an open source platform for machine learning. It provides a comprehensive ecosystem of tools, libraries, and resources for developing and deploying machine learning models. TensorFlow is widely used in various industries and research fields.
Vulnerability Detail
A vulnerability has been identified in TensorFlow that can lead to an error when creating a numpy array with a shape where one element is zero and the others sum to a large number. This issue can potentially cause unexpected behavior or crashes in applications utilizing TensorFlow. The vulnerability has been assigned CVE-2022-41884 and has a severity rating of High.
How To Fix
Fixed versions by release line
The minimum fixed version depends on the release line you run.
-
< 2.8.42.8.4 -
>= 2.9.0, < 2.9.32.9.3 -
>= 2.10.0, < 2.10.12.10.1
Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →
Workaround
There is no specific workaround mentioned for this vulnerability.
Conclusion
In conclusion, a vulnerability has been identified in TensorFlow that can cause errors when creating numpy arrays with specific shapes. It is recommended to update TensorFlow to the latest version or apply the provided patches to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for tensorflow →
FAQ
TensorFlow is an open source platform for machine learning that provides tools and resources for developing and deploying machine learning models.
This vulnerability can cause errors, unexpected behavior, or crashes in applications using TensorFlow.
To fix this vulnerability, update TensorFlow to version 2.11 or apply the provided patches.
Versions 2.8.4, 2.9.3, and 2.10.0 of TensorFlow are affected by this vulnerability.
You can find more information about this vulnerability in the vulnerability database of Bitnami, the source of this report.
References
Related vulnerabilities
Recent vulnerabilities recorded for tensorflow.