Feed
5.3MEDIUM
CVE-2021-33430NumPy Buffer Overflow (Disputed)
A medium-severity vulnerability reachable over the network, needing low privileges and no user interaction. EPSS estimates a 1.5% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 1.5%
- percentile 75%
- Fix
- Named by a source
- CVE published 17 Dec 2021
Reference
None of the "Needs attention" rules apply right now.
EPSS 1.5% (+2) · Network attack vector (+10) · No user interaction (+5)
Immediate actions
- numpy (PyPI): upgrade to 1.21 or later on your release line.
- Commit / pull request: https://github.com/numpy/numpy/commit/ae317fd9ff3e79c0eac357d723bfc29cbd625f2e
Who should check
numpy (PyPI) pkg:pypi/numpy
- Affected>= 1.9.0, < 1.21Fixed in1.21OSV (GHSA-6p56-wp2h-9hxr)
- Affected>= 1.9.0, < 1.10.0Fixed in1.10.0disputedOSV (PYSEC-2021-854)
Confirmed facts
- CVSS
- 5.3 MEDIUM (version 3.1)
- Score from
- GitHub Advisory Database (GHSA-6p56-wp2h-9hxr)
- Attack vector
- network
- Attack complexity
- high
- Privileges required
- low
- User interaction
- none
- Weakness
- CWE-120
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
No events recorded. Our history starts on 1 Jan 2025.
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2021-33430
- otherhttps://github.com/numpy/numpy/issues/18939
- commit / pull requesthttps://github.com/numpy/numpy/commit/ae317fd9ff3e79c0eac357d723bfc29cbd625f2e
- otherhttps://github.com/numpy/numpy
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/numpy/PYSEC-2021-854.yaml
- advisoryhttps://github.com/advisories/GHSA-6p56-wp2h-9hxr
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-6p56-wp2h-9hxr (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2021-854 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 13 min ago · osv 13 min ago · nvd 74 min ago · epss 13 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-6p56-wp2h-9hxr, PYSEC-2021-854