high7.5
CVE-2021-41495
NumPy NULL Pointer Dereference
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | numpy | <= 1.18.5 | 1.19 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Numpy | Numpy | through 1.19.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/numpy/numpy/issues/19038
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://github.com/advisories/GHSA-5545-2q6w-2gh6
- https://nvd.nist.gov/vuln/detail/CVE-2021-41495
- https://github.com/pypa/advisory-database/tree/main/vulns/numpy/PYSEC-2021-856.yaml