First published: Fri Dec 17 2021(Updated: )
A Buffer Overflow vulnerability exists in NumPy 1.9.x in the PyArray_NewFromDescr_int function of ctors.c when specifying arrays of large dimensions (over 32) from Python code, which could let a malicious user cause a Denial of Service. NOTE: The vendor does not agree this is a vulnerability; In (very limited) circumstances a user may be able provoke the buffer overflow, the user is most likely already privileged to at least provoke denial of service by exhausting memory. Triggering this further requires the use of uncommon API (complicated structured dtypes), which is very unlikely to be available to an unprivileged user.
Credit: cve@mitre.org cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
pip/numpy | >=1.9.0<1.21 | 1.21 |
NumPy NumPy | >=1.9.0<=1.9.3 | |
>=1.9.0<=1.9.3 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The vulnerability ID for this Buffer Overflow vulnerability is CVE-2021-33430.
The affected software for this vulnerability is NumPy 1.9.x.
The severity of CVE-2021-33430 is medium with a CVSS score of 5.3.
A malicious user can exploit this vulnerability by specifying arrays of large dimensions (over 32) from Python code, which could cause a Denial of Service.
No specific patch or fix has been mentioned for CVE-2021-33430. Please refer to the vendor or project for more information.