Buffer overflow in Numpy
CVE-2021-33430
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
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.011 (63.6th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 64th percentile — 63.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.011 · newest: 0.011 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/numpy/numpy/issues/18939 (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-33430?
- CVE-2021-33430 is a medium-severity vulnerability in Numpy, classified under Buffer Copy without Checking Size of Input (Classic Buffer Overflow). CVSS score: 5.3/10. Published 2021-12-17.
- How severe is CVE-2021-33430?
- Medium severity. CVSS v3 base score is 5.3 out of 10.
- Is CVE-2021-33430 known to be exploited?
- 6 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.