CVE-2019-6446: Unsafe Usage of Pickle Module in NumPy
Summary
CVE-2019-6446: Numpy Deserialization of Untrusted Data. Affects numpy versions < 1.16.0. No fix is published. How to fix ↓
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
NumPy is a popular Python package used for numerical computing. It provides support for large, multi-dimensional arrays and matrices, along with a collection of mathematical functions to operate on these arrays. NumPy is widely used in scientific and data analysis applications.
Vulnerability Detail
The vulnerability (CVE-2019-6446) exists in NumPy versions 1.16.0 and earlier. It arises from the unsafe usage of the pickle Python module. Attackers can exploit this vulnerability by crafting a serialized object and passing it to the numpy.load function. This can lead to the execution of arbitrary code on the target system. It is important to note that there is a dispute regarding the severity of this issue, as it may have legitimate applications when loading serialized Python object arrays from trusted and authenticated sources.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no specific workaround mentioned for this vulnerability.
Conclusion
The vulnerability (CVE-2019-6446) in NumPy arises from the unsafe usage of the pickle module, allowing remote code execution. It is recommended to upgrade to NumPy version 1.16.1 or later to fix this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for numpy →
FAQ
NumPy is a Python package used for numerical computing, providing support for large, multi-dimensional arrays and matrices.
This vulnerability allows remote attackers to execute arbitrary code on the target system by exploiting the unsafe usage of the pickle module in NumPy.
NumPy versions 1.16.0 and earlier are affected by this vulnerability.
Yes, upgrading to NumPy version 1.16.1 or later fixes this vulnerability.
No specific workarounds have been mentioned for this vulnerability.
References
Related vulnerabilities
Recent vulnerabilities recorded for numpy.