CVE-2023-25665: TensorFlow - Null Pointer Error in SparseSparseMaximum
Summary
CVE-2023-25665: TensorFlow has Null Pointer Error in SparseSparseMaximum. Affects tensorflow versions < 2.12.0. Fixed in 2.12.0. How to fix ↓
Also tracked for
- tensorflow · PyPI
- tensorflow-cpu · PyPI
- tensorflow-gpu · PyPI
- tensorflow · PyPI
The same CVE-2023-25665 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 domains, including research, industry, and academia. However, prior to versions 2.12.0 and 2.11.1, TensorFlow is vulnerable to a null pointer error in the SparseSparseMaximum function when given invalid sparse tensors as inputs.
Vulnerability Detail
The vulnerability in TensorFlow arises when the SparseSparseMaximum function is provided with invalid sparse tensors as inputs. This can lead to a null pointer error, potentially causing the application to crash or behave unexpectedly. The null pointer error occurs due to insufficient input validation, allowing the function to operate on invalid data. The impact of this vulnerability can vary depending on the context in which TensorFlow is used. In certain scenarios, an attacker may be able to exploit this vulnerability to execute arbitrary code or cause a denial-of-service condition.
How To Fix
Minimum fixed version
2.12.0
This is the first release that contains the fix.
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no specific workaround available for this vulnerability. It is advised to update TensorFlow to the fixed versions mentioned above.
Conclusion
In conclusion, TensorFlow versions prior to 2.12.0 and 2.11.1 are vulnerable to a null pointer error in the SparseSparseMaximum function. This vulnerability can have various impacts, including application crashes and potential code execution by attackers. To mitigate this vulnerability, it is crucial to update TensorFlow to the fixed versions. For further assistance or support in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for tensorflow →
FAQ
TensorFlow is an open source platform for machine learning, widely used for developing and deploying machine learning models.
The vulnerability can lead to a null pointer error in TensorFlow, potentially causing the application to crash or behave unexpectedly. In certain scenarios, it may be possible for an attacker to exploit this vulnerability to execute arbitrary code or cause a denial-of-service condition.
To fix this vulnerability, update TensorFlow to version 2.12.0 or 2.11.1, which include a fix for the null pointer error in the SparseSparseMaximum function.
There is no specific workaround available for this vulnerability. It is recommended to update TensorFlow to the fixed versions.
For more information about this vulnerability, you can refer to the CVE identifier CVE-2023-25665 or the GitHub Security Advisory GHSA-558h-mq8x-7q9g.
References
Related vulnerabilities
Recent vulnerabilities recorded for tensorflow.