CVE-2022-23577: TensorFlow - Null Pointer Dereference in GetInitOp
Summary
CVE-2022-23577: Null-dereference in Tensorflow. Affects tensorflow across 3 version ranges.
< 2.5.3
>= 2.6.0, < 2.6.3
>= 2.7.0, < 2.7.1
Fixed in 2.5.3, 2.6.3 or 2.7.1, depending on the release line you run. How to fix ↓
Also tracked for
- tensorflow · PyPI
- tensorflow · PyPI
- tensorflow-gpu · PyPI
- tensorflow-cpu · PyPI
The same CVE-2022-23577 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 machine learning framework developed by Google. It provides a comprehensive set of tools and libraries for building and deploying machine learning models. TensorFlow is widely used in various domains, including research, industry, and academia. However, a vulnerability has been discovered in TensorFlow that can lead to a crash due to a null pointer dereference in the implementation of the GetInitOp function.
Vulnerability Detail
The vulnerability arises from a flaw in the code that results in the dereferencing of a null pointer. This can occur when the GetInitOp function is called with certain parameters. An attacker could potentially exploit this vulnerability to cause a denial of service (crash) or execute arbitrary code in the context of the affected application. The impact of this vulnerability can range from a temporary disruption of service to a complete compromise of the system.
How To Fix
Fixed versions by release line
The minimum fixed version depends on the release line you run.
-
< 2.5.32.5.3 -
>= 2.6.0, < 2.6.32.6.3 -
>= 2.7.0, < 2.7.12.7.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 known workaround for this vulnerability. It is recommended to apply the official fix by updating to the latest version of TensorFlow.
Conclusion
The vulnerability in TensorFlow, which allows for a null pointer dereference in the GetInitOp function, can have serious consequences, including crashes and potential code execution. It is crucial to update your TensorFlow installation to the latest version that includes the fix for this vulnerability. For further assistance or support in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for tensorflow →
FAQ
TensorFlow is an open-source machine learning framework developed by Google. It provides tools and libraries for building and deploying machine learning models.
The vulnerability can lead to a crash or potential execution of arbitrary code, compromising the affected application or system.
Update your TensorFlow installation to the latest available version, which includes the fix for this vulnerability.
No, there are no known workarounds for this vulnerability. Updating to the latest version is the recommended solution.
You can find more information about this vulnerability in the official TensorFlow documentation and the vulnerability database.
References
Related vulnerabilities
Recent vulnerabilities recorded for tensorflow.