Buffer Overflow Affecting numpy package, versions [,1.21.0rc1)
Snyk CVSS
Exploit Maturity
Proof of concept
Attack Complexity
High
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PYTHON-NUMPY-2321969
- published 19 Dec 2021
- disclosed 19 Dec 2021
- credit Daybreak2019
How to fix?
Upgrade numpy
to version 1.21.0rc1 or higher.
Overview
numpy is a fundamental package needed for scientific computing with Python.
Affected versions of this package are vulnerable to Buffer Overflow in the PyArray_NewFromDescr_int
function of ctors.c
when specifying arrays of large dimensions (over 32) from Python code.