NumPy Buffer Overflow (Disputed)
GHSA-6p56-wp2h-9hxr · CVE-2021-33430 · PYSEC-2021-854
Published · Modified
Description
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.
References
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2021-33430
- WEB https://github.com/numpy/numpy/issues/18939
- WEB https://github.com/numpy/numpy/commit/ae317fd9ff3e79c0eac357d723bfc29cbd625f2e
- PACKAGE https://github.com/numpy/numpy
- WEB https://github.com/pypa/advisory-database/tree/main/vulns/numpy/PYSEC-2021-854.yaml
Ready to move
Start Securing
Free, no credit card | First findings in minutes