CVE-2021-41495: NumPy - Null Pointer Dereference
- Cve: CVE-2021-41495
- Name: NumPy - Null Pointer Dereference
- Description: Null Pointer Dereference vulnerability exists in numpy.sort in NumPy < and 1.19 in the PyArray_DescrNew function due to missing return-value validation, which allows attackers to conduct DoS attacks by repetitively creating sort arrays. NOTE: While correct that validation is missing, an error can only occur due to an exhaustion of memory. If the user can exhaust memory, they are already privileged. Further, it should be practically impossible to construct an attack which can target the memory exhaustion to occur at exactly this place
- Impact: Attackers can cause denial of service by exhausting system memory, leading to application crash or system instability.
- Remediation: Update to the latest version of NumPy where this issue is fixed.
- Vulnerability type: null_pointer_dereference
- Vulnerability impact: denial_of_service
- Requirement type: none
- 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.01241
- Epss percentile: 0.69929
- Assignee: [email protected]
- Published at: 2021-12-17T20:15:08Z
- Age in days: 1803
- Modified at: 2026-06-17T04:08:33Z
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-41495
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-476 | NULL Pointer Dereference |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/numpy/numpy/issues/19038 | nvd | 2021-12-17 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/numpy/numpy/issues/19038 | nvd | Exploit, Issue Tracking, Third Party Advisory |
| https://www.oracle.com/security-alerts/cpujul2022.html | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| numpy:numpy | <= 1.19.0 | no | nvd | /v1/products/numpy/numpy |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| numpy/numpy | issues, package | yes | /v1/repositories/numpy/numpy |
Index
- Repositories: 3938
- Repositories high signal: 2367
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-12-17
- Remote: yes
- Authentication required: yes
- 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, hackerone reports, exposed hosts