NumPyGHSA-5545-2q6w-2gh6
NumPy NULL Pointer Dereference
High7.5CVE-2021-41495 · Published Feb 8, 2022 · updated Nov 8, 2023
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 versions
| Package | Affected | Fixed in |
|---|---|---|
| numpy PyPI | < 1.19 | 1.19 |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-476
- Also known as
- CVE-2021-41495, PYSEC-2021-856
More NumPy advisories
All NumPy| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| May 142022 | Arbitrary file write in NumPy | High5.5 | 1.8.1 |
| May 142022 | Numpy arbitrary file write via symlink attack | High5.5 | 1.8.1 |
| May 132022 | Numpy missing input validation | High7.5 | 1.13.3 |
| Feb 82022 | Buffer Copy without Checking Size of Input in NumPy | Medium5.5 | 1.19 |
| Jan 72022 | NumPy Buffer Overflow (Disputed) | Medium5.3 | 1.21 |
| Dec 182021 | Incorrect Comparison in NumPy | Medium5.3 | 1.22 |