CVE-2021-33430
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 vulneraility; 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
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
numpyPyPI | >= 1.9.0, < 1.21 | 1.21 |
Affected products
72- NumPy/NumPydescription
- ghsa-coords70 versionspkg:pypi/numpypkg:rpm/opensuse/dxflib&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/python-numba&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/python-numpy&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/python-numpy&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/python-numpy1&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/python-numpy_1_16_5-gnu-hpc&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/python-numpy_1_16_5-gnu-hpc&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/python-numpy_1_17_3-gnu-hpc&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/python2-numpy&distro=openSUSE%20Leap%2015.3pkg:rpm/suse/dxflib&distro=SUSE%20Package%20Hub%2015%20SP3pkg:rpm/suse/python-numpy&distro=SUSE%20Enterprise%20Storage%206pkg:rpm/suse/python-numpy&distro=SUSE%20Enterprise%20Storage%207pkg:rpm/suse/python-numpy&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOSpkg:rpm/suse/python-numpy&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSSpkg:rpm/suse/python-numpy&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-ESPOSpkg:rpm/suse/python-numpy&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSSpkg:rpm/suse/python-numpy&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOSpkg:rpm/suse/python-numpy&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSSpkg:rpm/suse/python-numpy&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP3pkg:rpm/suse/python-numpy&distro=SUSE%20Linux%20Enterprise%20Real%20Time%2015%20SP2pkg:rpm/suse/python-numpy&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5pkg:rpm/suse/python-numpy&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-BCLpkg:rpm/suse/python-numpy&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSSpkg:rpm/suse/python-numpy&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-BCLpkg:rpm/suse/python-numpy&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSSpkg:rpm/suse/python-numpy&distro=SUSE%20Linux%20Enterprise%20Server%2015-LTSSpkg:rpm/suse/python-numpy&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5pkg:rpm/suse/python-numpy&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015pkg:rpm/suse/python-numpy&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1pkg:rpm/suse/python-numpy&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2pkg:rpm/suse/python-numpy&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5pkg:rpm/suse/python-numpy&distro=SUSE%20Manager%20Proxy%204.1pkg:rpm/suse/python-numpy&distro=SUSE%20Manager%20Retail%20Branch%20Server%204.1pkg:rpm/suse/python-numpy&distro=SUSE%20Manager%20Server%204.1pkg:rpm/suse/python-numpy_1_13_3-gnu-hpc&distro=SUSE%20Linux%20Enterprise%20Module%20for%20HPC%2012pkg:rpm/suse/python-numpy_1_16_5-gnu-hpc&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOSpkg:rpm/suse/python-numpy_1_16_5-gnu-hpc&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSSpkg:rpm/suse/python-numpy_1_16_5-gnu-hpc&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-ESPOSpkg:rpm/suse/python-numpy_1_16_5-gnu-hpc&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSSpkg:rpm/suse/python-numpy_1_16_5-gnu-hpc&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOSpkg:rpm/suse/python-numpy_1_16_5-gnu-hpc&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSSpkg:rpm/suse/python-numpy_1_16_5-gnu-hpc&distro=SUSE%20Linux%20Enterprise%20Module%20for%20HPC%2015%20SP3pkg:rpm/suse/python-numpy_1_17_3-gnu-hpc&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOSpkg:rpm/suse/python-numpy_1_17_3-gnu-hpc&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSSpkg:rpm/suse/python-numpy_1_17_3-gnu-hpc&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-ESPOSpkg:rpm/suse/python-numpy_1_17_3-gnu-hpc&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSSpkg:rpm/suse/python-numpy_1_17_3-gnu-hpc&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOSpkg:rpm/suse/python-numpy_1_17_3-gnu-hpc&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSSpkg:rpm/suse/python-numpy_1_17_3-gnu-hpc&distro=SUSE%20Linux%20Enterprise%20Module%20for%20HPC%2015%20SP3pkg:rpm/suse/python-numpy_1_17_3-gnu-hpc&distro=SUSE%20Linux%20Enterprise%20Real%20Time%2015%20SP2pkg:rpm/suse/python2-numpy&distro=SUSE%20Enterprise%20Storage%206pkg:rpm/suse/python2-numpy&distro=SUSE%20Enterprise%20Storage%207pkg:rpm/suse/python2-numpy&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOSpkg:rpm/suse/python2-numpy&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSSpkg:rpm/suse/python2-numpy&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-ESPOSpkg:rpm/suse/python2-numpy&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSSpkg:rpm/suse/python2-numpy&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOSpkg:rpm/suse/python2-numpy&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSSpkg:rpm/suse/python2-numpy&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Python%202%2015%20SP3pkg:rpm/suse/python2-numpy&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-BCLpkg:rpm/suse/python2-numpy&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSSpkg:rpm/suse/python2-numpy&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSSpkg:rpm/suse/python2-numpy&distro=SUSE%20Linux%20Enterprise%20Server%2015-LTSSpkg:rpm/suse/python2-numpy&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015pkg:rpm/suse/python2-numpy&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1pkg:rpm/suse/python2-numpy&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2pkg:rpm/suse/python2-numpy&distro=SUSE%20Manager%20Proxy%204.1pkg:rpm/suse/python2-numpy&distro=SUSE%20Manager%20Retail%20Branch%20Server%204.1pkg:rpm/suse/python2-numpy&distro=SUSE%20Manager%20Server%204.1
>= 1.9.0, < 1.21+ 69 more
- (no CPE)range: >= 1.9.0, < 1.21
- (no CPE)range: < 3.17.0-bp153.2.3.1
- (no CPE)range: < 0.61.0-1.1
- (no CPE)range: < 1.17.3-10.1
- (no CPE)range: < 1.25.2-2.1
- (no CPE)range: < 1.26.4-1.1
- (no CPE)range: < 1.16.5-150200.3.5.1
- (no CPE)range: < 1.16.5-150200.3.5.1
- (no CPE)range: < 1.17.3-10.1
- (no CPE)range: < 1.16.5-150200.3.5.1
- (no CPE)range: < 3.17.0-bp153.2.3.1
- (no CPE)range: < 1.17.3-10.1
- (no CPE)range: < 1.17.3-10.1
- (no CPE)range: < 1.17.3-10.1
- (no CPE)range: < 1.17.3-10.1
- (no CPE)range: < 1.17.3-10.1
- (no CPE)range: < 1.17.3-10.1
- (no CPE)range: < 1.17.3-10.1
- (no CPE)range: < 1.17.3-10.1
- (no CPE)range: < 1.17.3-10.1
- (no CPE)range: < 1.17.3-10.1
- (no CPE)range: < 1.8.0-5.11.1
- (no CPE)range: < 1.17.3-10.1
- (no CPE)range: < 1.17.3-10.1
- (no CPE)range: < 1.17.3-10.1
- (no CPE)range: < 1.17.3-10.1
- (no CPE)range: < 1.17.3-10.1
- (no CPE)range: < 1.8.0-5.11.1
- (no CPE)range: < 1.17.3-10.1
- (no CPE)range: < 1.17.3-10.1
- (no CPE)range: < 1.17.3-10.1
- (no CPE)range: < 1.8.0-5.11.1
- (no CPE)range: < 1.17.3-10.1
- (no CPE)range: < 1.17.3-10.1
- (no CPE)range: < 1.17.3-10.1
- (no CPE)range: < 1.13.3-4.12.1
- (no CPE)range: < 1.16.5-150000.1.9.1
- (no CPE)range: < 1.16.5-150000.1.9.1
- (no CPE)range: < 1.16.5-150200.3.5.1
- (no CPE)range: < 1.16.5-150200.3.5.1
- (no CPE)range: < 1.16.5-150000.1.9.1
- (no CPE)range: < 1.16.5-150000.1.9.1
- (no CPE)range: < 1.16.5-150200.3.5.1
- (no CPE)range: < 1.17.3-10.1
- (no CPE)range: < 1.17.3-10.1
- (no CPE)range: < 1.17.3-10.1
- (no CPE)range: < 1.17.3-10.1
- (no CPE)range: < 1.17.3-10.1
- (no CPE)range: < 1.17.3-10.1
- (no CPE)range: < 1.17.3-10.1
- (no CPE)range: < 1.17.3-10.1
- (no CPE)range: < 1.16.5-150000.1.9.1
- (no CPE)range: < 1.16.5-150200.3.5.1
- (no CPE)range: < 1.16.5-150000.1.9.1
- (no CPE)range: < 1.16.5-150000.1.9.1
- (no CPE)range: < 1.16.5-150200.3.5.1
- (no CPE)range: < 1.16.5-150200.3.5.1
- (no CPE)range: < 1.16.5-150000.1.9.1
- (no CPE)range: < 1.16.5-150000.1.9.1
- (no CPE)range: < 1.16.5-150200.3.5.1
- (no CPE)range: < 1.16.5-150000.1.9.1
- (no CPE)range: < 1.16.5-150000.1.9.1
- (no CPE)range: < 1.16.5-150200.3.5.1
- (no CPE)range: < 1.16.5-150000.1.9.1
- (no CPE)range: < 1.16.5-150000.1.9.1
- (no CPE)range: < 1.16.5-150000.1.9.1
- (no CPE)range: < 1.16.5-150200.3.5.1
- (no CPE)range: < 1.16.5-150200.3.5.1
- (no CPE)range: < 1.16.5-150200.3.5.1
- (no CPE)range: < 1.16.5-150200.3.5.1
Patches
Vulnerability mechanics
References
5- github.com/numpy/numpy/issues/18939nvdExploitThird Party AdvisoryWEB
- github.com/advisories/GHSA-6p56-wp2h-9hxrghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-33430ghsaADVISORY
- github.com/numpy/numpy/commit/ae317fd9ff3e79c0eac357d723bfc29cbd625f2eghsaWEB
- github.com/pypa/advisory-database/tree/main/vulns/numpy/PYSEC-2021-854.yamlghsaWEB
News mentions
0No linked articles in our index yet.