GitHub Advisory Database
GHSA-5545-2q6w-2gh6
NumPy NULL Pointer Dereference
Details
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 versions |
|---|---|---|
| PyPI | numpy | All versions before 1.19 (fixed in 1.19) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-41495
- https://github.com/numpy/numpy/issues/19038
- https://github.com/advisories/GHSA-5545-2q6w-2gh6
- https://github.com/numpy/numpy
- https://github.com/pypa/advisory-database/tree/main/vulns/numpy/PYSEC-2021-856.yaml
- https://www.oracle.com/security-alerts/cpujul2022.html