CVE-2022-23565: Denial of Service Vulnerability in TensorFlow
Summary
CVE-2022-23565: CHECK-failures 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-23565 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 ecosystem of tools, libraries, and resources for building and deploying machine learning models. TensorFlow is widely used in various domains, including research, industry, and academia. This vulnerability affects versions 2.5.2 to 2.6.2 and 2.7.0 of TensorFlow.
Vulnerability Detail
The vulnerability in TensorFlow allows an attacker to trigger a denial of service (DoS) attack by manipulating a SavedModel file on disk. By duplicating AttrDefs of certain operations within the SavedModel, the attacker can cause an assertion failure, leading to the termination of the TensorFlow process. This vulnerability can be exploited remotely, and its impact can result in service disruption and potential loss of data.
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 available for this vulnerability. It is essential to update TensorFlow to the patched versions mentioned above.
Conclusion
The vulnerability in TensorFlow can be mitigated by updating to the latest patched version or applying the relevant patches. It is crucial to keep software dependencies up to date to ensure the security and stability of machine learning applications. For further support and assistance 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 resources for building and deploying machine learning models.
This vulnerability allows an attacker to trigger a denial of service attack, potentially leading to service disruption and data loss.
To fix this vulnerability, update TensorFlow to version 2.8.0 or apply the relevant patches for versions 2.7.1, 2.6.3, and 2.5.3.
No, there is no known workaround for this vulnerability. Updating TensorFlow is the recommended solution.
Yes, this vulnerability can be exploited remotely.
References
Related vulnerabilities
Recent vulnerabilities recorded for tensorflow.