CVE-2021-33430: NumPy - Buffer Overflow
- Cve: CVE-2021-33430
- Name: NumPy - Buffer Overflow
- 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
- Impact: Privileged users can cause a denial of service by exhausting memory through buffer overflow.
- Remediation: Update to the latest version of NumPy where this issue is addressed or apply relevant patches.
- Vulnerability type: buffer_overflow
- Vulnerability impact: denial_of_service
- Requirement type: logged_in
- Requirements: User needs to have privileged access and use uncommon API features
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.01529
- Epss percentile: 0.75387
- Assignee: [email protected]
- Published at: 2021-12-17T19:15:07Z
- Age in days: 1802
- Modified at: 2026-06-17T03:54:32Z
- Public exploits total: 1
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-33430
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
Cwe
| Id | Name |
|---|---|
| CWE-120 | Buffer Copy without Checking Size of Input |
Hackerone
- Reports: 1
- Rank: 3792
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/numpy/numpy/issues/18939 | nvd | 2021-12-17 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/numpy/numpy/issues/18939 | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| numpy:numpy | >= 1.9.0, <= 1.9.3 | no | nvd | /v1/products/numpy/numpy |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| numpy/numpy | commit, issues, package | yes | /v1/repositories/numpy/numpy |
Index
- Repositories: 2222
- Repositories high signal: 1101
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-12-17
- Remote: yes
- Authentication required: yes
- Hackerone reports: 1
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, exposed hosts